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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [security/] [jce/] [sig/] [EncodedKeyFactory.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_jce_sig_EncodedKeyFactory__
5
#define __gnu_java_security_jce_sig_EncodedKeyFactory__
6
 
7
#pragma interface
8
 
9
#include <java/security/KeyFactorySpi.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 jce
21
        {
22
          namespace sig
23
          {
24
              class EncodedKeyFactory;
25
          }
26
        }
27
        namespace key
28
        {
29
          namespace dss
30
          {
31
              class DSSPublicKey;
32
          }
33
          namespace rsa
34
          {
35
              class GnuRSAPublicKey;
36
          }
37
        }
38
      }
39
    }
40
  }
41
  namespace java
42
  {
43
    namespace security
44
    {
45
        class Key;
46
        class PrivateKey;
47
        class PublicKey;
48
      namespace spec
49
      {
50
          class DSAPrivateKeySpec;
51
          class DSAPublicKeySpec;
52
          class KeySpec;
53
          class RSAPrivateCrtKeySpec;
54
          class RSAPublicKeySpec;
55
      }
56
    }
57
  }
58
  namespace javax
59
  {
60
    namespace crypto
61
    {
62
      namespace interfaces
63
      {
64
          class DHPrivateKey;
65
          class DHPublicKey;
66
      }
67
      namespace spec
68
      {
69
          class DHPrivateKeySpec;
70
          class DHPublicKeySpec;
71
      }
72
    }
73
  }
74
}
75
 
76
class gnu::java::security::jce::sig::EncodedKeyFactory : public ::java::security::KeyFactorySpi
77
{
78
 
79
public:
80
  EncodedKeyFactory();
81
private:
82
  static ::java::lang::Object * invokeConstructor(::java::lang::String *, JArray< ::java::lang::Object * > *);
83
  static ::java::lang::Class * getConcreteClass(::java::lang::String *);
84
  static ::java::lang::reflect::Constructor * getConcreteCtor(::java::lang::Class *);
85
  static ::java::lang::Object * invokeValueOf(::java::lang::String *, JArray< jbyte > *);
86
  static ::java::lang::reflect::Method * getValueOfMethod(::java::lang::Class *);
87
public: // actually protected
88
  virtual ::java::security::PublicKey * engineGeneratePublic(::java::security::spec::KeySpec *);
89
  virtual ::java::security::PrivateKey * engineGeneratePrivate(::java::security::spec::KeySpec *);
90
  virtual ::java::security::spec::KeySpec * engineGetKeySpec(::java::security::Key *, ::java::lang::Class *);
91
  virtual ::java::security::Key * engineTranslateKey(::java::security::Key *);
92
private:
93
  ::gnu::java::security::key::dss::DSSPublicKey * decodeDSSPublicKey(::java::security::spec::DSAPublicKeySpec *);
94
  ::gnu::java::security::key::rsa::GnuRSAPublicKey * decodeRSAPublicKey(::java::security::spec::RSAPublicKeySpec *);
95
  ::javax::crypto::interfaces::DHPublicKey * decodeDHPublicKey(::javax::crypto::spec::DHPublicKeySpec *);
96
  ::javax::crypto::interfaces::DHPublicKey * decodeDHPublicKey(JArray< jbyte > *);
97
  ::java::security::PrivateKey * decodeDSSPrivateKey(::java::security::spec::DSAPrivateKeySpec *);
98
  ::java::security::PrivateKey * decodeRSAPrivateKey(::java::security::spec::RSAPrivateCrtKeySpec *);
99
  ::javax::crypto::interfaces::DHPrivateKey * decodeDHPrivateKey(::javax::crypto::spec::DHPrivateKeySpec *);
100
  ::javax::crypto::interfaces::DHPrivateKey * decodeDHPrivateKey(JArray< jbyte > *);
101
  static ::java::util::logging::Logger * log;
102
public:
103
  static ::java::lang::Class class$;
104
};
105
 
106
#endif // __gnu_java_security_jce_sig_EncodedKeyFactory__

powered by: WebSVN 2.1.0

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