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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [security/] [sig/] [rsa/] [RSA.h] - Blame information for rev 756

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_java_security_sig_rsa_RSA__
5
#define __gnu_java_security_sig_rsa_RSA__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace security
19
      {
20
        namespace sig
21
        {
22
          namespace rsa
23
          {
24
              class RSA;
25
          }
26
        }
27
        namespace util
28
        {
29
            class PRNG;
30
        }
31
      }
32
    }
33
  }
34
  namespace java
35
  {
36
    namespace math
37
    {
38
        class BigInteger;
39
    }
40
    namespace security
41
    {
42
        class PrivateKey;
43
        class PublicKey;
44
      namespace interfaces
45
      {
46
          class RSAPrivateKey;
47
          class RSAPublicKey;
48
      }
49
    }
50
  }
51
}
52
 
53
class gnu::java::security::sig::rsa::RSA : public ::java::lang::Object
54
{
55
 
56
  RSA();
57
public:
58
  static ::java::math::BigInteger * sign(::java::security::PrivateKey *, ::java::math::BigInteger *);
59
  static ::java::math::BigInteger * verify(::java::security::PublicKey *, ::java::math::BigInteger *);
60
  static ::java::math::BigInteger * encrypt(::java::security::PublicKey *, ::java::math::BigInteger *);
61
  static ::java::math::BigInteger * decrypt(::java::security::PrivateKey *, ::java::math::BigInteger *);
62
  static JArray< jbyte > * I2OSP(::java::math::BigInteger *, jint);
63
private:
64
  static ::java::math::BigInteger * RSAEP(::java::security::interfaces::RSAPublicKey *, ::java::math::BigInteger *);
65
  static ::java::math::BigInteger * RSADP(::java::security::interfaces::RSAPrivateKey *, ::java::math::BigInteger *);
66
  static ::java::math::BigInteger * newR(::java::math::BigInteger *);
67
  static ::java::math::BigInteger * ZERO;
68
  static ::java::math::BigInteger * ONE;
69
  static ::gnu::java::security::util::PRNG * prng;
70
public:
71
  static ::java::lang::Class class$;
72
};
73
 
74
#endif // __gnu_java_security_sig_rsa_RSA__

powered by: WebSVN 2.1.0

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