diff options
author | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-09 19:58:05 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-09 19:58:05 +0000 |
commit | 97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch) | |
tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/gnu/javax/crypto/cipher/IBlockCipher.h | |
parent | c648dedbde727ca3f883bb5fd773aa4af70d3369 (diff) | |
download | gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2 |
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/gnu/javax/crypto/cipher/IBlockCipher.h')
-rw-r--r-- | libjava/gnu/javax/crypto/cipher/IBlockCipher.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/cipher/IBlockCipher.h b/libjava/gnu/javax/crypto/cipher/IBlockCipher.h new file mode 100644 index 0000000..662389b --- /dev/null +++ b/libjava/gnu/javax/crypto/cipher/IBlockCipher.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_cipher_IBlockCipher__ +#define __gnu_javax_crypto_cipher_IBlockCipher__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace cipher + { + class IBlockCipher; + } + } + } + } +} + +class gnu::javax::crypto::cipher::IBlockCipher : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * name() = 0; + virtual jint defaultBlockSize() = 0; + virtual jint defaultKeySize() = 0; + virtual ::java::util::Iterator * blockSizes() = 0; + virtual ::java::util::Iterator * keySizes() = 0; + virtual ::java::lang::Object * clone() = 0; + virtual void init(::java::util::Map *) = 0; + virtual jint currentBlockSize() = 0; + virtual void reset() = 0; + virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0; + virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0; + virtual jboolean selfTest() = 0; + static ::java::lang::String * CIPHER_BLOCK_SIZE; + static ::java::lang::String * KEY_MATERIAL; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __gnu_javax_crypto_cipher_IBlockCipher__ |