summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/jce/params
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/javax/crypto/jce/params')
-rw-r--r--libjava/gnu/javax/crypto/jce/params/BlockCipherParameters.h69
-rw-r--r--libjava/gnu/javax/crypto/jce/params/DEREncodingException.h39
-rw-r--r--libjava/gnu/javax/crypto/jce/params/DERReader.h64
-rw-r--r--libjava/gnu/javax/crypto/jce/params/DERWriter.h63
4 files changed, 235 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/jce/params/BlockCipherParameters.h b/libjava/gnu/javax/crypto/jce/params/BlockCipherParameters.h
new file mode 100644
index 000000000..8a506c0cb
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/params/BlockCipherParameters.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_params_BlockCipherParameters__
+#define __gnu_javax_crypto_jce_params_BlockCipherParameters__
+
+#pragma interface
+
+#include <java/security/AlgorithmParametersSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace params
+ {
+ class BlockCipherParameters;
+ }
+ namespace spec
+ {
+ class BlockCipherParameterSpec;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace security
+ {
+ namespace spec
+ {
+ class AlgorithmParameterSpec;
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::params::BlockCipherParameters : public ::java::security::AlgorithmParametersSpi
+{
+
+public:
+ BlockCipherParameters();
+public: // actually protected
+ virtual JArray< jbyte > * engineGetEncoded();
+ virtual JArray< jbyte > * engineGetEncoded(::java::lang::String *);
+ virtual void engineInit(::java::security::spec::AlgorithmParameterSpec *);
+ virtual void engineInit(JArray< jbyte > *, ::java::lang::String *);
+ virtual void engineInit(JArray< jbyte > *);
+ virtual ::java::security::spec::AlgorithmParameterSpec * engineGetParameterSpec(::java::lang::Class *);
+ virtual ::java::lang::String * engineToString();
+private:
+ static ::java::util::logging::Logger * log;
+public: // actually protected
+ ::gnu::javax::crypto::jce::spec::BlockCipherParameterSpec * __attribute__((aligned(__alignof__( ::java::security::AlgorithmParametersSpi)))) cipherSpec;
+private:
+ static ::java::lang::String * DEFAULT_FORMAT;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_params_BlockCipherParameters__
diff --git a/libjava/gnu/javax/crypto/jce/params/DEREncodingException.h b/libjava/gnu/javax/crypto/jce/params/DEREncodingException.h
new file mode 100644
index 000000000..6d47c98e4
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/params/DEREncodingException.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_params_DEREncodingException__
+#define __gnu_javax_crypto_jce_params_DEREncodingException__
+
+#pragma interface
+
+#include <java/io/IOException.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace params
+ {
+ class DEREncodingException;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::params::DEREncodingException : public ::java::io::IOException
+{
+
+public:
+ DEREncodingException();
+ DEREncodingException(::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_params_DEREncodingException__
diff --git a/libjava/gnu/javax/crypto/jce/params/DERReader.h b/libjava/gnu/javax/crypto/jce/params/DERReader.h
new file mode 100644
index 000000000..1a85bc483
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/params/DERReader.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_params_DERReader__
+#define __gnu_javax_crypto_jce_params_DERReader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace params
+ {
+ class DERReader;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::params::DERReader : public ::java::lang::Object
+{
+
+public:
+ DERReader();
+ DERReader(JArray< jbyte > *);
+ virtual void init(::java::lang::String *);
+ virtual void init(JArray< jbyte > *);
+ virtual jboolean hasMorePrimitives();
+ virtual ::java::math::BigInteger * getBigInteger();
+private:
+ JArray< jbyte > * getPrimitive();
+ jint translateLeadIdentifierByte(jbyte);
+ jint getIdentifier(jint);
+public: // actually package-private
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) source;
+ jint pos;
+ static const jint UNIVERSAL = 1;
+ static const jint APPLICATION = 2;
+ static const jint CONTEXT_SPECIFIC = 3;
+ static const jint PRIVATE = 4;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_params_DERReader__
diff --git a/libjava/gnu/javax/crypto/jce/params/DERWriter.h b/libjava/gnu/javax/crypto/jce/params/DERWriter.h
new file mode 100644
index 000000000..742d4934c
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/params/DERWriter.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_params_DERWriter__
+#define __gnu_javax_crypto_jce_params_DERWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace params
+ {
+ class DERWriter;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::params::DERWriter : public ::java::lang::Object
+{
+
+public:
+ DERWriter();
+ virtual JArray< jbyte > * writeBigInteger(::java::math::BigInteger *);
+private:
+ JArray< jbyte > * writePrimitive(jint, jint, jint, JArray< jbyte > *);
+public:
+ virtual JArray< jbyte > * joinarrays(JArray< jbyte > *, JArray< jbyte > *);
+ virtual JArray< jbyte > * joinarrays(JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
+private:
+ JArray< jbyte > * generateIdentifier(jint, jint);
+ jbyte translateLeadIdentifierByte(jint);
+ JArray< jbyte > * generateLength(jint);
+public: // actually package-private
+ static const jint UNIVERSAL = 1;
+ static const jint APPLICATION = 2;
+ static const jint CONTEXT_SPECIFIC = 3;
+ static const jint PRIVATE = 4;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_params_DERWriter__