diff options
Diffstat (limited to 'libjava/javax/crypto/spec')
-rw-r--r-- | libjava/javax/crypto/spec/DESKeySpec.h | 46 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/DESedeKeySpec.h | 41 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/DHGenParameterSpec.h | 38 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/DHParameterSpec.h | 48 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/DHPrivateKeySpec.h | 47 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/DHPublicKeySpec.h | 47 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/IvParameterSpec.h | 39 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/PBEKeySpec.h | 52 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/PBEParameterSpec.h | 40 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/RC2ParameterSpec.h | 45 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/RC5ParameterSpec.h | 48 | ||||
-rw-r--r-- | libjava/javax/crypto/spec/SecretKeySpec.h | 45 |
12 files changed, 536 insertions, 0 deletions
diff --git a/libjava/javax/crypto/spec/DESKeySpec.h b/libjava/javax/crypto/spec/DESKeySpec.h new file mode 100644 index 000000000..3c860452b --- /dev/null +++ b/libjava/javax/crypto/spec/DESKeySpec.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_DESKeySpec__ +#define __javax_crypto_spec_DESKeySpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class DESKeySpec; + } + } + } +} + +class javax::crypto::spec::DESKeySpec : public ::java::lang::Object +{ + +public: + DESKeySpec(JArray< jbyte > *); + DESKeySpec(JArray< jbyte > *, jint); + static jboolean isParityAdjusted(JArray< jbyte > *, jint); + static jboolean isWeak(JArray< jbyte > *, jint); +private: + static jboolean equalsOrComplementEquals(JArray< jbyte > *, jint, JArray< jbyte > *); +public: + virtual JArray< jbyte > * getKey(); + static const jint DES_KEY_LEN = 8; +private: + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key; + static JArray< JArray< jbyte > * > * WEAK_KEYS; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_DESKeySpec__ diff --git a/libjava/javax/crypto/spec/DESedeKeySpec.h b/libjava/javax/crypto/spec/DESedeKeySpec.h new file mode 100644 index 000000000..28e23bb13 --- /dev/null +++ b/libjava/javax/crypto/spec/DESedeKeySpec.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_DESedeKeySpec__ +#define __javax_crypto_spec_DESedeKeySpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class DESedeKeySpec; + } + } + } +} + +class javax::crypto::spec::DESedeKeySpec : public ::java::lang::Object +{ + +public: + DESedeKeySpec(JArray< jbyte > *); + DESedeKeySpec(JArray< jbyte > *, jint); + static jboolean isParityAdjusted(JArray< jbyte > *, jint); + virtual JArray< jbyte > * getKey(); + static const jint DES_EDE_KEY_LEN = 24; +private: + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_DESedeKeySpec__ diff --git a/libjava/javax/crypto/spec/DHGenParameterSpec.h b/libjava/javax/crypto/spec/DHGenParameterSpec.h new file mode 100644 index 000000000..79331116f --- /dev/null +++ b/libjava/javax/crypto/spec/DHGenParameterSpec.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_DHGenParameterSpec__ +#define __javax_crypto_spec_DHGenParameterSpec__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class DHGenParameterSpec; + } + } + } +} + +class javax::crypto::spec::DHGenParameterSpec : public ::java::lang::Object +{ + +public: + DHGenParameterSpec(jint, jint); + virtual jint getExponentSize(); + virtual jint getPrimeSize(); +private: + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) primeSize; + jint exponentSize; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_DHGenParameterSpec__ diff --git a/libjava/javax/crypto/spec/DHParameterSpec.h b/libjava/javax/crypto/spec/DHParameterSpec.h new file mode 100644 index 000000000..7f7dd3fcd --- /dev/null +++ b/libjava/javax/crypto/spec/DHParameterSpec.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_DHParameterSpec__ +#define __javax_crypto_spec_DHParameterSpec__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + } + namespace javax + { + namespace crypto + { + namespace spec + { + class DHParameterSpec; + } + } + } +} + +class javax::crypto::spec::DHParameterSpec : public ::java::lang::Object +{ + +public: + DHParameterSpec(::java::math::BigInteger *, ::java::math::BigInteger *); + DHParameterSpec(::java::math::BigInteger *, ::java::math::BigInteger *, jint); + virtual ::java::math::BigInteger * getG(); + virtual jint getL(); + virtual ::java::math::BigInteger * getP(); +private: + ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) g; + ::java::math::BigInteger * p; + jint l; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_DHParameterSpec__ diff --git a/libjava/javax/crypto/spec/DHPrivateKeySpec.h b/libjava/javax/crypto/spec/DHPrivateKeySpec.h new file mode 100644 index 000000000..c21a9e2e1 --- /dev/null +++ b/libjava/javax/crypto/spec/DHPrivateKeySpec.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_DHPrivateKeySpec__ +#define __javax_crypto_spec_DHPrivateKeySpec__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + } + namespace javax + { + namespace crypto + { + namespace spec + { + class DHPrivateKeySpec; + } + } + } +} + +class javax::crypto::spec::DHPrivateKeySpec : public ::java::lang::Object +{ + +public: + DHPrivateKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *); + virtual ::java::math::BigInteger * getG(); + virtual ::java::math::BigInteger * getP(); + virtual ::java::math::BigInteger * getX(); +private: + ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) g; + ::java::math::BigInteger * p; + ::java::math::BigInteger * x; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_DHPrivateKeySpec__ diff --git a/libjava/javax/crypto/spec/DHPublicKeySpec.h b/libjava/javax/crypto/spec/DHPublicKeySpec.h new file mode 100644 index 000000000..ae1a2bf55 --- /dev/null +++ b/libjava/javax/crypto/spec/DHPublicKeySpec.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_DHPublicKeySpec__ +#define __javax_crypto_spec_DHPublicKeySpec__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + } + namespace javax + { + namespace crypto + { + namespace spec + { + class DHPublicKeySpec; + } + } + } +} + +class javax::crypto::spec::DHPublicKeySpec : public ::java::lang::Object +{ + +public: + DHPublicKeySpec(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *); + virtual ::java::math::BigInteger * getG(); + virtual ::java::math::BigInteger * getP(); + virtual ::java::math::BigInteger * getY(); +private: + ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) g; + ::java::math::BigInteger * p; + ::java::math::BigInteger * y; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_DHPublicKeySpec__ diff --git a/libjava/javax/crypto/spec/IvParameterSpec.h b/libjava/javax/crypto/spec/IvParameterSpec.h new file mode 100644 index 000000000..e5799e47f --- /dev/null +++ b/libjava/javax/crypto/spec/IvParameterSpec.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_IvParameterSpec__ +#define __javax_crypto_spec_IvParameterSpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class IvParameterSpec; + } + } + } +} + +class javax::crypto::spec::IvParameterSpec : public ::java::lang::Object +{ + +public: + IvParameterSpec(JArray< jbyte > *); + IvParameterSpec(JArray< jbyte > *, jint, jint); + virtual JArray< jbyte > * getIV(); +private: + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) iv; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_IvParameterSpec__ diff --git a/libjava/javax/crypto/spec/PBEKeySpec.h b/libjava/javax/crypto/spec/PBEKeySpec.h new file mode 100644 index 000000000..f98706938 --- /dev/null +++ b/libjava/javax/crypto/spec/PBEKeySpec.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_PBEKeySpec__ +#define __javax_crypto_spec_PBEKeySpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class PBEKeySpec; + } + } + } +} + +class javax::crypto::spec::PBEKeySpec : public ::java::lang::Object +{ + +public: + PBEKeySpec(JArray< jchar > *); + PBEKeySpec(JArray< jchar > *, JArray< jbyte > *, jint); + PBEKeySpec(JArray< jchar > *, JArray< jbyte > *, jint, jint); + virtual void clearPassword(); + virtual jint getIterationCount(); + virtual jint getKeyLength(); + virtual JArray< jchar > * getPassword(); + virtual JArray< jbyte > * getSalt(); +private: + void setPassword(JArray< jchar > *); + void setSalt(JArray< jbyte > *); + void setIterationCount(jint); + void setKeyLength(jint); + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) iterationCount; + jint keyLength; + JArray< jchar > * password; + JArray< jbyte > * salt; + jboolean passwordValid; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_PBEKeySpec__ diff --git a/libjava/javax/crypto/spec/PBEParameterSpec.h b/libjava/javax/crypto/spec/PBEParameterSpec.h new file mode 100644 index 000000000..eb81ca7dc --- /dev/null +++ b/libjava/javax/crypto/spec/PBEParameterSpec.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_PBEParameterSpec__ +#define __javax_crypto_spec_PBEParameterSpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class PBEParameterSpec; + } + } + } +} + +class javax::crypto::spec::PBEParameterSpec : public ::java::lang::Object +{ + +public: + PBEParameterSpec(JArray< jbyte > *, jint); + virtual jint getIterationCount(); + virtual JArray< jbyte > * getSalt(); +private: + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) iterationCount; + JArray< jbyte > * salt; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_PBEParameterSpec__ diff --git a/libjava/javax/crypto/spec/RC2ParameterSpec.h b/libjava/javax/crypto/spec/RC2ParameterSpec.h new file mode 100644 index 000000000..419dc752b --- /dev/null +++ b/libjava/javax/crypto/spec/RC2ParameterSpec.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_RC2ParameterSpec__ +#define __javax_crypto_spec_RC2ParameterSpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class RC2ParameterSpec; + } + } + } +} + +class javax::crypto::spec::RC2ParameterSpec : public ::java::lang::Object +{ + +public: + RC2ParameterSpec(jint); + RC2ParameterSpec(jint, JArray< jbyte > *); + RC2ParameterSpec(jint, JArray< jbyte > *, jint); + virtual jint getEffectiveKeyBits(); + virtual JArray< jbyte > * getIV(); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); +private: + static const jint RC2_IV_LENGTH = 8; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) effectiveKeyBits; + JArray< jbyte > * iv; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_RC2ParameterSpec__ diff --git a/libjava/javax/crypto/spec/RC5ParameterSpec.h b/libjava/javax/crypto/spec/RC5ParameterSpec.h new file mode 100644 index 000000000..8ba9232cd --- /dev/null +++ b/libjava/javax/crypto/spec/RC5ParameterSpec.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_RC5ParameterSpec__ +#define __javax_crypto_spec_RC5ParameterSpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class RC5ParameterSpec; + } + } + } +} + +class javax::crypto::spec::RC5ParameterSpec : public ::java::lang::Object +{ + +public: + RC5ParameterSpec(jint, jint, jint); + RC5ParameterSpec(jint, jint, jint, JArray< jbyte > *); + RC5ParameterSpec(jint, jint, jint, JArray< jbyte > *, jint); + virtual JArray< jbyte > * getIV(); + virtual jint getRounds(); + virtual jint getVersion(); + virtual jint getWordSize(); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); +private: + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) iv; + jint rounds; + jint version; + jint wordSize; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_RC5ParameterSpec__ diff --git a/libjava/javax/crypto/spec/SecretKeySpec.h b/libjava/javax/crypto/spec/SecretKeySpec.h new file mode 100644 index 000000000..b6a2e04ce --- /dev/null +++ b/libjava/javax/crypto/spec/SecretKeySpec.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_crypto_spec_SecretKeySpec__ +#define __javax_crypto_spec_SecretKeySpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace crypto + { + namespace spec + { + class SecretKeySpec; + } + } + } +} + +class javax::crypto::spec::SecretKeySpec : public ::java::lang::Object +{ + +public: + SecretKeySpec(JArray< jbyte > *, ::java::lang::String *); + SecretKeySpec(JArray< jbyte > *, jint, jint, ::java::lang::String *); + virtual ::java::lang::String * getAlgorithm(); + virtual JArray< jbyte > * getEncoded(); + virtual ::java::lang::String * getFormat(); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); +private: + static const jlong serialVersionUID = 6577238317307289933LL; + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key; + ::java::lang::String * algorithm; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_crypto_spec_SecretKeySpec__ |