Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / javax / net / ssl / provider / SSLRSASignature.h
blobcef51dac37c3769dc1e78e2455955ba2bf84be54
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_javax_net_ssl_provider_SSLRSASignature__
5 #define __gnu_javax_net_ssl_provider_SSLRSASignature__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace java
18 namespace security
20 namespace hash
22 class IMessageDigest;
26 namespace javax
28 namespace net
30 namespace ssl
32 namespace provider
34 class SSLRSASignature;
40 namespace java
42 namespace security
44 namespace interfaces
46 class RSAPrivateKey;
47 class RSAPublicKey;
53 class gnu::javax::net::ssl::provider::SSLRSASignature : public ::java::lang::Object
56 public: // actually package-private
57 SSLRSASignature();
58 SSLRSASignature(::gnu::java::security::hash::IMessageDigest *, ::gnu::java::security::hash::IMessageDigest *);
59 public:
60 ::java::lang::String * name();
61 void setupVerify(::java::util::Map *);
62 void setupSign(::java::util::Map *);
63 void update(jbyte);
64 void update(JArray< jbyte > *, jint, jint);
65 ::java::lang::Object * sign();
66 jboolean verify(::java::lang::Object *);
67 ::java::lang::Object * clone();
68 private:
69 ::java::security::interfaces::RSAPublicKey * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pubkey;
70 ::java::security::interfaces::RSAPrivateKey * privkey;
71 ::gnu::java::security::hash::IMessageDigest * md5;
72 ::gnu::java::security::hash::IMessageDigest * sha;
73 jboolean initVerify;
74 jboolean initSign;
75 public:
76 static ::java::lang::Class class$;
79 #endif // __gnu_javax_net_ssl_provider_SSLRSASignature__