diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/crypto/key/srp6 | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/gnu/javax/crypto/key/srp6')
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRP6Host.h | 63 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h | 72 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRP6SaslClient.h | 43 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRP6SaslServer.h | 43 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRP6TLSClient.h | 62 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRP6TLSServer.h | 66 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRP6User.h | 60 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRPAlgorithm.h | 60 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRPKey.h | 59 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.h | 92 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.h | 53 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRPPrivateKey.h | 60 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/key/srp6/SRPPublicKey.h | 57 |
13 files changed, 790 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/key/srp6/SRP6Host.h b/libjava/gnu/javax/crypto/key/srp6/SRP6Host.h new file mode 100644 index 000000000..34913f031 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRP6Host.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRP6Host__ +#define __gnu_javax_crypto_key_srp6_SRP6Host__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + class IncomingMessage; + class OutgoingMessage; + namespace srp6 + { + class SRP6Host; + } + } + namespace sasl + { + namespace srp + { + class SRPAuthInfoProvider; + } + } + } + } + } + namespace java + { + namespace security + { + class KeyPair; + } + } +} + +class gnu::javax::crypto::key::srp6::SRP6Host : public ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement +{ + +public: + SRP6Host(); +public: // actually protected + virtual void engineInit(::java::util::Map *); + virtual ::gnu::javax::crypto::key::OutgoingMessage * engineProcessMessage(::gnu::javax::crypto::key::IncomingMessage *); + virtual void engineReset(); +private: + ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *); + ::java::security::KeyPair * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement)))) hostKeyPair; + ::gnu::javax::crypto::sasl::srp::SRPAuthInfoProvider * passwordDB; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRP6Host__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h b/libjava/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h new file mode 100644 index 000000000..7479d7e68 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRP6KeyAgreement__ +#define __gnu_javax_crypto_key_srp6_SRP6KeyAgreement__ + +#pragma interface + +#include <gnu/javax/crypto/key/BaseKeyAgreementParty.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + namespace srp6 + { + class SRP6KeyAgreement; + } + } + namespace sasl + { + namespace srp + { + class SRP; + } + } + } + } + } + namespace java + { + namespace math + { + class BigInteger; + } + } +} + +class gnu::javax::crypto::key::srp6::SRP6KeyAgreement : public ::gnu::javax::crypto::key::BaseKeyAgreementParty +{ + +public: // actually protected + SRP6KeyAgreement(); + virtual JArray< jbyte > * engineSharedSecret(); + virtual void engineReset(); + virtual ::java::math::BigInteger * uValue(::java::math::BigInteger *, ::java::math::BigInteger *); +public: + static ::java::lang::String * SOURCE_OF_RANDOMNESS; + static ::java::lang::String * SHARED_MODULUS; + static ::java::lang::String * GENERATOR; + static ::java::lang::String * HASH_FUNCTION; + static ::java::lang::String * USER_IDENTITY; + static ::java::lang::String * USER_PASSWORD; + static ::java::lang::String * HOST_PASSWORD_DB; +public: // actually protected + static ::java::math::BigInteger * THREE; + ::gnu::javax::crypto::sasl::srp::SRP * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::BaseKeyAgreementParty)))) srp; + ::java::math::BigInteger * N; + ::java::math::BigInteger * g; + ::java::math::BigInteger * K; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRP6KeyAgreement__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRP6SaslClient.h b/libjava/gnu/javax/crypto/key/srp6/SRP6SaslClient.h new file mode 100644 index 000000000..179741557 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRP6SaslClient.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRP6SaslClient__ +#define __gnu_javax_crypto_key_srp6_SRP6SaslClient__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRP6TLSClient.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + class IncomingMessage; + class OutgoingMessage; + namespace srp6 + { + class SRP6SaslClient; + } + } + } + } + } +} + +class gnu::javax::crypto::key::srp6::SRP6SaslClient : public ::gnu::javax::crypto::key::srp6::SRP6TLSClient +{ + +public: + SRP6SaslClient(); +public: // actually protected + virtual ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRP6SaslClient__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRP6SaslServer.h b/libjava/gnu/javax/crypto/key/srp6/SRP6SaslServer.h new file mode 100644 index 000000000..5ac6a478e --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRP6SaslServer.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRP6SaslServer__ +#define __gnu_javax_crypto_key_srp6_SRP6SaslServer__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRP6TLSServer.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + class IncomingMessage; + class OutgoingMessage; + namespace srp6 + { + class SRP6SaslServer; + } + } + } + } + } +} + +class gnu::javax::crypto::key::srp6::SRP6SaslServer : public ::gnu::javax::crypto::key::srp6::SRP6TLSServer +{ + +public: + SRP6SaslServer(); +public: // actually protected + virtual ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRP6SaslServer__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRP6TLSClient.h b/libjava/gnu/javax/crypto/key/srp6/SRP6TLSClient.h new file mode 100644 index 000000000..b5df35136 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRP6TLSClient.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRP6TLSClient__ +#define __gnu_javax_crypto_key_srp6_SRP6TLSClient__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + class IncomingMessage; + class OutgoingMessage; + namespace srp6 + { + class SRP6TLSClient; + } + } + } + } + } + namespace java + { + namespace security + { + class KeyPair; + } + } +} + +class gnu::javax::crypto::key::srp6::SRP6TLSClient : public ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement +{ + +public: + SRP6TLSClient(); +public: // actually protected + virtual void engineInit(::java::util::Map *); + virtual ::gnu::javax::crypto::key::OutgoingMessage * engineProcessMessage(::gnu::javax::crypto::key::IncomingMessage *); + virtual void engineReset(); +private: + ::gnu::javax::crypto::key::OutgoingMessage * sendIdentity(::gnu::javax::crypto::key::IncomingMessage *); +public: // actually protected + virtual ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement)))) I; + JArray< jbyte > * p; + ::java::security::KeyPair * userKeyPair; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRP6TLSClient__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRP6TLSServer.h b/libjava/gnu/javax/crypto/key/srp6/SRP6TLSServer.h new file mode 100644 index 000000000..facb7cbb7 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRP6TLSServer.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRP6TLSServer__ +#define __gnu_javax_crypto_key_srp6_SRP6TLSServer__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + class IncomingMessage; + class OutgoingMessage; + namespace srp6 + { + class SRP6TLSServer; + } + } + namespace sasl + { + namespace srp + { + class SRPAuthInfoProvider; + } + } + } + } + } + namespace java + { + namespace security + { + class KeyPair; + } + } +} + +class gnu::javax::crypto::key::srp6::SRP6TLSServer : public ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement +{ + +public: + SRP6TLSServer(); +public: // actually protected + virtual void engineInit(::java::util::Map *); + virtual ::gnu::javax::crypto::key::OutgoingMessage * engineProcessMessage(::gnu::javax::crypto::key::IncomingMessage *); + virtual void engineReset(); +private: + ::gnu::javax::crypto::key::OutgoingMessage * sendParameters(::gnu::javax::crypto::key::IncomingMessage *); +public: // actually protected + virtual ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *); +private: + ::java::security::KeyPair * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement)))) hostKeyPair; + ::gnu::javax::crypto::sasl::srp::SRPAuthInfoProvider * passwordDB; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRP6TLSServer__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRP6User.h b/libjava/gnu/javax/crypto/key/srp6/SRP6User.h new file mode 100644 index 000000000..2d9f72510 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRP6User.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRP6User__ +#define __gnu_javax_crypto_key_srp6_SRP6User__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRP6KeyAgreement.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + class IncomingMessage; + class OutgoingMessage; + namespace srp6 + { + class SRP6User; + } + } + } + } + } + namespace java + { + namespace security + { + class KeyPair; + } + } +} + +class gnu::javax::crypto::key::srp6::SRP6User : public ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement +{ + +public: + SRP6User(); +public: // actually protected + virtual void engineInit(::java::util::Map *); + virtual ::gnu::javax::crypto::key::OutgoingMessage * engineProcessMessage(::gnu::javax::crypto::key::IncomingMessage *); + virtual void engineReset(); +private: + ::gnu::javax::crypto::key::OutgoingMessage * sendIdentity(::gnu::javax::crypto::key::IncomingMessage *); + ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *); + ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::srp6::SRP6KeyAgreement)))) I; + JArray< jbyte > * p; + ::java::security::KeyPair * userKeyPair; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRP6User__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRPAlgorithm.h b/libjava/gnu/javax/crypto/key/srp6/SRPAlgorithm.h new file mode 100644 index 000000000..534c681c8 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRPAlgorithm.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRPAlgorithm__ +#define __gnu_javax_crypto_key_srp6_SRPAlgorithm__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + namespace srp6 + { + class SRPAlgorithm; + } + } + } + } + } + namespace java + { + namespace math + { + class BigInteger; + } + } +} + +class gnu::javax::crypto::key::srp6::SRPAlgorithm : public ::java::lang::Object +{ + + SRPAlgorithm(); +public: + static void checkParams(::java::math::BigInteger *, ::java::math::BigInteger *); + static ::java::math::BigInteger * N_2048; + static ::java::math::BigInteger * N_1536; + static ::java::math::BigInteger * N_1280; + static ::java::math::BigInteger * N_1024; + static ::java::math::BigInteger * N_768; + static ::java::math::BigInteger * N_640; + static ::java::math::BigInteger * N_512; + static ::java::math::BigInteger * N_384; + static ::java::math::BigInteger * N_264; +private: + static ::java::math::BigInteger * ZERO; + static ::java::math::BigInteger * ONE; + static ::java::math::BigInteger * TWO; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRPAlgorithm__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRPKey.h b/libjava/gnu/javax/crypto/key/srp6/SRPKey.h new file mode 100644 index 000000000..9c4ef5189 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRPKey.h @@ -0,0 +1,59 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRPKey__ +#define __gnu_javax_crypto_key_srp6_SRPKey__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + namespace srp6 + { + class SRPKey; + } + } + } + } + } + namespace java + { + namespace math + { + class BigInteger; + } + } +} + +class gnu::javax::crypto::key::srp6::SRPKey : public ::java::lang::Object +{ + +public: // actually protected + SRPKey(::java::math::BigInteger *, ::java::math::BigInteger *); +public: + virtual ::java::lang::String * getAlgorithm(); + virtual JArray< jbyte > * getEncoded(); + virtual ::java::lang::String * getFormat(); + virtual ::java::math::BigInteger * getN(); + virtual ::java::math::BigInteger * getG(); + virtual jboolean equals(::java::lang::Object *); + virtual JArray< jbyte > * getEncoded(jint) = 0; +public: // actually protected + ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) N; + ::java::math::BigInteger * g; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRPKey__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.h b/libjava/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.h new file mode 100644 index 000000000..2be95fbb3 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRPKeyPairGenerator__ +#define __gnu_javax_crypto_key_srp6_SRPKeyPairGenerator__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + namespace util + { + class PRNG; + } + } + } + namespace javax + { + namespace crypto + { + namespace key + { + namespace srp6 + { + class SRPKeyPairGenerator; + } + } + } + } + } + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + class KeyPair; + class SecureRandom; + } + } +} + +class gnu::javax::crypto::key::srp6::SRPKeyPairGenerator : public ::java::lang::Object +{ + +public: + SRPKeyPairGenerator(); + virtual ::java::lang::String * name(); + virtual void setup(::java::util::Map *); + virtual ::java::security::KeyPair * generate(); +private: + JArray< ::java::math::BigInteger * > * generateParameters(); + ::java::security::KeyPair * hostKeyPair(); + ::java::security::KeyPair * userKeyPair(); + void nextRandomBytes(JArray< jbyte > *); + ::gnu::java::security::util::PRNG * getDefaultPRNG(); + static ::java::util::logging::Logger * log; + static ::java::math::BigInteger * ZERO; + static ::java::math::BigInteger * ONE; + static ::java::math::BigInteger * TWO; + static ::java::math::BigInteger * THREE; +public: + static ::java::lang::String * MODULUS_LENGTH; + static ::java::lang::String * USE_DEFAULTS; + static ::java::lang::String * SHARED_MODULUS; + static ::java::lang::String * GENERATOR; + static ::java::lang::String * USER_VERIFIER; + static ::java::lang::String * SOURCE_OF_RANDOMNESS; +private: + static const jint DEFAULT_MODULUS_LENGTH = 1024; + ::java::security::SecureRandom * __attribute__((aligned(__alignof__( ::java::lang::Object)))) rnd; + jint l; + ::java::math::BigInteger * N; + ::java::math::BigInteger * g; + ::java::math::BigInteger * v; + ::gnu::java::security::util::PRNG * prng; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRPKeyPairGenerator__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.h b/libjava/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.h new file mode 100644 index 000000000..3f6f0db75 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRPKeyPairRawCodec__ +#define __gnu_javax_crypto_key_srp6_SRPKeyPairRawCodec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + namespace srp6 + { + class SRPKeyPairRawCodec; + } + } + } + } + } + namespace java + { + namespace security + { + class PrivateKey; + class PublicKey; + } + } +} + +class gnu::javax::crypto::key::srp6::SRPKeyPairRawCodec : public ::java::lang::Object +{ + +public: + SRPKeyPairRawCodec(); + 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_javax_crypto_key_srp6_SRPKeyPairRawCodec__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRPPrivateKey.h b/libjava/gnu/javax/crypto/key/srp6/SRPPrivateKey.h new file mode 100644 index 000000000..af942a1eb --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRPPrivateKey.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRPPrivateKey__ +#define __gnu_javax_crypto_key_srp6_SRPPrivateKey__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRPKey.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + namespace srp6 + { + class SRPPrivateKey; + } + } + } + } + } + namespace java + { + namespace math + { + class BigInteger; + } + } +} + +class gnu::javax::crypto::key::srp6::SRPPrivateKey : public ::gnu::javax::crypto::key::srp6::SRPKey +{ + +public: + SRPPrivateKey(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *); + SRPPrivateKey(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *); +public: // actually package-private + SRPPrivateKey(JArray< ::java::math::BigInteger * > *); +public: + static ::gnu::javax::crypto::key::srp6::SRPPrivateKey * valueOf(JArray< jbyte > *); + virtual ::java::math::BigInteger * getX(); + virtual ::java::math::BigInteger * getV(); + virtual JArray< jbyte > * getEncoded(jint); + virtual jboolean equals(::java::lang::Object *); +private: + ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::srp6::SRPKey)))) X; + ::java::math::BigInteger * v; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRPPrivateKey__ diff --git a/libjava/gnu/javax/crypto/key/srp6/SRPPublicKey.h b/libjava/gnu/javax/crypto/key/srp6/SRPPublicKey.h new file mode 100644 index 000000000..8b1b7b0d0 --- /dev/null +++ b/libjava/gnu/javax/crypto/key/srp6/SRPPublicKey.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_key_srp6_SRPPublicKey__ +#define __gnu_javax_crypto_key_srp6_SRPPublicKey__ + +#pragma interface + +#include <gnu/javax/crypto/key/srp6/SRPKey.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace key + { + namespace srp6 + { + class SRPPublicKey; + } + } + } + } + } + namespace java + { + namespace math + { + class BigInteger; + } + } +} + +class gnu::javax::crypto::key::srp6::SRPPublicKey : public ::gnu::javax::crypto::key::srp6::SRPKey +{ + +public: + SRPPublicKey(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *); +public: // actually package-private + SRPPublicKey(JArray< ::java::math::BigInteger * > *); +public: + static ::gnu::javax::crypto::key::srp6::SRPPublicKey * valueOf(JArray< jbyte > *); + virtual ::java::math::BigInteger * getY(); + virtual JArray< jbyte > * getEncoded(jint); + virtual jboolean equals(::java::lang::Object *); +private: + ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::srp6::SRPKey)))) Y; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_key_srp6_SRPPublicKey__ |