From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; 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. --- .../gnu/javax/crypto/jce/cipher/CipherAdapter.h | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 libjava/gnu/javax/crypto/jce/cipher/CipherAdapter.h (limited to 'libjava/gnu/javax/crypto/jce/cipher/CipherAdapter.h') diff --git a/libjava/gnu/javax/crypto/jce/cipher/CipherAdapter.h b/libjava/gnu/javax/crypto/jce/cipher/CipherAdapter.h new file mode 100644 index 000000000..751abfe01 --- /dev/null +++ b/libjava/gnu/javax/crypto/jce/cipher/CipherAdapter.h @@ -0,0 +1,94 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_jce_cipher_CipherAdapter__ +#define __gnu_javax_crypto_jce_cipher_CipherAdapter__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace cipher + { + class IBlockCipher; + } + namespace jce + { + namespace cipher + { + class CipherAdapter; + } + } + namespace mode + { + class IMode; + } + namespace pad + { + class IPad; + } + } + } + } + namespace java + { + namespace security + { + class AlgorithmParameters; + class Key; + class SecureRandom; + namespace spec + { + class AlgorithmParameterSpec; + } + } + } +} + +class gnu::javax::crypto::jce::cipher::CipherAdapter : public ::javax::crypto::CipherSpi +{ + +public: // actually protected + CipherAdapter(::java::lang::String *, jint); + CipherAdapter(::java::lang::String *); + virtual void engineSetMode(::java::lang::String *); + virtual void engineSetPadding(::java::lang::String *); + virtual jint engineGetBlockSize(); + virtual jint engineGetOutputSize(jint); + virtual JArray< jbyte > * engineGetIV(); + virtual ::java::security::AlgorithmParameters * engineGetParameters(); + virtual void engineInit(jint, ::java::security::Key *, ::java::security::SecureRandom *); +private: + void engineInitHandler(jint, ::java::security::Key *, ::java::security::SecureRandom *); +public: // actually protected + virtual void engineInit(jint, ::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *); + virtual void engineInit(jint, ::java::security::Key *, ::java::security::AlgorithmParameters *, ::java::security::SecureRandom *); + virtual JArray< jbyte > * engineUpdate(JArray< jbyte > *, jint, jint); + virtual jint engineUpdate(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint); + virtual JArray< jbyte > * engineDoFinal(JArray< jbyte > *, jint, jint); + virtual jint engineDoFinal(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint); +private: + void reset(); +public: // actually protected + ::gnu::javax::crypto::cipher::IBlockCipher * __attribute__((aligned(__alignof__( ::javax::crypto::CipherSpi)))) cipher; + ::gnu::javax::crypto::mode::IMode * mode; + ::gnu::javax::crypto::pad::IPad * pad; + jint keyLen; + ::java::util::Map * attributes; + JArray< jbyte > * partBlock; + jint partLen; + jint blockLen; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_jce_cipher_CipherAdapter__ -- cgit v1.2.3