97b8365caf
From-SVN: r120621
80 lines
1.8 KiB
C++
80 lines
1.8 KiB
C++
|
|
// 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__
|