diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/crypto/jce/params | |
download | cbb-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/jce/params')
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__ |