OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [RSACipherImpl.h] - Blame information for rev 800

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_javax_crypto_RSACipherImpl__
5
#define __gnu_javax_crypto_RSACipherImpl__
6
 
7
#pragma interface
8
 
9
#include <javax/crypto/CipherSpi.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace classpath
17
    {
18
      namespace debug
19
      {
20
          class SystemLogger;
21
      }
22
    }
23
    namespace javax
24
    {
25
      namespace crypto
26
      {
27
          class RSACipherImpl;
28
      }
29
    }
30
  }
31
  namespace java
32
  {
33
    namespace math
34
    {
35
        class BigInteger;
36
    }
37
    namespace security
38
    {
39
        class AlgorithmParameters;
40
        class Key;
41
        class SecureRandom;
42
      namespace interfaces
43
      {
44
          class RSAPrivateKey;
45
          class RSAPublicKey;
46
      }
47
      namespace spec
48
      {
49
          class AlgorithmParameterSpec;
50
      }
51
    }
52
  }
53
}
54
 
55
class gnu::javax::crypto::RSACipherImpl : public ::javax::crypto::CipherSpi
56
{
57
 
58
public:
59
  RSACipherImpl();
60
public: // actually protected
61
  virtual void engineSetMode(::java::lang::String *);
62
  virtual void engineSetPadding(::java::lang::String *);
63
  virtual jint engineGetBlockSize();
64
  virtual jint engineGetOutputSize(jint);
65
  virtual jint engineGetKeySize(::java::security::Key *);
66
  virtual JArray< jbyte > * engineGetIV();
67
  virtual ::java::security::AlgorithmParameters * engineGetParameters();
68
  virtual void engineInit(jint, ::java::security::Key *, ::java::security::SecureRandom *);
69
  virtual void engineInit(jint, ::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
70
  virtual void engineInit(jint, ::java::security::Key *, ::java::security::AlgorithmParameters *, ::java::security::SecureRandom *);
71
  virtual JArray< jbyte > * engineUpdate(JArray< jbyte > *, jint, jint);
72
  virtual jint engineUpdate(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint);
73
  virtual JArray< jbyte > * engineDoFinal(JArray< jbyte > *, jint, jint);
74
  virtual jint engineDoFinal(JArray< jbyte > *, jint);
75
  virtual jint engineDoFinal(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint);
76
private:
77
  JArray< jbyte > * rsaDecrypt(::java::math::BigInteger *);
78
  static ::gnu::classpath::debug::SystemLogger * logger;
79
  static JArray< jbyte > * EMPTY;
80
  jint __attribute__((aligned(__alignof__( ::javax::crypto::CipherSpi)))) opmode;
81
  ::java::security::interfaces::RSAPrivateKey * decipherKey;
82
  ::java::security::interfaces::RSAPublicKey * blindingKey;
83
  ::java::security::interfaces::RSAPublicKey * encipherKey;
84
  ::java::security::SecureRandom * random;
85
  JArray< jbyte > * dataBuffer;
86
  jint pos;
87
public:
88
  static ::java::lang::Class class$;
89
};
90
 
91
#endif // __gnu_javax_crypto_RSACipherImpl__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.