blob: 23dced6dbe8cd28e7f5aabf7b07f382bd7aa4bb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_jce_sig_EncodedKeyFactory__
#define __gnu_java_security_jce_sig_EncodedKeyFactory__
#pragma interface
#include <java/security/KeyFactorySpi.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
namespace jce
{
namespace sig
{
class EncodedKeyFactory;
}
}
namespace key
{
namespace dss
{
class DSSPublicKey;
}
namespace rsa
{
class GnuRSAPublicKey;
}
}
}
}
}
namespace java
{
namespace security
{
class Key;
class PrivateKey;
class PublicKey;
namespace spec
{
class DSAPrivateKeySpec;
class DSAPublicKeySpec;
class KeySpec;
class RSAPrivateCrtKeySpec;
class RSAPublicKeySpec;
}
}
}
namespace javax
{
namespace crypto
{
namespace interfaces
{
class DHPrivateKey;
class DHPublicKey;
}
namespace spec
{
class DHPrivateKeySpec;
class DHPublicKeySpec;
}
}
}
}
class gnu::java::security::jce::sig::EncodedKeyFactory : public ::java::security::KeyFactorySpi
{
public:
EncodedKeyFactory();
private:
static ::java::lang::Object * invokeConstructor(::java::lang::String *, JArray< ::java::lang::Object * > *);
static ::java::lang::Class * getConcreteClass(::java::lang::String *);
static ::java::lang::reflect::Constructor * getConcreteCtor(::java::lang::Class *);
static ::java::lang::Object * invokeValueOf(::java::lang::String *, JArray< jbyte > *);
static ::java::lang::reflect::Method * getValueOfMethod(::java::lang::Class *);
public: // actually protected
virtual ::java::security::PublicKey * engineGeneratePublic(::java::security::spec::KeySpec *);
virtual ::java::security::PrivateKey * engineGeneratePrivate(::java::security::spec::KeySpec *);
virtual ::java::security::spec::KeySpec * engineGetKeySpec(::java::security::Key *, ::java::lang::Class *);
virtual ::java::security::Key * engineTranslateKey(::java::security::Key *);
private:
::gnu::java::security::key::dss::DSSPublicKey * decodeDSSPublicKey(::java::security::spec::DSAPublicKeySpec *);
::gnu::java::security::key::rsa::GnuRSAPublicKey * decodeRSAPublicKey(::java::security::spec::RSAPublicKeySpec *);
::javax::crypto::interfaces::DHPublicKey * decodeDHPublicKey(::javax::crypto::spec::DHPublicKeySpec *);
::javax::crypto::interfaces::DHPublicKey * decodeDHPublicKey(JArray< jbyte > *);
::java::security::PrivateKey * decodeDSSPrivateKey(::java::security::spec::DSAPrivateKeySpec *);
::java::security::PrivateKey * decodeRSAPrivateKey(::java::security::spec::RSAPrivateCrtKeySpec *);
::javax::crypto::interfaces::DHPrivateKey * decodeDHPrivateKey(::javax::crypto::spec::DHPrivateKeySpec *);
::javax::crypto::interfaces::DHPrivateKey * decodeDHPrivateKey(JArray< jbyte > *);
static ::java::util::logging::Logger * log;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_jce_sig_EncodedKeyFactory__
|