diff options
Diffstat (limited to 'libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h')
-rw-r--r-- | libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h b/libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h new file mode 100644 index 00000000000..cef51dac37c --- /dev/null +++ b/libjava/gnu/javax/net/ssl/provider/SSLRSASignature.h @@ -0,0 +1,79 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_net_ssl_provider_SSLRSASignature__ +#define __gnu_javax_net_ssl_provider_SSLRSASignature__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + namespace hash + { + class IMessageDigest; + } + } + } + namespace javax + { + namespace net + { + namespace ssl + { + namespace provider + { + class SSLRSASignature; + } + } + } + } + } + namespace java + { + namespace security + { + namespace interfaces + { + class RSAPrivateKey; + class RSAPublicKey; + } + } + } +} + +class gnu::javax::net::ssl::provider::SSLRSASignature : public ::java::lang::Object +{ + +public: // actually package-private + SSLRSASignature(); + SSLRSASignature(::gnu::java::security::hash::IMessageDigest *, ::gnu::java::security::hash::IMessageDigest *); +public: + ::java::lang::String * name(); + void setupVerify(::java::util::Map *); + void setupSign(::java::util::Map *); + void update(jbyte); + void update(JArray< jbyte > *, jint, jint); + ::java::lang::Object * sign(); + jboolean verify(::java::lang::Object *); + ::java::lang::Object * clone(); +private: + ::java::security::interfaces::RSAPublicKey * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pubkey; + ::java::security::interfaces::RSAPrivateKey * privkey; + ::gnu::java::security::hash::IMessageDigest * md5; + ::gnu::java::security::hash::IMessageDigest * sha; + jboolean initVerify; + jboolean initSign; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_net_ssl_provider_SSLRSASignature__ |