diff options
Diffstat (limited to 'libjava/gnu/javax/crypto/pad')
-rw-r--r-- | libjava/gnu/javax/crypto/pad/BasePad.h | 55 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/IPad.h | 44 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/ISO10126.h | 55 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/PKCS1_V1_5.h | 59 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/PKCS7.h | 44 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/PadFactory.h | 41 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/SSL3.h | 40 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/TBC.h | 44 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/TLS1.h | 40 | ||||
-rw-r--r-- | libjava/gnu/javax/crypto/pad/WrongPaddingException.h | 35 |
10 files changed, 457 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/pad/BasePad.h b/libjava/gnu/javax/crypto/pad/BasePad.h new file mode 100644 index 000000000..130b4000b --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/BasePad.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_BasePad__ +#define __gnu_javax_crypto_pad_BasePad__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class BasePad; + } + } + } + } +} + +class gnu::javax::crypto::pad::BasePad : public ::java::lang::Object +{ + +public: // actually protected + BasePad(::java::lang::String *); +public: + virtual ::java::lang::String * name(); + virtual void init(jint); + virtual void init(::java::util::Map *); + virtual void reset(); + virtual jboolean selfTest(); +public: // actually protected + virtual jboolean test1BlockSize(jint, JArray< jbyte > *); +public: + virtual void setup() = 0; + virtual JArray< jbyte > * pad(JArray< jbyte > *, jint, jint) = 0; + virtual jint unpad(JArray< jbyte > *, jint, jint) = 0; +private: + static ::java::util::logging::Logger * log; +public: // actually protected + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__; + jint blockSize; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_BasePad__ diff --git a/libjava/gnu/javax/crypto/pad/IPad.h b/libjava/gnu/javax/crypto/pad/IPad.h new file mode 100644 index 000000000..67e298924 --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/IPad.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_IPad__ +#define __gnu_javax_crypto_pad_IPad__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class IPad; + } + } + } + } +} + +class gnu::javax::crypto::pad::IPad : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * name() = 0; + virtual void init(jint) = 0; + virtual void init(::java::util::Map *) = 0; + virtual JArray< jbyte > * pad(JArray< jbyte > *, jint, jint) = 0; + virtual jint unpad(JArray< jbyte > *, jint, jint) = 0; + virtual void reset() = 0; + virtual jboolean selfTest() = 0; + static ::java::lang::String * PADDING_BLOCK_SIZE; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __gnu_javax_crypto_pad_IPad__ diff --git a/libjava/gnu/javax/crypto/pad/ISO10126.h b/libjava/gnu/javax/crypto/pad/ISO10126.h new file mode 100644 index 000000000..2d7debaa4 --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/ISO10126.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_ISO10126__ +#define __gnu_javax_crypto_pad_ISO10126__ + +#pragma interface + +#include <gnu/javax/crypto/pad/BasePad.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + namespace util + { + class PRNG; + } + } + } + namespace javax + { + namespace crypto + { + namespace pad + { + class ISO10126; + } + } + } + } +} + +class gnu::javax::crypto::pad::ISO10126 : public ::gnu::javax::crypto::pad::BasePad +{ + +public: // actually package-private + ISO10126(); +public: + void setup(); + JArray< jbyte > * pad(JArray< jbyte > *, jint, jint); + jint unpad(JArray< jbyte > *, jint, jint); + jboolean selfTest(); +private: + ::gnu::java::security::util::PRNG * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::pad::BasePad)))) prng; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_ISO10126__ diff --git a/libjava/gnu/javax/crypto/pad/PKCS1_V1_5.h b/libjava/gnu/javax/crypto/pad/PKCS1_V1_5.h new file mode 100644 index 000000000..b681a0fa3 --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/PKCS1_V1_5.h @@ -0,0 +1,59 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_PKCS1_V1_5__ +#define __gnu_javax_crypto_pad_PKCS1_V1_5__ + +#pragma interface + +#include <gnu/javax/crypto/pad/BasePad.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + namespace sig + { + namespace rsa + { + class EME_PKCS1_V1_5; + } + } + } + } + namespace javax + { + namespace crypto + { + namespace pad + { + class PKCS1_V1_5; + } + } + } + } +} + +class gnu::javax::crypto::pad::PKCS1_V1_5 : public ::gnu::javax::crypto::pad::BasePad +{ + +public: // actually package-private + PKCS1_V1_5(); +public: + virtual void setup(); + virtual JArray< jbyte > * pad(JArray< jbyte > *, jint, jint); + virtual jint unpad(JArray< jbyte > *, jint, jint); + virtual jboolean selfTest(); +private: + static ::java::util::logging::Logger * log; + ::gnu::java::security::sig::rsa::EME_PKCS1_V1_5 * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::pad::BasePad)))) codec; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_PKCS1_V1_5__ diff --git a/libjava/gnu/javax/crypto/pad/PKCS7.h b/libjava/gnu/javax/crypto/pad/PKCS7.h new file mode 100644 index 000000000..609d4b35b --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/PKCS7.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_PKCS7__ +#define __gnu_javax_crypto_pad_PKCS7__ + +#pragma interface + +#include <gnu/javax/crypto/pad/BasePad.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class PKCS7; + } + } + } + } +} + +class gnu::javax::crypto::pad::PKCS7 : public ::gnu::javax::crypto::pad::BasePad +{ + +public: // actually package-private + PKCS7(); +public: + void setup(); + JArray< jbyte > * pad(JArray< jbyte > *, jint, jint); + jint unpad(JArray< jbyte > *, jint, jint); +private: + static ::java::util::logging::Logger * log; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_PKCS7__ diff --git a/libjava/gnu/javax/crypto/pad/PadFactory.h b/libjava/gnu/javax/crypto/pad/PadFactory.h new file mode 100644 index 000000000..fea2a3b09 --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/PadFactory.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_PadFactory__ +#define __gnu_javax_crypto_pad_PadFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class IPad; + class PadFactory; + } + } + } + } +} + +class gnu::javax::crypto::pad::PadFactory : public ::java::lang::Object +{ + + PadFactory(); +public: + static ::gnu::javax::crypto::pad::IPad * getInstance(::java::lang::String *); + static ::java::util::Set * getNames(); +private: + static ::java::util::Set * names; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_PadFactory__ diff --git a/libjava/gnu/javax/crypto/pad/SSL3.h b/libjava/gnu/javax/crypto/pad/SSL3.h new file mode 100644 index 000000000..1154d8ed8 --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/SSL3.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_SSL3__ +#define __gnu_javax_crypto_pad_SSL3__ + +#pragma interface + +#include <gnu/javax/crypto/pad/BasePad.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class SSL3; + } + } + } + } +} + +class gnu::javax::crypto::pad::SSL3 : public ::gnu::javax::crypto::pad::BasePad +{ + +public: + SSL3(); + virtual void setup(); + virtual JArray< jbyte > * pad(JArray< jbyte > *, jint, jint); + virtual jint unpad(JArray< jbyte > *, jint, jint); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_SSL3__ diff --git a/libjava/gnu/javax/crypto/pad/TBC.h b/libjava/gnu/javax/crypto/pad/TBC.h new file mode 100644 index 000000000..099c05a82 --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/TBC.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_TBC__ +#define __gnu_javax_crypto_pad_TBC__ + +#pragma interface + +#include <gnu/javax/crypto/pad/BasePad.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class TBC; + } + } + } + } +} + +class gnu::javax::crypto::pad::TBC : public ::gnu::javax::crypto::pad::BasePad +{ + +public: // actually package-private + TBC(); +public: + void setup(); + JArray< jbyte > * pad(JArray< jbyte > *, jint, jint); + jint unpad(JArray< jbyte > *, jint, jint); +private: + static ::java::util::logging::Logger * log; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_TBC__ diff --git a/libjava/gnu/javax/crypto/pad/TLS1.h b/libjava/gnu/javax/crypto/pad/TLS1.h new file mode 100644 index 000000000..0f361fc51 --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/TLS1.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_TLS1__ +#define __gnu_javax_crypto_pad_TLS1__ + +#pragma interface + +#include <gnu/javax/crypto/pad/BasePad.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class TLS1; + } + } + } + } +} + +class gnu::javax::crypto::pad::TLS1 : public ::gnu::javax::crypto::pad::BasePad +{ + +public: + TLS1(); + virtual void setup(); + virtual JArray< jbyte > * pad(JArray< jbyte > *, jint, jint); + virtual jint unpad(JArray< jbyte > *, jint, jint); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_TLS1__ diff --git a/libjava/gnu/javax/crypto/pad/WrongPaddingException.h b/libjava/gnu/javax/crypto/pad/WrongPaddingException.h new file mode 100644 index 000000000..16a9b331b --- /dev/null +++ b/libjava/gnu/javax/crypto/pad/WrongPaddingException.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_pad_WrongPaddingException__ +#define __gnu_javax_crypto_pad_WrongPaddingException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace pad + { + class WrongPaddingException; + } + } + } + } +} + +class gnu::javax::crypto::pad::WrongPaddingException : public ::java::lang::Exception +{ + +public: + WrongPaddingException(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_pad_WrongPaddingException__ |