summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/assembly
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/crypto/assembly
downloadcbb-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/assembly')
-rw-r--r--libjava/gnu/javax/crypto/assembly/Assembly.h59
-rw-r--r--libjava/gnu/javax/crypto/assembly/Cascade.h60
-rw-r--r--libjava/gnu/javax/crypto/assembly/CascadeStage.h53
-rw-r--r--libjava/gnu/javax/crypto/assembly/CascadeTransformer.h48
-rw-r--r--libjava/gnu/javax/crypto/assembly/DeflateTransformer.h50
-rw-r--r--libjava/gnu/javax/crypto/assembly/Direction.h42
-rw-r--r--libjava/gnu/javax/crypto/assembly/LoopbackTransformer.h49
-rw-r--r--libjava/gnu/javax/crypto/assembly/ModeStage.h57
-rw-r--r--libjava/gnu/javax/crypto/assembly/Operation.h41
-rw-r--r--libjava/gnu/javax/crypto/assembly/PaddingTransformer.h50
-rw-r--r--libjava/gnu/javax/crypto/assembly/Stage.h62
-rw-r--r--libjava/gnu/javax/crypto/assembly/Transformer.h85
-rw-r--r--libjava/gnu/javax/crypto/assembly/TransformerException.h46
13 files changed, 702 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/assembly/Assembly.h b/libjava/gnu/javax/crypto/assembly/Assembly.h
new file mode 100644
index 000000000..81c2fece1
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/Assembly.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_Assembly__
+#define __gnu_javax_crypto_assembly_Assembly__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Assembly;
+ class Direction;
+ class Operation;
+ class Transformer;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::Assembly : public ::java::lang::Object
+{
+
+public:
+ Assembly();
+ virtual void addPreTransformer(::gnu::javax::crypto::assembly::Transformer *);
+ virtual void addPostTransformer(::gnu::javax::crypto::assembly::Transformer *);
+ virtual void init(::java::util::Map *);
+ virtual void reset();
+ virtual JArray< jbyte > * update(jbyte);
+ virtual JArray< jbyte > * update(JArray< jbyte > *);
+ virtual JArray< jbyte > * update(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * lastUpdate();
+ virtual JArray< jbyte > * lastUpdate(jbyte);
+ virtual JArray< jbyte > * lastUpdate(JArray< jbyte > *);
+ virtual JArray< jbyte > * lastUpdate(JArray< jbyte > *, jint, jint);
+private:
+ void wireTransformer(::gnu::javax::crypto::assembly::Transformer *, ::gnu::javax::crypto::assembly::Operation *);
+public:
+ static ::java::lang::String * DIRECTION;
+private:
+ ::gnu::javax::crypto::assembly::Direction * __attribute__((aligned(__alignof__( ::java::lang::Object)))) wired;
+ ::gnu::javax::crypto::assembly::Transformer * head;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_Assembly__
diff --git a/libjava/gnu/javax/crypto/assembly/Cascade.h b/libjava/gnu/javax/crypto/assembly/Cascade.h
new file mode 100644
index 000000000..88f82383c
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/Cascade.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_Cascade__
+#define __gnu_javax_crypto_assembly_Cascade__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Cascade;
+ class Direction;
+ class Stage;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::Cascade : public ::java::lang::Object
+{
+
+public:
+ Cascade();
+private:
+ static jint lcm(jint, jint);
+public:
+ virtual ::java::lang::Object * append(::gnu::javax::crypto::assembly::Stage *);
+ virtual ::java::lang::Object * prepend(::gnu::javax::crypto::assembly::Stage *);
+ virtual ::java::lang::Object * insert(jint, ::gnu::javax::crypto::assembly::Stage *);
+ virtual jint size();
+ virtual ::java::util::Iterator * stages();
+ virtual ::java::util::Set * blockSizes();
+ virtual void init(::java::util::Map *);
+ virtual jint currentBlockSize();
+ virtual void reset();
+ virtual void update(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
+ virtual jboolean selfTest();
+ static ::java::lang::String * DIRECTION;
+public: // actually protected
+ ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) stages__;
+ ::java::util::LinkedList * stageKeys;
+ ::gnu::javax::crypto::assembly::Direction * wired;
+ jint blockSize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_Cascade__
diff --git a/libjava/gnu/javax/crypto/assembly/CascadeStage.h b/libjava/gnu/javax/crypto/assembly/CascadeStage.h
new file mode 100644
index 000000000..b36ee47c9
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/CascadeStage.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_CascadeStage__
+#define __gnu_javax_crypto_assembly_CascadeStage__
+
+#pragma interface
+
+#include <gnu/javax/crypto/assembly/Stage.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Cascade;
+ class CascadeStage;
+ class Direction;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::CascadeStage : public ::gnu::javax::crypto::assembly::Stage
+{
+
+public: // actually package-private
+ CascadeStage(::gnu::javax::crypto::assembly::Cascade *, ::gnu::javax::crypto::assembly::Direction *);
+public:
+ virtual ::java::util::Set * blockSizes();
+public: // actually package-private
+ virtual void initDelegate(::java::util::Map *);
+public:
+ virtual jint currentBlockSize();
+public: // actually package-private
+ virtual void resetDelegate();
+ virtual void updateDelegate(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
+public:
+ virtual jboolean selfTest();
+private:
+ ::gnu::javax::crypto::assembly::Cascade * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::assembly::Stage)))) delegate;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_CascadeStage__
diff --git a/libjava/gnu/javax/crypto/assembly/CascadeTransformer.h b/libjava/gnu/javax/crypto/assembly/CascadeTransformer.h
new file mode 100644
index 000000000..780d2582f
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/CascadeTransformer.h
@@ -0,0 +1,48 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_CascadeTransformer__
+#define __gnu_javax_crypto_assembly_CascadeTransformer__
+
+#pragma interface
+
+#include <gnu/javax/crypto/assembly/Transformer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Cascade;
+ class CascadeTransformer;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::CascadeTransformer : public ::gnu::javax::crypto::assembly::Transformer
+{
+
+public: // actually package-private
+ CascadeTransformer(::gnu::javax::crypto::assembly::Cascade *);
+ virtual void initDelegate(::java::util::Map *);
+ virtual jint delegateBlockSize();
+ virtual void resetDelegate();
+ virtual JArray< jbyte > * updateDelegate(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * lastUpdateDelegate();
+private:
+ JArray< jbyte > * updateInternal(JArray< jbyte > *, jint, jint);
+ ::gnu::javax::crypto::assembly::Cascade * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::assembly::Transformer)))) delegate;
+ jint blockSize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_CascadeTransformer__
diff --git a/libjava/gnu/javax/crypto/assembly/DeflateTransformer.h b/libjava/gnu/javax/crypto/assembly/DeflateTransformer.h
new file mode 100644
index 000000000..7021c177e
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/DeflateTransformer.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_DeflateTransformer__
+#define __gnu_javax_crypto_assembly_DeflateTransformer__
+
+#pragma interface
+
+#include <gnu/javax/crypto/assembly/Transformer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class DeflateTransformer;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::DeflateTransformer : public ::gnu::javax::crypto::assembly::Transformer
+{
+
+public: // actually package-private
+ DeflateTransformer();
+ virtual void initDelegate(::java::util::Map *);
+ virtual jint delegateBlockSize();
+ virtual void resetDelegate();
+ virtual JArray< jbyte > * updateDelegate(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * lastUpdateDelegate();
+private:
+ void compress();
+ void decompress(JArray< jbyte > *, jint, jint);
+ ::java::util::zip::Deflater * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::assembly::Transformer)))) compressor;
+ ::java::util::zip::Inflater * decompressor;
+ jint outputBlockSize;
+ JArray< jbyte > * zlibBuffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_DeflateTransformer__
diff --git a/libjava/gnu/javax/crypto/assembly/Direction.h b/libjava/gnu/javax/crypto/assembly/Direction.h
new file mode 100644
index 000000000..207a55f0d
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/Direction.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_Direction__
+#define __gnu_javax_crypto_assembly_Direction__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Direction;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::Direction : public ::java::lang::Object
+{
+
+ Direction(jint);
+public:
+ static ::gnu::javax::crypto::assembly::Direction * reverse(::gnu::javax::crypto::assembly::Direction *);
+ ::java::lang::String * toString();
+ static ::gnu::javax::crypto::assembly::Direction * FORWARD;
+ static ::gnu::javax::crypto::assembly::Direction * REVERSED;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_Direction__
diff --git a/libjava/gnu/javax/crypto/assembly/LoopbackTransformer.h b/libjava/gnu/javax/crypto/assembly/LoopbackTransformer.h
new file mode 100644
index 000000000..bf6ccc90c
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/LoopbackTransformer.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_LoopbackTransformer__
+#define __gnu_javax_crypto_assembly_LoopbackTransformer__
+
+#pragma interface
+
+#include <gnu/javax/crypto/assembly/Transformer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class LoopbackTransformer;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::LoopbackTransformer : public ::gnu::javax::crypto::assembly::Transformer
+{
+
+public: // actually package-private
+ LoopbackTransformer();
+public:
+ void init(::java::util::Map *);
+ void reset();
+ JArray< jbyte > * update(JArray< jbyte > *, jint, jint);
+ JArray< jbyte > * lastUpdate();
+public: // actually package-private
+ void initDelegate(::java::util::Map *);
+ jint delegateBlockSize();
+ void resetDelegate();
+ JArray< jbyte > * updateDelegate(JArray< jbyte > *, jint, jint);
+ JArray< jbyte > * lastUpdateDelegate();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_LoopbackTransformer__
diff --git a/libjava/gnu/javax/crypto/assembly/ModeStage.h b/libjava/gnu/javax/crypto/assembly/ModeStage.h
new file mode 100644
index 000000000..760df956c
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/ModeStage.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_ModeStage__
+#define __gnu_javax_crypto_assembly_ModeStage__
+
+#pragma interface
+
+#include <gnu/javax/crypto/assembly/Stage.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Direction;
+ class ModeStage;
+ }
+ namespace mode
+ {
+ class IMode;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::ModeStage : public ::gnu::javax::crypto::assembly::Stage
+{
+
+public: // actually package-private
+ ModeStage(::gnu::javax::crypto::mode::IMode *, ::gnu::javax::crypto::assembly::Direction *);
+public:
+ virtual ::java::util::Set * blockSizes();
+public: // actually package-private
+ virtual void initDelegate(::java::util::Map *);
+public:
+ virtual jint currentBlockSize();
+public: // actually package-private
+ virtual void resetDelegate();
+ virtual void updateDelegate(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
+public:
+ virtual jboolean selfTest();
+private:
+ ::gnu::javax::crypto::mode::IMode * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::assembly::Stage)))) delegate;
+ ::java::util::Set * cachedBlockSizes;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_ModeStage__
diff --git a/libjava/gnu/javax/crypto/assembly/Operation.h b/libjava/gnu/javax/crypto/assembly/Operation.h
new file mode 100644
index 000000000..792a1bad5
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/Operation.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_Operation__
+#define __gnu_javax_crypto_assembly_Operation__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Operation;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::Operation : public ::java::lang::Object
+{
+
+ Operation(jint);
+public:
+ ::java::lang::String * toString();
+ static ::gnu::javax::crypto::assembly::Operation * PRE_PROCESSING;
+ static ::gnu::javax::crypto::assembly::Operation * POST_PROCESSING;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_Operation__
diff --git a/libjava/gnu/javax/crypto/assembly/PaddingTransformer.h b/libjava/gnu/javax/crypto/assembly/PaddingTransformer.h
new file mode 100644
index 000000000..6a16b608e
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/PaddingTransformer.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_PaddingTransformer__
+#define __gnu_javax_crypto_assembly_PaddingTransformer__
+
+#pragma interface
+
+#include <gnu/javax/crypto/assembly/Transformer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class PaddingTransformer;
+ }
+ namespace pad
+ {
+ class IPad;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::PaddingTransformer : public ::gnu::javax::crypto::assembly::Transformer
+{
+
+public: // actually package-private
+ PaddingTransformer(::gnu::javax::crypto::pad::IPad *);
+ virtual void initDelegate(::java::util::Map *);
+ virtual jint delegateBlockSize();
+ virtual void resetDelegate();
+ virtual JArray< jbyte > * updateDelegate(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * lastUpdateDelegate();
+private:
+ ::gnu::javax::crypto::pad::IPad * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::assembly::Transformer)))) delegate;
+ jint outputBlockSize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_PaddingTransformer__
diff --git a/libjava/gnu/javax/crypto/assembly/Stage.h b/libjava/gnu/javax/crypto/assembly/Stage.h
new file mode 100644
index 000000000..799ef5e69
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/Stage.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_Stage__
+#define __gnu_javax_crypto_assembly_Stage__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Cascade;
+ class Direction;
+ class Stage;
+ }
+ namespace mode
+ {
+ class IMode;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::Stage : public ::java::lang::Object
+{
+
+public: // actually protected
+ Stage(::gnu::javax::crypto::assembly::Direction *);
+public:
+ static ::gnu::javax::crypto::assembly::Stage * getInstance(::gnu::javax::crypto::mode::IMode *, ::gnu::javax::crypto::assembly::Direction *);
+ static ::gnu::javax::crypto::assembly::Stage * getInstance(::gnu::javax::crypto::assembly::Cascade *, ::gnu::javax::crypto::assembly::Direction *);
+ virtual ::java::util::Set * blockSizes() = 0;
+ virtual void init(::java::util::Map *);
+ virtual jint currentBlockSize() = 0;
+ virtual void reset();
+ virtual void update(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
+ virtual jboolean selfTest() = 0;
+public: // actually package-private
+ virtual void initDelegate(::java::util::Map *) = 0;
+ virtual void resetDelegate() = 0;
+ virtual void updateDelegate(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
+public:
+ static ::java::lang::String * DIRECTION;
+public: // actually protected
+ ::gnu::javax::crypto::assembly::Direction * __attribute__((aligned(__alignof__( ::java::lang::Object)))) forward;
+ ::gnu::javax::crypto::assembly::Direction * wired;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_Stage__
diff --git a/libjava/gnu/javax/crypto/assembly/Transformer.h b/libjava/gnu/javax/crypto/assembly/Transformer.h
new file mode 100644
index 000000000..1860d3d30
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/Transformer.h
@@ -0,0 +1,85 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_Transformer__
+#define __gnu_javax_crypto_assembly_Transformer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class Cascade;
+ class Direction;
+ class Operation;
+ class Transformer;
+ }
+ namespace pad
+ {
+ class IPad;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::Transformer : public ::java::lang::Object
+{
+
+public: // actually protected
+ Transformer();
+public:
+ static ::gnu::javax::crypto::assembly::Transformer * getCascadeTransformer(::gnu::javax::crypto::assembly::Cascade *);
+ static ::gnu::javax::crypto::assembly::Transformer * getPaddingTransformer(::gnu::javax::crypto::pad::IPad *);
+ static ::gnu::javax::crypto::assembly::Transformer * getDeflateTransformer();
+ virtual void setMode(::gnu::javax::crypto::assembly::Operation *);
+ virtual jboolean isPreProcessing();
+ virtual jboolean isPostProcessing();
+ virtual void init(::java::util::Map *);
+ virtual jint currentBlockSize();
+ virtual void reset();
+ virtual JArray< jbyte > * update(jbyte);
+ virtual JArray< jbyte > * update(JArray< jbyte > *);
+ virtual JArray< jbyte > * update(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * lastUpdate();
+ virtual JArray< jbyte > * lastUpdate(jbyte);
+ virtual JArray< jbyte > * lastUpdate(JArray< jbyte > *);
+ virtual JArray< jbyte > * lastUpdate(JArray< jbyte > *, jint, jint);
+private:
+ JArray< jbyte > * forwardUpdate(JArray< jbyte > *, jint, jint);
+ JArray< jbyte > * inverseUpdate(JArray< jbyte > *, jint, jint);
+ JArray< jbyte > * preTransform(JArray< jbyte > *, jint, jint);
+ JArray< jbyte > * postTransform(JArray< jbyte > *, jint, jint);
+ JArray< jbyte > * lastForwardUpdate();
+ JArray< jbyte > * lastInverseUpdate();
+ JArray< jbyte > * preLastTransform();
+ JArray< jbyte > * postLastTransform();
+public: // actually package-private
+ virtual void initDelegate(::java::util::Map *) = 0;
+ virtual jint delegateBlockSize() = 0;
+ virtual void resetDelegate() = 0;
+ virtual JArray< jbyte > * updateDelegate(JArray< jbyte > *, jint, jint) = 0;
+ virtual JArray< jbyte > * lastUpdateDelegate() = 0;
+public:
+ static ::java::lang::String * DIRECTION;
+public: // actually protected
+ ::gnu::javax::crypto::assembly::Direction * __attribute__((aligned(__alignof__( ::java::lang::Object)))) wired;
+ ::gnu::javax::crypto::assembly::Operation * mode;
+ ::gnu::javax::crypto::assembly::Transformer * tail;
+ ::java::io::ByteArrayOutputStream * inBuffer;
+ ::java::io::ByteArrayOutputStream * outBuffer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_Transformer__
diff --git a/libjava/gnu/javax/crypto/assembly/TransformerException.h b/libjava/gnu/javax/crypto/assembly/TransformerException.h
new file mode 100644
index 000000000..cb9e92a4f
--- /dev/null
+++ b/libjava/gnu/javax/crypto/assembly/TransformerException.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_assembly_TransformerException__
+#define __gnu_javax_crypto_assembly_TransformerException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace assembly
+ {
+ class TransformerException;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::assembly::TransformerException : public ::java::lang::Exception
+{
+
+public:
+ TransformerException();
+ TransformerException(::java::lang::String *);
+ TransformerException(::java::lang::Throwable *);
+ TransformerException(::java::lang::String *, ::java::lang::Throwable *);
+ virtual ::java::lang::Throwable * getCause();
+ virtual void printStackTrace();
+ virtual void printStackTrace(::java::io::PrintStream *);
+ virtual void printStackTrace(::java::io::PrintWriter *);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) _exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_assembly_TransformerException__