Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_Configuration__
|
||||
#define __gnu_java_security_Configuration__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Configuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::Configuration : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
static const jboolean DEBUG = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_Configuration__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_Engine__
|
||||
#define __gnu_java_security_Engine__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Engine;
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Provider;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::Engine : public ::java::lang::Object
|
||||
{
|
||||
|
||||
Engine();
|
||||
public:
|
||||
static ::java::lang::Object * getInstance(::java::lang::String *, ::java::lang::String *, ::java::security::Provider *);
|
||||
static ::java::lang::Object * getInstance(::java::lang::String *, ::java::lang::String *, ::java::security::Provider *, JArray< ::java::lang::Object * > *);
|
||||
private:
|
||||
static ::java::lang::reflect::Constructor * getCompatibleConstructor(::java::lang::Class *, JArray< ::java::lang::Object * > *);
|
||||
static ::java::lang::String * ALG_ALIAS;
|
||||
static const jint MAX_ALIASES = 5;
|
||||
static JArray< ::java::lang::Object * > * NO_ARGS;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_Engine__
|
||||
@@ -0,0 +1,64 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_OID__
|
||||
#define __gnu_java_security_OID__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::OID : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
OID(JArray< jint > *);
|
||||
OID(JArray< jint > *, jboolean);
|
||||
OID(::java::lang::String *);
|
||||
OID(::java::lang::String *, jboolean);
|
||||
OID(::java::io::InputStream *, jint);
|
||||
OID(::java::io::InputStream *, jint, jboolean);
|
||||
OID(JArray< jbyte > *);
|
||||
OID(JArray< jbyte > *, jboolean);
|
||||
virtual JArray< jint > * getIDs();
|
||||
virtual JArray< jbyte > * getDER();
|
||||
virtual ::gnu::java::security::OID * getParent();
|
||||
virtual ::gnu::java::security::OID * getChild(jint);
|
||||
virtual ::gnu::java::security::OID * getRoot();
|
||||
virtual jboolean isRelative();
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
private:
|
||||
static JArray< jint > * fromDER(JArray< jbyte > *, jboolean);
|
||||
static JArray< jint > * fromString(::java::lang::String *);
|
||||
static void encodeSubID(::java::io::ByteArrayOutputStream *, jint);
|
||||
public: // actually package-private
|
||||
static const jlong serialVersionUID = 5722492029044597779LL;
|
||||
private:
|
||||
JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components;
|
||||
::java::lang::String * strRep;
|
||||
JArray< jbyte > * der;
|
||||
jboolean relative;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_OID__
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_PolicyFile$1__
|
||||
#define __gnu_java_security_PolicyFile$1__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PolicyFile;
|
||||
class PolicyFile$1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::PolicyFile$1 : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
PolicyFile$1(::gnu::java::security::PolicyFile *, ::java::util::List *);
|
||||
public:
|
||||
::java::lang::Object * run();
|
||||
public: // actually package-private
|
||||
::gnu::java::security::PolicyFile * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
|
||||
private:
|
||||
::java::util::List * val$policyFiles;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_PolicyFile$1__
|
||||
@@ -0,0 +1,67 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_PolicyFile__
|
||||
#define __gnu_java_security_PolicyFile__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/Policy.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PolicyFile;
|
||||
namespace action
|
||||
{
|
||||
class GetPropertyAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class URL;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
class CodeSource;
|
||||
class PermissionCollection;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::PolicyFile : public ::java::security::Policy
|
||||
{
|
||||
|
||||
public:
|
||||
PolicyFile();
|
||||
::java::security::PermissionCollection * getPermissions(::java::security::CodeSource *);
|
||||
void refresh();
|
||||
::java::lang::String * toString();
|
||||
private:
|
||||
void parse(::java::net::URL *);
|
||||
static ::java::lang::String * expand(::java::lang::String *);
|
||||
static void error(::java::net::URL *, ::java::io::StreamTokenizer *, ::java::lang::String *);
|
||||
public: // actually protected
|
||||
static ::java::util::logging::Logger * logger;
|
||||
private:
|
||||
static ::gnu::java::security::action::GetPropertyAction * prop;
|
||||
static ::java::lang::String * fs;
|
||||
static ::java::lang::String * DEFAULT_POLICY;
|
||||
static ::java::lang::String * DEFAULT_USER_POLICY;
|
||||
::java::util::Map * __attribute__((aligned(__alignof__( ::java::security::Policy)))) cs2pc;
|
||||
static const jint STATE_BEGIN = 0;
|
||||
static const jint STATE_GRANT = 1;
|
||||
static const jint STATE_PERMS = 2;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_PolicyFile__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_Properties$1__
|
||||
#define __gnu_java_security_Properties$1__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Properties;
|
||||
class Properties$1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::Properties$1 : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
Properties$1(::gnu::java::security::Properties *);
|
||||
public:
|
||||
::java::lang::Object * run();
|
||||
public: // actually package-private
|
||||
::gnu::java::security::Properties * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_Properties$1__
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_Properties__
|
||||
#define __gnu_java_security_Properties__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Properties;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::Properties : public ::java::lang::Object
|
||||
{
|
||||
|
||||
Properties();
|
||||
public:
|
||||
static ::java::lang::String * getProperty(::java::lang::String *);
|
||||
static void setProperty(::java::lang::String *, ::java::lang::String *);
|
||||
static jboolean isReproducible();
|
||||
static jboolean checkForWeakKeys();
|
||||
static jboolean doRSABlinding();
|
||||
static void setReproducible(jboolean);
|
||||
static void setCheckForWeakKeys(jboolean);
|
||||
static void setDoRSABlinding(jboolean);
|
||||
private:
|
||||
static ::gnu::java::security::Properties * instance();
|
||||
void init();
|
||||
void handleBooleanProperty(::java::lang::String *);
|
||||
static ::java::util::logging::Logger * log;
|
||||
public:
|
||||
static ::java::lang::String * VERSION;
|
||||
static ::java::lang::String * PROPERTIES_FILE;
|
||||
static ::java::lang::String * REPRODUCIBLE_PRNG;
|
||||
static ::java::lang::String * CHECK_WEAK_KEYS;
|
||||
static ::java::lang::String * DO_RSA_BLINDING;
|
||||
private:
|
||||
static ::java::lang::String * TRUE;
|
||||
static ::java::lang::String * FALSE;
|
||||
static ::java::util::HashMap * props;
|
||||
static ::gnu::java::security::Properties * singleton;
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) reproducible;
|
||||
jboolean checkForWeakKeys__;
|
||||
jboolean doRSABlinding__;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_Properties__
|
||||
@@ -0,0 +1,187 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_Registry__
|
||||
#define __gnu_java_security_Registry__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Registry;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::Registry : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
static ::java::lang::String * GNU_SECURITY;
|
||||
static ::java::lang::String * GNU_CRYPTO;
|
||||
static ::java::lang::String * GNU_SASL;
|
||||
static ::java::lang::String * VERSION_STRING;
|
||||
static ::java::lang::String * ANUBIS_CIPHER;
|
||||
static ::java::lang::String * BLOWFISH_CIPHER;
|
||||
static ::java::lang::String * DES_CIPHER;
|
||||
static ::java::lang::String * KHAZAD_CIPHER;
|
||||
static ::java::lang::String * RIJNDAEL_CIPHER;
|
||||
static ::java::lang::String * SERPENT_CIPHER;
|
||||
static ::java::lang::String * SQUARE_CIPHER;
|
||||
static ::java::lang::String * TRIPLEDES_CIPHER;
|
||||
static ::java::lang::String * TWOFISH_CIPHER;
|
||||
static ::java::lang::String * CAST5_CIPHER;
|
||||
static ::java::lang::String * NULL_CIPHER;
|
||||
static ::java::lang::String * AES_CIPHER;
|
||||
static ::java::lang::String * DESEDE_CIPHER;
|
||||
static ::java::lang::String * CAST128_CIPHER;
|
||||
static ::java::lang::String * CAST_128_CIPHER;
|
||||
static ::java::lang::String * KWA_PREFIX;
|
||||
static ::java::lang::String * AES_KWA;
|
||||
static ::java::lang::String * AES128_KWA;
|
||||
static ::java::lang::String * AES192_KWA;
|
||||
static ::java::lang::String * AES256_KWA;
|
||||
static ::java::lang::String * RIJNDAEL_KWA;
|
||||
static ::java::lang::String * TRIPLEDES_KWA;
|
||||
static ::java::lang::String * DESEDE_KWA;
|
||||
static ::java::lang::String * WHIRLPOOL_HASH;
|
||||
static ::java::lang::String * RIPEMD128_HASH;
|
||||
static ::java::lang::String * RIPEMD160_HASH;
|
||||
static ::java::lang::String * SHA160_HASH;
|
||||
static ::java::lang::String * SHA256_HASH;
|
||||
static ::java::lang::String * SHA384_HASH;
|
||||
static ::java::lang::String * SHA512_HASH;
|
||||
static ::java::lang::String * TIGER_HASH;
|
||||
static ::java::lang::String * HAVAL_HASH;
|
||||
static ::java::lang::String * MD5_HASH;
|
||||
static ::java::lang::String * MD4_HASH;
|
||||
static ::java::lang::String * MD2_HASH;
|
||||
static ::java::lang::String * RIPEMD_128_HASH;
|
||||
static ::java::lang::String * RIPEMD_160_HASH;
|
||||
static ::java::lang::String * SHA_1_HASH;
|
||||
static ::java::lang::String * SHA1_HASH;
|
||||
static ::java::lang::String * SHA_HASH;
|
||||
static ::java::lang::String * ECB_MODE;
|
||||
static ::java::lang::String * CTR_MODE;
|
||||
static ::java::lang::String * ICM_MODE;
|
||||
static ::java::lang::String * OFB_MODE;
|
||||
static ::java::lang::String * CBC_MODE;
|
||||
static ::java::lang::String * CFB_MODE;
|
||||
static ::java::lang::String * EAX_MODE;
|
||||
static ::java::lang::String * PKCS5_PAD;
|
||||
static ::java::lang::String * PKCS7_PAD;
|
||||
static ::java::lang::String * TBC_PAD;
|
||||
static ::java::lang::String * EME_PKCS1_V1_5_PAD;
|
||||
static ::java::lang::String * SSL3_PAD;
|
||||
static ::java::lang::String * TLS1_PAD;
|
||||
static ::java::lang::String * ISO10126_PAD;
|
||||
static ::java::lang::String * ARCFOUR_PRNG;
|
||||
static ::java::lang::String * RC4_PRNG;
|
||||
static ::java::lang::String * ICM_PRNG;
|
||||
static ::java::lang::String * MD_PRNG;
|
||||
static ::java::lang::String * UMAC_PRNG;
|
||||
static ::java::lang::String * PBKDF2_PRNG_PREFIX;
|
||||
static ::java::lang::String * CSPRNG_PRNG;
|
||||
static ::java::lang::String * FORTUNA_PRNG;
|
||||
static ::java::lang::String * FORTUNA_GENERATOR_PRNG;
|
||||
static ::java::lang::String * DSS_KPG;
|
||||
static ::java::lang::String * RSA_KPG;
|
||||
static ::java::lang::String * DH_KPG;
|
||||
static ::java::lang::String * SRP_KPG;
|
||||
static ::java::lang::String * DSA_KPG;
|
||||
static ::java::lang::String * DSS_SIG;
|
||||
static ::java::lang::String * RSA_SIG_PREFIX;
|
||||
static ::java::lang::String * RSA_PSS_ENCODING;
|
||||
static ::java::lang::String * RSA_PSS_SIG;
|
||||
static ::java::lang::String * RSA_PKCS1_V1_5_ENCODING;
|
||||
static ::java::lang::String * RSA_PKCS1_V1_5_SIG;
|
||||
static ::java::lang::String * DSA_SIG;
|
||||
static ::java::lang::String * DH_KA;
|
||||
static ::java::lang::String * ELGAMAL_KA;
|
||||
static ::java::lang::String * SRP6_KA;
|
||||
static ::java::lang::String * SRP_SASL_KA;
|
||||
static ::java::lang::String * SRP_TLS_KA;
|
||||
static ::java::lang::String * HMAC_NAME_PREFIX;
|
||||
static ::java::lang::String * OMAC_PREFIX;
|
||||
static ::java::lang::String * UHASH32;
|
||||
static ::java::lang::String * UMAC32;
|
||||
static ::java::lang::String * TMMH16;
|
||||
static ::java::lang::String * RAW_ENCODING;
|
||||
static ::java::lang::String * X509_ENCODING;
|
||||
static ::java::lang::String * PKCS8_ENCODING;
|
||||
static ::java::lang::String * ASN1_ENCODING;
|
||||
static ::java::lang::String * RAW_ENCODING_SHORT_NAME;
|
||||
static ::java::lang::String * X509_ENCODING_SORT_NAME;
|
||||
static ::java::lang::String * PKCS8_ENCODING_SHORT_NAME;
|
||||
static ::java::lang::String * ASN1_ENCODING_SHORT_NAME;
|
||||
static const jint RAW_ENCODING_ID = 1;
|
||||
static const jint X509_ENCODING_ID = 2;
|
||||
static const jint PKCS8_ENCODING_ID = 3;
|
||||
static const jint ASN1_ENCODING_ID = 4;
|
||||
static ::java::lang::String * DSA_OID_STRING;
|
||||
static ::java::lang::String * RSA_OID_STRING;
|
||||
static ::java::lang::String * DH_OID_STRING;
|
||||
static JArray< jbyte > * MAGIC_RAW_DSS_PUBLIC_KEY;
|
||||
static JArray< jbyte > * MAGIC_RAW_DSS_PRIVATE_KEY;
|
||||
static JArray< jbyte > * MAGIC_RAW_DSS_SIGNATURE;
|
||||
static JArray< jbyte > * MAGIC_RAW_RSA_PUBLIC_KEY;
|
||||
static JArray< jbyte > * MAGIC_RAW_RSA_PRIVATE_KEY;
|
||||
static JArray< jbyte > * MAGIC_RAW_RSA_PSS_SIGNATURE;
|
||||
static JArray< jbyte > * MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE;
|
||||
static JArray< jbyte > * MAGIC_RAW_DH_PUBLIC_KEY;
|
||||
static JArray< jbyte > * MAGIC_RAW_DH_PRIVATE_KEY;
|
||||
static JArray< jbyte > * MAGIC_RAW_SRP_PUBLIC_KEY;
|
||||
static JArray< jbyte > * MAGIC_RAW_SRP_PRIVATE_KEY;
|
||||
static ::java::lang::String * SASL_PREFIX;
|
||||
static ::java::lang::String * SASL_USERNAME;
|
||||
static ::java::lang::String * SASL_PASSWORD;
|
||||
static ::java::lang::String * SASL_AUTH_INFO_PROVIDER_PKGS;
|
||||
static ::java::lang::String * SASL_AUTHORISATION_ID;
|
||||
static ::java::lang::String * SASL_PROTOCOL;
|
||||
static ::java::lang::String * SASL_SERVER_NAME;
|
||||
static ::java::lang::String * SASL_CALLBACK_HANDLER;
|
||||
static ::java::lang::String * SASL_CHANNEL_BINDING;
|
||||
static const jint SASL_ONE_BYTE_MAX_LIMIT = 255;
|
||||
static const jint SASL_TWO_BYTE_MAX_LIMIT = 65535;
|
||||
static const jint SASL_FOUR_BYTE_MAX_LIMIT = 2147483383;
|
||||
static const jint SASL_BUFFER_MAX_LIMIT = 2147483643;
|
||||
static ::java::lang::String * SASL_ANONYMOUS_MECHANISM;
|
||||
static ::java::lang::String * SASL_CRAM_MD5_MECHANISM;
|
||||
static ::java::lang::String * SASL_PLAIN_MECHANISM;
|
||||
static ::java::lang::String * SASL_SRP_MECHANISM;
|
||||
static ::java::lang::String * SASL_HMAC_MD5_IALG;
|
||||
static ::java::lang::String * SASL_HMAC_SHA_IALG;
|
||||
static ::java::lang::String * QOP_AUTH;
|
||||
static ::java::lang::String * QOP_AUTH_INT;
|
||||
static ::java::lang::String * QOP_AUTH_CONF;
|
||||
static ::java::lang::String * STRENGTH_HIGH;
|
||||
static ::java::lang::String * STRENGTH_MEDIUM;
|
||||
static ::java::lang::String * STRENGTH_LOW;
|
||||
static ::java::lang::String * SERVER_AUTH_TRUE;
|
||||
static ::java::lang::String * SERVER_AUTH_FALSE;
|
||||
static ::java::lang::String * REUSE_TRUE;
|
||||
static ::java::lang::String * REUSE_FALSE;
|
||||
static JArray< jbyte > * GKR_MAGIC;
|
||||
static const jint GKR_PRIVATE_KEYS = 1;
|
||||
static const jint GKR_PUBLIC_CREDENTIALS = 2;
|
||||
static const jint GKR_CERTIFICATES = 4;
|
||||
static const jint GKR_HMAC_MD5_128 = 0;
|
||||
static const jint GKR_HMAC_SHA_160 = 1;
|
||||
static const jint GKR_HMAC_MD5_96 = 2;
|
||||
static const jint GKR_HMAC_SHA_96 = 3;
|
||||
static const jint GKR_CIPHER_AES_128_OFB = 0;
|
||||
static const jint GKR_CIPHER_AES_128_CBC = 1;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_Registry__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_Requires__
|
||||
#define __gnu_java_security_Requires__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Requires;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::Requires : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual ::java::lang::Class * permissionClass() = 0;
|
||||
virtual ::java::lang::String * target() = 0;
|
||||
virtual ::java::lang::String * action() = 0;
|
||||
virtual ::java::lang::Class * annotationType() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_Requires__
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_action_GetPropertyAction__
|
||||
#define __gnu_java_security_action_GetPropertyAction__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace action
|
||||
{
|
||||
class GetPropertyAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::action::GetPropertyAction : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
GetPropertyAction();
|
||||
GetPropertyAction(::java::lang::String *);
|
||||
GetPropertyAction(::java::lang::String *, ::java::lang::String *);
|
||||
virtual ::java::lang::String * target$run();
|
||||
virtual ::gnu::java::security::action::GetPropertyAction * setParameters(::java::lang::String *);
|
||||
virtual ::gnu::java::security::action::GetPropertyAction * setParameters(::java::lang::String *, ::java::lang::String *);
|
||||
virtual ::java::lang::Object * run();
|
||||
public: // actually package-private
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
|
||||
::java::lang::String * value;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_action_GetPropertyAction__
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_action_GetSecurityPropertyAction__
|
||||
#define __gnu_java_security_action_GetSecurityPropertyAction__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace action
|
||||
{
|
||||
class GetSecurityPropertyAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::action::GetSecurityPropertyAction : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
GetSecurityPropertyAction();
|
||||
GetSecurityPropertyAction(::java::lang::String *);
|
||||
GetSecurityPropertyAction(::java::lang::String *, ::java::lang::String *);
|
||||
virtual ::gnu::java::security::action::GetSecurityPropertyAction * setParameters(::java::lang::String *);
|
||||
virtual ::gnu::java::security::action::GetSecurityPropertyAction * setParameters(::java::lang::String *, ::java::lang::String *);
|
||||
virtual ::java::lang::String * target$run();
|
||||
virtual ::java::lang::Object * run();
|
||||
private:
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
|
||||
::java::lang::String * value;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_action_GetSecurityPropertyAction__
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_action_SetAccessibleAction__
|
||||
#define __gnu_java_security_action_SetAccessibleAction__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace action
|
||||
{
|
||||
class SetAccessibleAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::action::SetAccessibleAction : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
SetAccessibleAction();
|
||||
SetAccessibleAction(::java::lang::reflect::AccessibleObject *);
|
||||
virtual ::java::lang::Object * run();
|
||||
virtual ::gnu::java::security::action::SetAccessibleAction * setMember(::java::lang::reflect::AccessibleObject *);
|
||||
public: // actually package-private
|
||||
::java::lang::reflect::AccessibleObject * __attribute__((aligned(__alignof__( ::java::lang::Object)))) member;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_action_SetAccessibleAction__
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_ber_BER__
|
||||
#define __gnu_java_security_ber_BER__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace ber
|
||||
{
|
||||
class BER;
|
||||
class BERValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::ber::BER : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
static ::gnu::java::security::ber::BERValue * END_OF_SEQUENCE;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_ber_BER__
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_ber_BEREncodingException__
|
||||
#define __gnu_java_security_ber_BEREncodingException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/der/DEREncodingException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace ber
|
||||
{
|
||||
class BEREncodingException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::ber::BEREncodingException : public ::gnu::java::security::der::DEREncodingException
|
||||
{
|
||||
|
||||
public:
|
||||
BEREncodingException();
|
||||
BEREncodingException(::java::lang::String *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_ber_BEREncodingException__
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_ber_BERReader__
|
||||
#define __gnu_java_security_ber_BERReader__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/der/DERReader.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace ber
|
||||
{
|
||||
class BERReader;
|
||||
}
|
||||
namespace der
|
||||
{
|
||||
class DERValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::ber::BERReader : public ::gnu::java::security::der::DERReader
|
||||
{
|
||||
|
||||
public:
|
||||
BERReader(JArray< jbyte > *);
|
||||
BERReader(JArray< jbyte > *, jint, jint);
|
||||
BERReader(::java::io::InputStream *);
|
||||
virtual ::gnu::java::security::der::DERValue * read();
|
||||
virtual jint peek();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_ber_BERReader__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_ber_BERValue__
|
||||
#define __gnu_java_security_ber_BERValue__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/der/DERValue.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace ber
|
||||
{
|
||||
class BERValue;
|
||||
}
|
||||
namespace der
|
||||
{
|
||||
class DERValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::ber::BERValue : public ::gnu::java::security::der::DERValue
|
||||
{
|
||||
|
||||
public:
|
||||
BERValue(jint, ::java::lang::Object *, JArray< jbyte > *);
|
||||
BERValue(jint, jint, ::java::lang::Object *, JArray< jbyte > *);
|
||||
BERValue(jint, ::java::lang::Object *);
|
||||
static jboolean isIndefinite(::gnu::java::security::der::DERValue *);
|
||||
virtual jboolean getIndefinite();
|
||||
virtual jint getLength();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::gnu::java::security::der::DERValue)))) indefinite;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_ber_BERValue__
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_der_BitString__
|
||||
#define __gnu_java_security_der_BitString__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace der
|
||||
{
|
||||
class BitString;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::der::BitString : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
BitString(JArray< jbyte > *, jint, jboolean);
|
||||
BitString(JArray< jbyte > *, jint, jint, jint, jboolean);
|
||||
BitString(JArray< jbyte > *, jint, jint, jint);
|
||||
BitString(JArray< jbyte > *, jint);
|
||||
BitString(JArray< jbyte > *, jint, jint);
|
||||
BitString(JArray< jbyte > *);
|
||||
virtual JArray< jbyte > * toByteArray();
|
||||
virtual JArray< jbyte > * getShiftedByteArray();
|
||||
virtual jint getIgnoredBits();
|
||||
virtual jint size();
|
||||
virtual JArray< jboolean > * toBooleanArray();
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) bytes;
|
||||
JArray< jbyte > * externBytes;
|
||||
jint ignoredBits;
|
||||
JArray< jboolean > * boolVal;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_der_BitString__
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_der_DER__
|
||||
#define __gnu_java_security_der_DER__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace der
|
||||
{
|
||||
class DER;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::der::DER : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
static const jint UNIVERSAL = 0;
|
||||
static const jint APPLICATION = 64;
|
||||
static const jint CONTEXT = 128;
|
||||
static const jint PRIVATE = 192;
|
||||
static const jint CONSTRUCTED = 32;
|
||||
static const jint ANY = 0;
|
||||
static const jint BOOLEAN = 1;
|
||||
static const jint INTEGER = 2;
|
||||
static const jint BIT_STRING = 3;
|
||||
static const jint OCTET_STRING = 4;
|
||||
static const jint NULL = 5;
|
||||
static const jint OBJECT_IDENTIFIER = 6;
|
||||
static const jint REAL = 9;
|
||||
static const jint ENUMERATED = 10;
|
||||
static const jint RELATIVE_OID = 13;
|
||||
static const jint SEQUENCE = 16;
|
||||
static const jint SET = 17;
|
||||
static ::java::lang::Object * CONSTRUCTED_VALUE;
|
||||
static const jint NUMERIC_STRING = 18;
|
||||
static const jint PRINTABLE_STRING = 19;
|
||||
static const jint T61_STRING = 20;
|
||||
static const jint VIDEOTEX_STRING = 21;
|
||||
static const jint IA5_STRING = 22;
|
||||
static const jint GRAPHIC_STRING = 25;
|
||||
static const jint ISO646_STRING = 26;
|
||||
static const jint GENERAL_STRING = 27;
|
||||
static const jint UTF8_STRING = 12;
|
||||
static const jint UNIVERSAL_STRING = 28;
|
||||
static const jint BMP_STRING = 30;
|
||||
static const jint UTC_TIME = 23;
|
||||
static const jint GENERALIZED_TIME = 24;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_der_DER__
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_der_DEREncodingException__
|
||||
#define __gnu_java_security_der_DEREncodingException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/IOException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace der
|
||||
{
|
||||
class DEREncodingException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::der::DEREncodingException : public ::java::io::IOException
|
||||
{
|
||||
|
||||
public:
|
||||
DEREncodingException();
|
||||
DEREncodingException(::java::lang::String *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_der_DEREncodingException__
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_der_DERReader__
|
||||
#define __gnu_java_security_der_DERReader__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace der
|
||||
{
|
||||
class DERReader;
|
||||
class DERValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::der::DERReader : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
DERReader(JArray< jbyte > *);
|
||||
DERReader(JArray< jbyte > *, jint, jint);
|
||||
DERReader(::java::io::InputStream *);
|
||||
static ::gnu::java::security::der::DERValue * read(JArray< jbyte > *);
|
||||
virtual void skip(jint);
|
||||
virtual ::gnu::java::security::der::DERValue * read();
|
||||
public: // actually protected
|
||||
virtual jint readLength();
|
||||
private:
|
||||
::java::lang::Object * readUniversal(jint, jint);
|
||||
static ::java::lang::String * makeString(jint, JArray< jbyte > *);
|
||||
static ::java::lang::String * fromIso88591(JArray< jbyte > *);
|
||||
static ::java::lang::String * fromUtf16Be(JArray< jbyte > *);
|
||||
static ::java::lang::String * fromUtf8(JArray< jbyte > *);
|
||||
::java::util::Date * makeTime(jint, JArray< jbyte > *);
|
||||
public: // actually protected
|
||||
::java::io::InputStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in;
|
||||
::java::io::ByteArrayOutputStream * encBuf;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_der_DERReader__
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_der_DERValue__
|
||||
#define __gnu_java_security_der_DERValue__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace der
|
||||
{
|
||||
class DERValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::der::DERValue : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
DERValue(jint, jint, ::java::lang::Object *, JArray< jbyte > *);
|
||||
DERValue(jint, ::java::lang::Object *);
|
||||
virtual jint getExternalTag();
|
||||
virtual jint getTag();
|
||||
virtual jint getTagClass();
|
||||
virtual jboolean isConstructed();
|
||||
virtual jint getLength();
|
||||
virtual ::java::lang::Object * getValue();
|
||||
virtual ::java::lang::Object * getValueAs(jint);
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual jint getEncodedLength();
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) tagClass;
|
||||
jboolean constructed;
|
||||
jint tag;
|
||||
jint length;
|
||||
::java::lang::Object * value;
|
||||
JArray< jbyte > * encoded;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_der_DERValue__
|
||||
@@ -0,0 +1,64 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_der_DERWriter__
|
||||
#define __gnu_java_security_der_DERWriter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace der
|
||||
{
|
||||
class BitString;
|
||||
class DERValue;
|
||||
class DERWriter;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::der::DERWriter : public ::java::lang::Object
|
||||
{
|
||||
|
||||
DERWriter();
|
||||
public:
|
||||
static jint write(::java::io::OutputStream *, ::gnu::java::security::der::DERValue *);
|
||||
static jint definiteEncodingSize(jint);
|
||||
private:
|
||||
static jint writeBoolean(::java::io::OutputStream *, ::java::lang::Boolean *);
|
||||
static jint writeInteger(::java::io::OutputStream *, ::java::math::BigInteger *);
|
||||
static jint writeSequence(::java::io::OutputStream *, ::java::util::List *);
|
||||
static jint writeSet(::java::io::OutputStream *, ::java::util::Set *);
|
||||
static jint writeOID(::java::io::OutputStream *, ::gnu::java::security::OID *);
|
||||
static jint writeBitString(::java::io::OutputStream *, ::gnu::java::security::der::BitString *);
|
||||
static jint writeString(::java::io::OutputStream *, jint, ::java::lang::String *);
|
||||
static JArray< jbyte > * toIso88591(::java::lang::String *);
|
||||
static JArray< jbyte > * toUtf16Be(::java::lang::String *);
|
||||
static JArray< jbyte > * toUtf8(::java::lang::String *);
|
||||
static jint writeDate(::java::io::OutputStream *, jint, ::java::util::Date *);
|
||||
public: // actually package-private
|
||||
static void writeLength(::java::io::OutputStream *, jint);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_der_DERWriter__
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_BaseHash__
|
||||
#define __gnu_java_security_hash_BaseHash__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class BaseHash;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::BaseHash : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
BaseHash(::java::lang::String *, jint, jint);
|
||||
public:
|
||||
virtual ::java::lang::String * name();
|
||||
virtual jint hashSize();
|
||||
virtual jint blockSize();
|
||||
virtual void update(jbyte);
|
||||
virtual void update(JArray< jbyte > *);
|
||||
virtual void update(JArray< jbyte > *, jint, jint);
|
||||
virtual JArray< jbyte > * digest();
|
||||
virtual void reset();
|
||||
virtual ::java::lang::Object * clone() = 0;
|
||||
virtual jboolean selfTest() = 0;
|
||||
public: // actually protected
|
||||
virtual JArray< jbyte > * padBuffer() = 0;
|
||||
virtual JArray< jbyte > * getResult() = 0;
|
||||
virtual void resetContext() = 0;
|
||||
virtual void transform(JArray< jbyte > *, jint) = 0;
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__;
|
||||
jint hashSize__;
|
||||
jint blockSize__;
|
||||
jlong count;
|
||||
JArray< jbyte > * buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_BaseHash__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_HashFactory__
|
||||
#define __gnu_java_security_hash_HashFactory__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class HashFactory;
|
||||
class IMessageDigest;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::HashFactory : public ::java::lang::Object
|
||||
{
|
||||
|
||||
HashFactory();
|
||||
public:
|
||||
static ::gnu::java::security::hash::IMessageDigest * getInstance(::java::lang::String *);
|
||||
static ::java::util::Set * getNames();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_HashFactory__
|
||||
@@ -0,0 +1,86 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_Haval__
|
||||
#define __gnu_java_security_hash_Haval__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Haval;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::Haval : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
Haval();
|
||||
Haval(jint);
|
||||
Haval(jint, jint);
|
||||
private:
|
||||
Haval(::gnu::java::security::hash::Haval *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
void tailorDigestBits();
|
||||
jint FF1(jint, jint, jint, jint, jint, jint, jint, jint, jint);
|
||||
jint FF2(jint, jint, jint, jint, jint, jint, jint, jint, jint, jint);
|
||||
jint FF3(jint, jint, jint, jint, jint, jint, jint, jint, jint, jint);
|
||||
jint FF4(jint, jint, jint, jint, jint, jint, jint, jint, jint, jint);
|
||||
jint FF5(jint, jint, jint, jint, jint, jint, jint, jint, jint, jint);
|
||||
jint f1(jint, jint, jint, jint, jint, jint, jint);
|
||||
jint f2(jint, jint, jint, jint, jint, jint, jint);
|
||||
jint f3(jint, jint, jint, jint, jint, jint, jint);
|
||||
jint f4(jint, jint, jint, jint, jint, jint, jint);
|
||||
jint f5(jint, jint, jint, jint, jint, jint, jint);
|
||||
public:
|
||||
static const jint HAVAL_VERSION = 1;
|
||||
static const jint HAVAL_128_BIT = 16;
|
||||
static const jint HAVAL_160_BIT = 20;
|
||||
static const jint HAVAL_192_BIT = 24;
|
||||
static const jint HAVAL_224_BIT = 28;
|
||||
static const jint HAVAL_256_BIT = 32;
|
||||
static const jint HAVAL_3_ROUND = 3;
|
||||
static const jint HAVAL_4_ROUND = 4;
|
||||
static const jint HAVAL_5_ROUND = 5;
|
||||
private:
|
||||
static const jint BLOCK_SIZE = 128;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) rounds;
|
||||
jint h0;
|
||||
jint h1;
|
||||
jint h2;
|
||||
jint h3;
|
||||
jint h4;
|
||||
jint h5;
|
||||
jint h6;
|
||||
jint h7;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_Haval__
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_IMessageDigest__
|
||||
#define __gnu_java_security_hash_IMessageDigest__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class IMessageDigest;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::IMessageDigest : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual ::java::lang::String * name() = 0;
|
||||
virtual jint hashSize() = 0;
|
||||
virtual jint blockSize() = 0;
|
||||
virtual void update(jbyte) = 0;
|
||||
virtual void update(JArray< jbyte > *) = 0;
|
||||
virtual void update(JArray< jbyte > *, jint, jint) = 0;
|
||||
virtual JArray< jbyte > * digest() = 0;
|
||||
virtual void reset() = 0;
|
||||
virtual jboolean selfTest() = 0;
|
||||
virtual ::java::lang::Object * clone() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_hash_IMessageDigest__
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_MD2__
|
||||
#define __gnu_java_security_hash_MD2__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class MD2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::MD2 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
MD2();
|
||||
private:
|
||||
MD2(::gnu::java::security::hash::MD2 *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
public: // actually protected
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
private:
|
||||
void encryptBlock(JArray< jbyte > *, jint);
|
||||
void updateCheckSumAndEncryptBlock(JArray< jbyte > *, jint);
|
||||
static const jint DIGEST_LENGTH = 16;
|
||||
static const jint BLOCK_LENGTH = 16;
|
||||
static JArray< jbyte > * PI;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static ::java::lang::Boolean * valid;
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) checksum;
|
||||
JArray< jbyte > * work;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_MD2__
|
||||
@@ -0,0 +1,63 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_MD4__
|
||||
#define __gnu_java_security_hash_MD4__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class MD4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::MD4 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
MD4();
|
||||
private:
|
||||
MD4(::gnu::java::security::hash::MD4 *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
public: // actually protected
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
private:
|
||||
static const jint DIGEST_LENGTH = 16;
|
||||
static const jint BLOCK_LENGTH = 64;
|
||||
static const jint A = 1732584193;
|
||||
static const jint B = -271733879;
|
||||
static const jint C = -1732584194;
|
||||
static const jint D = 271733878;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) a;
|
||||
jint b;
|
||||
jint c;
|
||||
jint d;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_MD4__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_MD5__
|
||||
#define __gnu_java_security_hash_MD5__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class MD5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::MD5 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
MD5();
|
||||
private:
|
||||
MD5(::gnu::java::security::hash::MD5 *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
static const jint BLOCK_SIZE = 64;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
|
||||
jint h1;
|
||||
jint h2;
|
||||
jint h3;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_MD5__
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_RipeMD128__
|
||||
#define __gnu_java_security_hash_RipeMD128__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class RipeMD128;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::RipeMD128 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
RipeMD128();
|
||||
private:
|
||||
RipeMD128(::gnu::java::security::hash::RipeMD128 *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
static const jint BLOCK_SIZE = 64;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static JArray< jint > * R;
|
||||
static JArray< jint > * Rp;
|
||||
static JArray< jint > * S;
|
||||
static JArray< jint > * Sp;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
|
||||
jint h1;
|
||||
jint h2;
|
||||
jint h3;
|
||||
JArray< jint > * X;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_RipeMD128__
|
||||
@@ -0,0 +1,63 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_RipeMD160__
|
||||
#define __gnu_java_security_hash_RipeMD160__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class RipeMD160;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::RipeMD160 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
RipeMD160();
|
||||
private:
|
||||
RipeMD160(::gnu::java::security::hash::RipeMD160 *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
static const jint BLOCK_SIZE = 64;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static JArray< jint > * R;
|
||||
static JArray< jint > * Rp;
|
||||
static JArray< jint > * S;
|
||||
static JArray< jint > * Sp;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
|
||||
jint h1;
|
||||
jint h2;
|
||||
jint h3;
|
||||
jint h4;
|
||||
JArray< jint > * X;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_RipeMD160__
|
||||
@@ -0,0 +1,61 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_Sha160__
|
||||
#define __gnu_java_security_hash_Sha160__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha160;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::Sha160 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
Sha160();
|
||||
private:
|
||||
Sha160(::gnu::java::security::hash::Sha160 *);
|
||||
public:
|
||||
static JArray< jint > * G(jint, jint, jint, jint, jint, JArray< jbyte > *, jint);
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
static JArray< jint > * sha(jint, jint, jint, jint, jint, JArray< jbyte > *, jint);
|
||||
static const jint BLOCK_SIZE = 64;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static JArray< jint > * w;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
|
||||
jint h1;
|
||||
jint h2;
|
||||
jint h3;
|
||||
jint h4;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_Sha160__
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_Sha256__
|
||||
#define __gnu_java_security_hash_Sha256__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha256;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::Sha256 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
Sha256();
|
||||
private:
|
||||
Sha256(::gnu::java::security::hash::Sha256 *);
|
||||
public:
|
||||
static JArray< jint > * G(jint, jint, jint, jint, jint, jint, jint, jint, JArray< jbyte > *, jint);
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
static JArray< jint > * sha(jint, jint, jint, jint, jint, jint, jint, jint, JArray< jbyte > *, jint);
|
||||
static JArray< jint > * k;
|
||||
static const jint BLOCK_SIZE = 64;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static JArray< jint > * w;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
|
||||
jint h1;
|
||||
jint h2;
|
||||
jint h3;
|
||||
jint h4;
|
||||
jint h5;
|
||||
jint h6;
|
||||
jint h7;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_Sha256__
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_Sha384__
|
||||
#define __gnu_java_security_hash_Sha384__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha384;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::Sha384 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
Sha384();
|
||||
private:
|
||||
Sha384(::gnu::java::security::hash::Sha384 *);
|
||||
public:
|
||||
static JArray< jlong > * G(jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, JArray< jbyte > *, jint);
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
static JArray< jlong > * sha(jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, JArray< jbyte > *, jint);
|
||||
static JArray< jlong > * k;
|
||||
static const jint BLOCK_SIZE = 128;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static JArray< jlong > * w;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jlong __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
|
||||
jlong h1;
|
||||
jlong h2;
|
||||
jlong h3;
|
||||
jlong h4;
|
||||
jlong h5;
|
||||
jlong h6;
|
||||
jlong h7;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_Sha384__
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_Sha512__
|
||||
#define __gnu_java_security_hash_Sha512__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha512;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::Sha512 : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
Sha512();
|
||||
private:
|
||||
Sha512(::gnu::java::security::hash::Sha512 *);
|
||||
public:
|
||||
static JArray< jlong > * G(jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, JArray< jbyte > *, jint);
|
||||
virtual ::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
public:
|
||||
virtual jboolean selfTest();
|
||||
private:
|
||||
static JArray< jlong > * sha(jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, JArray< jbyte > *, jint);
|
||||
static JArray< jlong > * k;
|
||||
static const jint BLOCK_SIZE = 128;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static JArray< jlong > * w;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jlong __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
|
||||
jlong h1;
|
||||
jlong h2;
|
||||
jlong h3;
|
||||
jlong h4;
|
||||
jlong h5;
|
||||
jlong h6;
|
||||
jlong h7;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_Sha512__
|
||||
@@ -0,0 +1,63 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_Tiger__
|
||||
#define __gnu_java_security_hash_Tiger__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Tiger;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::Tiger : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
Tiger();
|
||||
private:
|
||||
Tiger(::gnu::java::security::hash::Tiger *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual jboolean selfTest();
|
||||
public: // actually protected
|
||||
virtual JArray< jbyte > * padBuffer();
|
||||
virtual JArray< jbyte > * getResult();
|
||||
virtual void resetContext();
|
||||
virtual void transform(JArray< jbyte > *, jint);
|
||||
private:
|
||||
static const jint HASH_SIZE = 24;
|
||||
static const jint BLOCK_SIZE = 64;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static const jlong A = 81985529216486895LL;
|
||||
static const jlong B = -81985529216486896LL;
|
||||
static const jlong C = -1110518062304271993LL;
|
||||
static JArray< jlong > * T1;
|
||||
static JArray< jlong > * T2;
|
||||
static JArray< jlong > * T3;
|
||||
static JArray< jlong > * T4;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jlong __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) a;
|
||||
jlong b;
|
||||
jlong c;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_Tiger__
|
||||
@@ -0,0 +1,113 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_hash_Whirlpool__
|
||||
#define __gnu_java_security_hash_Whirlpool__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/hash/BaseHash.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Whirlpool;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::hash::Whirlpool : public ::gnu::java::security::hash::BaseHash
|
||||
{
|
||||
|
||||
public:
|
||||
Whirlpool();
|
||||
private:
|
||||
Whirlpool(::gnu::java::security::hash::Whirlpool *);
|
||||
public:
|
||||
::java::lang::Object * clone();
|
||||
public: // actually protected
|
||||
void transform(JArray< jbyte > *, jint);
|
||||
JArray< jbyte > * padBuffer();
|
||||
JArray< jbyte > * getResult();
|
||||
void resetContext();
|
||||
public:
|
||||
jboolean selfTest();
|
||||
private:
|
||||
static ::java::util::logging::Logger * log;
|
||||
static const jint BLOCK_SIZE = 64;
|
||||
static ::java::lang::String * DIGEST0;
|
||||
static const jint R = 10;
|
||||
static ::java::lang::String * S_box;
|
||||
static JArray< jlong > * T0;
|
||||
static JArray< jlong > * T1;
|
||||
static JArray< jlong > * T2;
|
||||
static JArray< jlong > * T3;
|
||||
static JArray< jlong > * T4;
|
||||
static JArray< jlong > * T5;
|
||||
static JArray< jlong > * T6;
|
||||
static JArray< jlong > * T7;
|
||||
static JArray< jlong > * rc;
|
||||
static ::java::lang::Boolean * valid;
|
||||
jlong __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) H0;
|
||||
jlong H1;
|
||||
jlong H2;
|
||||
jlong H3;
|
||||
jlong H4;
|
||||
jlong H5;
|
||||
jlong H6;
|
||||
jlong H7;
|
||||
jlong k00;
|
||||
jlong k01;
|
||||
jlong k02;
|
||||
jlong k03;
|
||||
jlong k04;
|
||||
jlong k05;
|
||||
jlong k06;
|
||||
jlong k07;
|
||||
jlong Kr0;
|
||||
jlong Kr1;
|
||||
jlong Kr2;
|
||||
jlong Kr3;
|
||||
jlong Kr4;
|
||||
jlong Kr5;
|
||||
jlong Kr6;
|
||||
jlong Kr7;
|
||||
jlong n0;
|
||||
jlong n1;
|
||||
jlong n2;
|
||||
jlong n3;
|
||||
jlong n4;
|
||||
jlong n5;
|
||||
jlong n6;
|
||||
jlong n7;
|
||||
jlong nn0;
|
||||
jlong nn1;
|
||||
jlong nn2;
|
||||
jlong nn3;
|
||||
jlong nn4;
|
||||
jlong nn5;
|
||||
jlong nn6;
|
||||
jlong nn7;
|
||||
jlong w0;
|
||||
jlong w1;
|
||||
jlong w2;
|
||||
jlong w3;
|
||||
jlong w4;
|
||||
jlong w5;
|
||||
jlong w6;
|
||||
jlong w7;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_hash_Whirlpool__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_HavalSpi__
|
||||
#define __gnu_java_security_jce_hash_HavalSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class HavalSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::HavalSpi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
HavalSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_HavalSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_MD2Spi__
|
||||
#define __gnu_java_security_jce_hash_MD2Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class MD2Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::MD2Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD2Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_MD2Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_MD4Spi__
|
||||
#define __gnu_java_security_jce_hash_MD4Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class MD4Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::MD4Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD4Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_MD4Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_MD5Spi__
|
||||
#define __gnu_java_security_jce_hash_MD5Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class MD5Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::MD5Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD5Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_MD5Spi__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_MessageDigestAdapter__
|
||||
#define __gnu_java_security_jce_hash_MessageDigestAdapter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/MessageDigestSpi.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class IMessageDigest;
|
||||
}
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class MessageDigestAdapter;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::MessageDigestAdapter : public ::java::security::MessageDigestSpi
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
MessageDigestAdapter(::java::lang::String *);
|
||||
private:
|
||||
MessageDigestAdapter(::gnu::java::security::hash::IMessageDigest *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual jint engineGetDigestLength();
|
||||
virtual void engineUpdate(jbyte);
|
||||
virtual void engineUpdate(JArray< jbyte > *, jint, jint);
|
||||
virtual JArray< jbyte > * engineDigest();
|
||||
virtual jint engineDigest(JArray< jbyte > *, jint, jint);
|
||||
virtual void engineReset();
|
||||
private:
|
||||
::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::security::MessageDigestSpi)))) adaptee;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_MessageDigestAdapter__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_RipeMD128Spi__
|
||||
#define __gnu_java_security_jce_hash_RipeMD128Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class RipeMD128Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::RipeMD128Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
RipeMD128Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_RipeMD128Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_RipeMD160Spi__
|
||||
#define __gnu_java_security_jce_hash_RipeMD160Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class RipeMD160Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::RipeMD160Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
RipeMD160Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_RipeMD160Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_Sha160Spi__
|
||||
#define __gnu_java_security_jce_hash_Sha160Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha160Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::Sha160Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha160Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_Sha160Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_Sha256Spi__
|
||||
#define __gnu_java_security_jce_hash_Sha256Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha256Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::Sha256Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha256Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_Sha256Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_Sha384Spi__
|
||||
#define __gnu_java_security_jce_hash_Sha384Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha384Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::Sha384Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha384Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_Sha384Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_Sha512Spi__
|
||||
#define __gnu_java_security_jce_hash_Sha512Spi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha512Spi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::Sha512Spi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha512Spi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_Sha512Spi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_TigerSpi__
|
||||
#define __gnu_java_security_jce_hash_TigerSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class TigerSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::TigerSpi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
TigerSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_TigerSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_hash_WhirlpoolSpi__
|
||||
#define __gnu_java_security_jce_hash_WhirlpoolSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/hash/MessageDigestAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class WhirlpoolSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::hash::WhirlpoolSpi : public ::gnu::java::security::jce::hash::MessageDigestAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
WhirlpoolSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_hash_WhirlpoolSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_HavalRandomSpi__
|
||||
#define __gnu_java_security_jce_prng_HavalRandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class HavalRandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::HavalRandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
HavalRandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_HavalRandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_MD2RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_MD2RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class MD2RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::MD2RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD2RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_MD2RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_MD4RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_MD4RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class MD4RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::MD4RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD4RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_MD4RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_MD5RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_MD5RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class MD5RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::MD5RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD5RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_MD5RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_RipeMD128RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_RipeMD128RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class RipeMD128RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::RipeMD128RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
RipeMD128RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_RipeMD128RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_RipeMD160RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_RipeMD160RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class RipeMD160RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::RipeMD160RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
RipeMD160RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_RipeMD160RandomSpi__
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_SecureRandomAdapter__
|
||||
#define __gnu_java_security_jce_prng_SecureRandomAdapter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/SecureRandomSpi.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class SecureRandomAdapter;
|
||||
}
|
||||
}
|
||||
namespace prng
|
||||
{
|
||||
class MDGenerator;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::SecureRandomAdapter : public ::java::security::SecureRandomSpi
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
SecureRandomAdapter(::java::lang::String *);
|
||||
public:
|
||||
virtual JArray< jbyte > * engineGenerateSeed(jint);
|
||||
virtual void engineNextBytes(JArray< jbyte > *);
|
||||
virtual void engineSetSeed(JArray< jbyte > *);
|
||||
private:
|
||||
::gnu::java::security::prng::MDGenerator * __attribute__((aligned(__alignof__( ::java::security::SecureRandomSpi)))) adaptee;
|
||||
::java::lang::String * mdName;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_SecureRandomAdapter__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_Sha160RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_Sha160RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class Sha160RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::Sha160RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha160RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_Sha160RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_Sha256RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_Sha256RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class Sha256RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::Sha256RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha256RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_Sha256RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_Sha384RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_Sha384RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class Sha384RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::Sha384RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha384RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_Sha384RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_Sha512RandomSpi__
|
||||
#define __gnu_java_security_jce_prng_Sha512RandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class Sha512RandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::Sha512RandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
Sha512RandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_Sha512RandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_TigerRandomSpi__
|
||||
#define __gnu_java_security_jce_prng_TigerRandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class TigerRandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::TigerRandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
TigerRandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_TigerRandomSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_prng_WhirlpoolRandomSpi__
|
||||
#define __gnu_java_security_jce_prng_WhirlpoolRandomSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/prng/SecureRandomAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class WhirlpoolRandomSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::prng::WhirlpoolRandomSpi : public ::gnu::java::security::jce::prng::SecureRandomAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
WhirlpoolRandomSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_prng_WhirlpoolRandomSpi__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_DSSKeyFactory__
|
||||
#define __gnu_java_security_jce_sig_DSSKeyFactory__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/KeyFactorySpi.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class DSSKeyFactory;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Key;
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
namespace spec
|
||||
{
|
||||
class KeySpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::DSSKeyFactory : public ::java::security::KeyFactorySpi
|
||||
{
|
||||
|
||||
public:
|
||||
DSSKeyFactory();
|
||||
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 *);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_DSSKeyFactory__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_DSSKeyPairGeneratorSpi__
|
||||
#define __gnu_java_security_jce_sig_DSSKeyPairGeneratorSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/KeyPairGeneratorAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class DSSKeyPairGeneratorSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class SecureRandom;
|
||||
namespace interfaces
|
||||
{
|
||||
class DSAParams;
|
||||
}
|
||||
namespace spec
|
||||
{
|
||||
class AlgorithmParameterSpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::DSSKeyPairGeneratorSpi : public ::gnu::java::security::jce::sig::KeyPairGeneratorAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
DSSKeyPairGeneratorSpi();
|
||||
virtual void initialize(jint, ::java::security::SecureRandom *);
|
||||
virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
|
||||
virtual void initialize(::java::security::interfaces::DSAParams *, ::java::security::SecureRandom *);
|
||||
virtual void initialize(jint, jboolean, ::java::security::SecureRandom *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_DSSKeyPairGeneratorSpi__
|
||||
@@ -0,0 +1,67 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_DSSParameters__
|
||||
#define __gnu_java_security_jce_sig_DSSParameters__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/AlgorithmParametersSpi.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class DSSParameters;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
namespace spec
|
||||
{
|
||||
class AlgorithmParameterSpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::DSSParameters : public ::java::security::AlgorithmParametersSpi
|
||||
{
|
||||
|
||||
public:
|
||||
DSSParameters();
|
||||
public: // actually protected
|
||||
virtual void engineInit(::java::security::spec::AlgorithmParameterSpec *);
|
||||
virtual void engineInit(JArray< jbyte > *);
|
||||
virtual void engineInit(JArray< jbyte > *, ::java::lang::String *);
|
||||
virtual ::java::security::spec::AlgorithmParameterSpec * engineGetParameterSpec(::java::lang::Class *);
|
||||
virtual JArray< jbyte > * engineGetEncoded();
|
||||
virtual JArray< jbyte > * engineGetEncoded(::java::lang::String *);
|
||||
virtual ::java::lang::String * engineToString();
|
||||
private:
|
||||
::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::security::AlgorithmParametersSpi)))) p;
|
||||
::java::math::BigInteger * q;
|
||||
::java::math::BigInteger * g;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_DSSParameters__
|
||||
@@ -0,0 +1,68 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_DSSParametersGenerator__
|
||||
#define __gnu_java_security_jce_sig_DSSParametersGenerator__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/AlgorithmParameterGeneratorSpi.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class DSSParametersGenerator;
|
||||
}
|
||||
}
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class FIPS186;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class AlgorithmParameters;
|
||||
class Provider;
|
||||
class SecureRandom;
|
||||
namespace spec
|
||||
{
|
||||
class AlgorithmParameterSpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::DSSParametersGenerator : public ::java::security::AlgorithmParameterGeneratorSpi
|
||||
{
|
||||
|
||||
public:
|
||||
DSSParametersGenerator();
|
||||
public: // actually protected
|
||||
virtual void engineInit(jint, ::java::security::SecureRandom *);
|
||||
virtual void engineInit(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
|
||||
virtual ::java::security::AlgorithmParameters * engineGenerateParameters();
|
||||
private:
|
||||
static ::java::security::Provider * GNU;
|
||||
jint __attribute__((aligned(__alignof__( ::java::security::AlgorithmParameterGeneratorSpi)))) modulusLength;
|
||||
::java::security::SecureRandom * rnd;
|
||||
::gnu::java::security::key::dss::FIPS186 * fips;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_DSSParametersGenerator__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_DSSRawSignatureSpi__
|
||||
#define __gnu_java_security_jce_sig_DSSRawSignatureSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class DSSRawSignatureSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::DSSRawSignatureSpi : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
DSSRawSignatureSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_DSSRawSignatureSpi__
|
||||
@@ -0,0 +1,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__
|
||||
@@ -0,0 +1,61 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_KeyPairGeneratorAdapter__
|
||||
#define __gnu_java_security_jce_sig_KeyPairGeneratorAdapter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/KeyPairGenerator.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class KeyPairGeneratorAdapter;
|
||||
}
|
||||
}
|
||||
namespace key
|
||||
{
|
||||
class IKeyPairGenerator;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class KeyPair;
|
||||
class SecureRandom;
|
||||
namespace spec
|
||||
{
|
||||
class AlgorithmParameterSpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::KeyPairGeneratorAdapter : public ::java::security::KeyPairGenerator
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
KeyPairGeneratorAdapter(::java::lang::String *);
|
||||
public:
|
||||
virtual void initialize(jint, ::java::security::SecureRandom *) = 0;
|
||||
virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
|
||||
virtual ::java::security::KeyPair * generateKeyPair();
|
||||
public: // actually protected
|
||||
::gnu::java::security::key::IKeyPairGenerator * __attribute__((aligned(__alignof__( ::java::security::KeyPairGenerator)))) adaptee;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_KeyPairGeneratorAdapter__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_MD2withRSA__
|
||||
#define __gnu_java_security_jce_sig_MD2withRSA__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class MD2withRSA;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::MD2withRSA : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD2withRSA();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_MD2withRSA__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_MD5withRSA__
|
||||
#define __gnu_java_security_jce_sig_MD5withRSA__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class MD5withRSA;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::MD5withRSA : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
MD5withRSA();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_MD5withRSA__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_RSAKeyFactory__
|
||||
#define __gnu_java_security_jce_sig_RSAKeyFactory__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/KeyFactorySpi.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class RSAKeyFactory;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Key;
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
namespace spec
|
||||
{
|
||||
class KeySpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::RSAKeyFactory : public ::java::security::KeyFactorySpi
|
||||
{
|
||||
|
||||
public:
|
||||
RSAKeyFactory();
|
||||
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 *);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_RSAKeyFactory__
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_RSAKeyPairGeneratorSpi__
|
||||
#define __gnu_java_security_jce_sig_RSAKeyPairGeneratorSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/KeyPairGeneratorAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class RSAKeyPairGeneratorSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class SecureRandom;
|
||||
namespace spec
|
||||
{
|
||||
class AlgorithmParameterSpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::RSAKeyPairGeneratorSpi : public ::gnu::java::security::jce::sig::KeyPairGeneratorAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
RSAKeyPairGeneratorSpi();
|
||||
virtual void initialize(jint, ::java::security::SecureRandom *);
|
||||
virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_RSAKeyPairGeneratorSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_RSAPSSRawSignatureSpi__
|
||||
#define __gnu_java_security_jce_sig_RSAPSSRawSignatureSpi__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class RSAPSSRawSignatureSpi;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::RSAPSSRawSignatureSpi : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
RSAPSSRawSignatureSpi();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_RSAPSSRawSignatureSpi__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_SHA160withDSS__
|
||||
#define __gnu_java_security_jce_sig_SHA160withDSS__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class SHA160withDSS;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::SHA160withDSS : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
SHA160withDSS();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_SHA160withDSS__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_SHA160withRSA__
|
||||
#define __gnu_java_security_jce_sig_SHA160withRSA__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class SHA160withRSA;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::SHA160withRSA : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
SHA160withRSA();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_SHA160withRSA__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_SHA256withRSA__
|
||||
#define __gnu_java_security_jce_sig_SHA256withRSA__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class SHA256withRSA;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::SHA256withRSA : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
SHA256withRSA();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_SHA256withRSA__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_SHA384withRSA__
|
||||
#define __gnu_java_security_jce_sig_SHA384withRSA__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class SHA384withRSA;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::SHA384withRSA : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
SHA384withRSA();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_SHA384withRSA__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_SHA512withRSA__
|
||||
#define __gnu_java_security_jce_sig_SHA512withRSA__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/jce/sig/SignatureAdapter.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class SHA512withRSA;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::SHA512withRSA : public ::gnu::java::security::jce::sig::SignatureAdapter
|
||||
{
|
||||
|
||||
public:
|
||||
SHA512withRSA();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_SHA512withRSA__
|
||||
@@ -0,0 +1,78 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_jce_sig_SignatureAdapter__
|
||||
#define __gnu_java_security_jce_sig_SignatureAdapter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/SignatureSpi.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace jce
|
||||
{
|
||||
namespace sig
|
||||
{
|
||||
class SignatureAdapter;
|
||||
}
|
||||
}
|
||||
namespace sig
|
||||
{
|
||||
class ISignature;
|
||||
class ISignatureCodec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
class SecureRandom;
|
||||
namespace spec
|
||||
{
|
||||
class AlgorithmParameterSpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::jce::sig::SignatureAdapter : public ::java::security::SignatureSpi
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
SignatureAdapter(::java::lang::String *, ::gnu::java::security::sig::ISignatureCodec *);
|
||||
private:
|
||||
SignatureAdapter(::gnu::java::security::sig::ISignature *, ::gnu::java::security::sig::ISignatureCodec *);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual void engineInitVerify(::java::security::PublicKey *);
|
||||
virtual void engineInitSign(::java::security::PrivateKey *);
|
||||
virtual void engineInitSign(::java::security::PrivateKey *, ::java::security::SecureRandom *);
|
||||
virtual void engineUpdate(jbyte);
|
||||
virtual void engineUpdate(JArray< jbyte > *, jint, jint);
|
||||
virtual JArray< jbyte > * engineSign();
|
||||
virtual jint engineSign(JArray< jbyte > *, jint, jint);
|
||||
virtual jboolean engineVerify(JArray< jbyte > *);
|
||||
virtual void engineSetParameter(::java::lang::String *, ::java::lang::Object *);
|
||||
virtual void engineSetParameter(::java::security::spec::AlgorithmParameterSpec *);
|
||||
virtual ::java::lang::Object * engineGetParameter(::java::lang::String *);
|
||||
private:
|
||||
static ::java::util::logging::Logger * log;
|
||||
::gnu::java::security::sig::ISignature * __attribute__((aligned(__alignof__( ::java::security::SignatureSpi)))) adaptee;
|
||||
::gnu::java::security::sig::ISignatureCodec * codec;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_jce_sig_SignatureAdapter__
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_IKeyPairCodec__
|
||||
#define __gnu_java_security_key_IKeyPairCodec__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
class IKeyPairCodec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::IKeyPairCodec : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual jint getFormatID() = 0;
|
||||
virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *) = 0;
|
||||
virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *) = 0;
|
||||
virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *) = 0;
|
||||
virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *) = 0;
|
||||
static const jint RAW_FORMAT = 1;
|
||||
static const jint X509_FORMAT = 2;
|
||||
static const jint PKCS8_FORMAT = 3;
|
||||
static const jint ASN1_FORMAT = 4;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_key_IKeyPairCodec__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_IKeyPairGenerator__
|
||||
#define __gnu_java_security_key_IKeyPairGenerator__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
class IKeyPairGenerator;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class KeyPair;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::IKeyPairGenerator : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual ::java::lang::String * name() = 0;
|
||||
virtual void setup(::java::util::Map *) = 0;
|
||||
virtual ::java::security::KeyPair * generate() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_key_IKeyPairGenerator__
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_KeyPairCodecFactory__
|
||||
#define __gnu_java_security_key_KeyPairCodecFactory__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
class IKeyPairCodec;
|
||||
class KeyPairCodecFactory;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Key;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::KeyPairCodecFactory : public ::java::lang::Object
|
||||
{
|
||||
|
||||
KeyPairCodecFactory();
|
||||
public:
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getInstance(::java::lang::String *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getInstance(::java::lang::String *, ::java::lang::String *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getInstance(::java::lang::String *, jint);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getInstance(::java::security::Key *);
|
||||
static ::java::util::Set * getNames();
|
||||
private:
|
||||
static ::gnu::java::security::key::IKeyPairCodec * makeInstance(::java::lang::String *);
|
||||
static jboolean matches(::java::lang::Object *, ::java::lang::String *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getRawCodec(::java::lang::String *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getX509Codec(::java::lang::String *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getPKCS8Codec(::java::lang::String *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getRawCodec(::java::security::Key *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getX509Codec(::java::security::Key *);
|
||||
static ::gnu::java::security::key::IKeyPairCodec * getPKCS8Codec(::java::security::Key *);
|
||||
static ::java::util::Set * names;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_KeyPairCodecFactory__
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_KeyPairGeneratorFactory__
|
||||
#define __gnu_java_security_key_KeyPairGeneratorFactory__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
class IKeyPairGenerator;
|
||||
class KeyPairGeneratorFactory;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::KeyPairGeneratorFactory : public ::java::lang::Object
|
||||
{
|
||||
|
||||
KeyPairGeneratorFactory();
|
||||
public:
|
||||
static ::gnu::java::security::key::IKeyPairGenerator * getInstance(::java::lang::String *);
|
||||
static ::java::util::Set * getNames();
|
||||
private:
|
||||
static ::gnu::java::security::key::IKeyPairGenerator * makeInstance(::java::lang::String *);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_KeyPairGeneratorFactory__
|
||||
@@ -0,0 +1,71 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_DSSKey__
|
||||
#define __gnu_java_security_key_dss_DSSKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class DSSKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
namespace interfaces
|
||||
{
|
||||
class DSAParams;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::DSSKey : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
DSSKey(jint, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
public:
|
||||
virtual ::java::security::interfaces::DSAParams * getParams();
|
||||
virtual ::java::lang::String * getAlgorithm();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual ::java::lang::String * getFormat();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual JArray< jbyte > * getEncoded(jint) = 0;
|
||||
virtual jboolean hasInheritedParameters();
|
||||
public: // actually protected
|
||||
::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) p;
|
||||
::java::math::BigInteger * q;
|
||||
::java::math::BigInteger * g;
|
||||
jint defaultFormat;
|
||||
private:
|
||||
::java::lang::String * str;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_DSSKey__
|
||||
@@ -0,0 +1,98 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_DSSKeyPairGenerator__
|
||||
#define __gnu_java_security_key_dss_DSSKeyPairGenerator__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class DSSKeyPairGenerator;
|
||||
}
|
||||
}
|
||||
namespace util
|
||||
{
|
||||
class PRNG;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
class KeyPair;
|
||||
class SecureRandom;
|
||||
namespace spec
|
||||
{
|
||||
class DSAParameterSpec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::DSSKeyPairGenerator : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
DSSKeyPairGenerator();
|
||||
virtual ::java::lang::String * name();
|
||||
virtual void setup(::java::util::Map *);
|
||||
virtual ::java::security::KeyPair * generate();
|
||||
private:
|
||||
::java::math::BigInteger * nextX();
|
||||
void nextRandomBytes(JArray< jbyte > *);
|
||||
::gnu::java::security::util::PRNG * getDefaultPRNG();
|
||||
static ::java::util::logging::Logger * log;
|
||||
static ::java::math::BigInteger * TWO;
|
||||
public:
|
||||
static ::java::lang::String * MODULUS_LENGTH;
|
||||
static ::java::lang::String * USE_DEFAULTS;
|
||||
static ::java::lang::String * STRICT_DEFAULTS;
|
||||
static ::java::lang::String * SOURCE_OF_RANDOMNESS;
|
||||
static ::java::lang::String * DSS_PARAMETERS;
|
||||
static ::java::lang::String * PREFERRED_ENCODING_FORMAT;
|
||||
static const jint DEFAULT_MODULUS_LENGTH = 1024;
|
||||
private:
|
||||
static const jint DEFAULT_ENCODING_FORMAT = 1;
|
||||
static JArray< jint > * T_SHS;
|
||||
public:
|
||||
static ::java::security::spec::DSAParameterSpec * KEY_PARAMS_512;
|
||||
static ::java::security::spec::DSAParameterSpec * KEY_PARAMS_768;
|
||||
static ::java::security::spec::DSAParameterSpec * KEY_PARAMS_1024;
|
||||
private:
|
||||
static ::java::math::BigInteger * TWO_POW_160;
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) L;
|
||||
::java::security::SecureRandom * rnd;
|
||||
::java::math::BigInteger * seed;
|
||||
::java::math::BigInteger * counter;
|
||||
::java::math::BigInteger * p;
|
||||
::java::math::BigInteger * q;
|
||||
::java::math::BigInteger * e;
|
||||
::java::math::BigInteger * g;
|
||||
::java::math::BigInteger * XKEY;
|
||||
::gnu::java::security::util::PRNG * prng;
|
||||
jint preferredFormat;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_DSSKeyPairGenerator__
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_DSSKeyPairPKCS8Codec__
|
||||
#define __gnu_java_security_key_dss_DSSKeyPairPKCS8Codec__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class DSSKeyPairPKCS8Codec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::DSSKeyPairPKCS8Codec : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
DSSKeyPairPKCS8Codec();
|
||||
virtual jint getFormatID();
|
||||
virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
|
||||
virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
|
||||
virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
|
||||
virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
|
||||
private:
|
||||
static ::java::util::logging::Logger * log;
|
||||
static ::gnu::java::security::OID * DSA_ALG_OID;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_DSSKeyPairPKCS8Codec__
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_DSSKeyPairRawCodec__
|
||||
#define __gnu_java_security_key_dss_DSSKeyPairRawCodec__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class DSSKeyPairRawCodec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::DSSKeyPairRawCodec : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
DSSKeyPairRawCodec();
|
||||
virtual jint getFormatID();
|
||||
virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
|
||||
virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
|
||||
virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
|
||||
virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_DSSKeyPairRawCodec__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_DSSKeyPairX509Codec__
|
||||
#define __gnu_java_security_key_dss_DSSKeyPairX509Codec__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class DSSKeyPairX509Codec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::DSSKeyPairX509Codec : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
DSSKeyPairX509Codec();
|
||||
virtual jint getFormatID();
|
||||
virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
|
||||
virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
|
||||
virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
|
||||
virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
|
||||
private:
|
||||
static ::gnu::java::security::OID * DSA_ALG_OID;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_DSSKeyPairX509Codec__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_DSSPrivateKey__
|
||||
#define __gnu_java_security_key_dss_DSSPrivateKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/key/dss/DSSKey.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class DSSPrivateKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::DSSPrivateKey : public ::gnu::java::security::key::dss::DSSKey
|
||||
{
|
||||
|
||||
public:
|
||||
DSSPrivateKey(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
DSSPrivateKey(jint, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
static ::gnu::java::security::key::dss::DSSPrivateKey * valueOf(JArray< jbyte > *);
|
||||
virtual ::java::math::BigInteger * getX();
|
||||
virtual JArray< jbyte > * getEncoded(jint);
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::java::security::key::dss::DSSKey)))) x;
|
||||
::java::lang::String * str;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_DSSPrivateKey__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_DSSPublicKey__
|
||||
#define __gnu_java_security_key_dss_DSSPublicKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/key/dss/DSSKey.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class DSSPublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::DSSPublicKey : public ::gnu::java::security::key::dss::DSSKey
|
||||
{
|
||||
|
||||
public:
|
||||
DSSPublicKey(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
DSSPublicKey(jint, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
static ::gnu::java::security::key::dss::DSSPublicKey * valueOf(JArray< jbyte > *);
|
||||
virtual ::java::math::BigInteger * getY();
|
||||
virtual JArray< jbyte > * getEncoded(jint);
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::java::security::key::dss::DSSKey)))) y;
|
||||
::java::lang::String * str;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_DSSPublicKey__
|
||||
@@ -0,0 +1,78 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_dss_FIPS186__
|
||||
#define __gnu_java_security_key_dss_FIPS186__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace hash
|
||||
{
|
||||
class Sha160;
|
||||
}
|
||||
namespace key
|
||||
{
|
||||
namespace dss
|
||||
{
|
||||
class FIPS186;
|
||||
}
|
||||
}
|
||||
namespace util
|
||||
{
|
||||
class PRNG;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
class SecureRandom;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::dss::FIPS186 : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
FIPS186(jint, ::java::security::SecureRandom *);
|
||||
virtual JArray< ::java::math::BigInteger * > * generateParameters();
|
||||
private:
|
||||
void nextRandomBytes(JArray< jbyte > *);
|
||||
::gnu::java::security::util::PRNG * getDefaultPRNG();
|
||||
public:
|
||||
static const jint DSA_PARAMS_SEED = 0;
|
||||
static const jint DSA_PARAMS_COUNTER = 1;
|
||||
static const jint DSA_PARAMS_Q = 2;
|
||||
static const jint DSA_PARAMS_P = 3;
|
||||
static const jint DSA_PARAMS_E = 4;
|
||||
static const jint DSA_PARAMS_G = 5;
|
||||
private:
|
||||
static ::java::math::BigInteger * TWO;
|
||||
static ::java::math::BigInteger * TWO_POW_160;
|
||||
::gnu::java::security::hash::Sha160 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sha;
|
||||
jint L;
|
||||
::java::security::SecureRandom * rnd;
|
||||
::gnu::java::security::util::PRNG * prng;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_dss_FIPS186__
|
||||
@@ -0,0 +1,66 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_rsa_GnuRSAKey__
|
||||
#define __gnu_java_security_key_rsa_GnuRSAKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace rsa
|
||||
{
|
||||
class GnuRSAKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::rsa::GnuRSAKey : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
GnuRSAKey(jint, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
public:
|
||||
virtual ::java::math::BigInteger * getModulus();
|
||||
virtual ::java::lang::String * getAlgorithm();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual ::java::lang::String * getFormat();
|
||||
virtual ::java::math::BigInteger * getN();
|
||||
virtual ::java::math::BigInteger * getPublicExponent();
|
||||
virtual ::java::math::BigInteger * getE();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual JArray< jbyte > * getEncoded(jint) = 0;
|
||||
private:
|
||||
::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) n;
|
||||
::java::math::BigInteger * e;
|
||||
public: // actually protected
|
||||
jint defaultFormat;
|
||||
private:
|
||||
::java::lang::String * str;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_rsa_GnuRSAKey__
|
||||
@@ -0,0 +1,68 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_rsa_GnuRSAPrivateKey__
|
||||
#define __gnu_java_security_key_rsa_GnuRSAPrivateKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/key/rsa/GnuRSAKey.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace rsa
|
||||
{
|
||||
class GnuRSAPrivateKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::rsa::GnuRSAPrivateKey : public ::gnu::java::security::key::rsa::GnuRSAKey
|
||||
{
|
||||
|
||||
public:
|
||||
GnuRSAPrivateKey(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
GnuRSAPrivateKey(jint, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
GnuRSAPrivateKey(jint, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
static ::gnu::java::security::key::rsa::GnuRSAPrivateKey * valueOf(JArray< jbyte > *);
|
||||
virtual ::java::math::BigInteger * getPrimeP();
|
||||
virtual ::java::math::BigInteger * getPrimeQ();
|
||||
virtual ::java::math::BigInteger * getPrimeExponentP();
|
||||
virtual ::java::math::BigInteger * getPrimeExponentQ();
|
||||
virtual ::java::math::BigInteger * getCrtCoefficient();
|
||||
virtual ::java::math::BigInteger * getPrivateExponent();
|
||||
virtual JArray< jbyte > * getEncoded(jint);
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::java::security::key::rsa::GnuRSAKey)))) p;
|
||||
::java::math::BigInteger * q;
|
||||
::java::math::BigInteger * d;
|
||||
::java::math::BigInteger * dP;
|
||||
::java::math::BigInteger * dQ;
|
||||
::java::math::BigInteger * qInv;
|
||||
::java::lang::String * str;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_rsa_GnuRSAPrivateKey__
|
||||
@@ -0,0 +1,55 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_rsa_GnuRSAPublicKey__
|
||||
#define __gnu_java_security_key_rsa_GnuRSAPublicKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/key/rsa/GnuRSAKey.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace rsa
|
||||
{
|
||||
class GnuRSAPublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::rsa::GnuRSAPublicKey : public ::gnu::java::security::key::rsa::GnuRSAKey
|
||||
{
|
||||
|
||||
public:
|
||||
GnuRSAPublicKey(::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
GnuRSAPublicKey(jint, ::java::math::BigInteger *, ::java::math::BigInteger *);
|
||||
static ::gnu::java::security::key::rsa::GnuRSAPublicKey * valueOf(JArray< jbyte > *);
|
||||
virtual JArray< jbyte > * getEncoded(jint);
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::java::security::key::rsa::GnuRSAKey)))) str;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_rsa_GnuRSAPublicKey__
|
||||
@@ -0,0 +1,79 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_rsa_RSAKeyPairGenerator__
|
||||
#define __gnu_java_security_key_rsa_RSAKeyPairGenerator__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace rsa
|
||||
{
|
||||
class RSAKeyPairGenerator;
|
||||
}
|
||||
}
|
||||
namespace util
|
||||
{
|
||||
class PRNG;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
class KeyPair;
|
||||
class SecureRandom;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::rsa::RSAKeyPairGenerator : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
RSAKeyPairGenerator();
|
||||
virtual ::java::lang::String * name();
|
||||
virtual void setup(::java::util::Map *);
|
||||
virtual ::java::security::KeyPair * generate();
|
||||
private:
|
||||
void nextRandomBytes(JArray< jbyte > *);
|
||||
::gnu::java::security::util::PRNG * getDefaultPRNG();
|
||||
static ::java::util::logging::Logger * log;
|
||||
static ::java::math::BigInteger * ONE;
|
||||
static ::java::math::BigInteger * TWO;
|
||||
public:
|
||||
static ::java::lang::String * MODULUS_LENGTH;
|
||||
static ::java::lang::String * SOURCE_OF_RANDOMNESS;
|
||||
static ::java::lang::String * RSA_PARAMETERS;
|
||||
static ::java::lang::String * PREFERRED_ENCODING_FORMAT;
|
||||
private:
|
||||
static const jint DEFAULT_MODULUS_LENGTH = 1024;
|
||||
static const jint DEFAULT_ENCODING_FORMAT = 1;
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) L;
|
||||
::java::math::BigInteger * e;
|
||||
::java::security::SecureRandom * rnd;
|
||||
::gnu::java::security::util::PRNG * prng;
|
||||
jint preferredFormat;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_rsa_RSAKeyPairGenerator__
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_rsa_RSAKeyPairPKCS8Codec__
|
||||
#define __gnu_java_security_key_rsa_RSAKeyPairPKCS8Codec__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace key
|
||||
{
|
||||
namespace rsa
|
||||
{
|
||||
class RSAKeyPairPKCS8Codec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::rsa::RSAKeyPairPKCS8Codec : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
RSAKeyPairPKCS8Codec();
|
||||
virtual jint getFormatID();
|
||||
virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
|
||||
virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
|
||||
virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
|
||||
virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
|
||||
private:
|
||||
static ::java::util::logging::Logger * log;
|
||||
static ::gnu::java::security::OID * RSA_ALG_OID;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_rsa_RSAKeyPairPKCS8Codec__
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_rsa_RSAKeyPairRawCodec__
|
||||
#define __gnu_java_security_key_rsa_RSAKeyPairRawCodec__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace key
|
||||
{
|
||||
namespace rsa
|
||||
{
|
||||
class RSAKeyPairRawCodec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::rsa::RSAKeyPairRawCodec : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
RSAKeyPairRawCodec();
|
||||
virtual jint getFormatID();
|
||||
virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
|
||||
virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
|
||||
virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
|
||||
virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_rsa_RSAKeyPairRawCodec__
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_key_rsa_RSAKeyPairX509Codec__
|
||||
#define __gnu_java_security_key_rsa_RSAKeyPairX509Codec__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace key
|
||||
{
|
||||
namespace rsa
|
||||
{
|
||||
class RSAKeyPairX509Codec;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class PrivateKey;
|
||||
class PublicKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::key::rsa::RSAKeyPairX509Codec : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
RSAKeyPairX509Codec();
|
||||
virtual jint getFormatID();
|
||||
virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
|
||||
virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
|
||||
virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
|
||||
virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
|
||||
private:
|
||||
static ::java::util::logging::Logger * log;
|
||||
static ::gnu::java::security::OID * RSA_ALG_OID;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_key_rsa_RSAKeyPairX509Codec__
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user