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/keyring/GnuPrivateKeyring.h | |
download | cbb-gcc-4.6.4-upstream.tar.bz2 cbb-gcc-4.6.4-upstream.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/keyring/GnuPrivateKeyring.h')
-rw-r--r-- | libjava/gnu/javax/crypto/keyring/GnuPrivateKeyring.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/keyring/GnuPrivateKeyring.h b/libjava/gnu/javax/crypto/keyring/GnuPrivateKeyring.h new file mode 100644 index 000000000..bb3317d5e --- /dev/null +++ b/libjava/gnu/javax/crypto/keyring/GnuPrivateKeyring.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_keyring_GnuPrivateKeyring__ +#define __gnu_javax_crypto_keyring_GnuPrivateKeyring__ + +#pragma interface + +#include <gnu/javax/crypto/keyring/BaseKeyring.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace keyring + { + class GnuPrivateKeyring; + } + } + } + } + namespace java + { + namespace security + { + class Key; + class PublicKey; + namespace cert + { + class Certificate; + } + } + } +} + +class gnu::javax::crypto::keyring::GnuPrivateKeyring : public ::gnu::javax::crypto::keyring::BaseKeyring +{ + +public: + GnuPrivateKeyring(::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *, jint); + GnuPrivateKeyring(); + virtual jboolean containsPrivateKey(::java::lang::String *); + virtual ::java::security::Key * getPrivateKey(::java::lang::String *, JArray< jchar > *); + virtual void putPrivateKey(::java::lang::String *, ::java::security::Key *, JArray< jchar > *); + virtual jboolean containsPublicKey(::java::lang::String *); + virtual ::java::security::PublicKey * getPublicKey(::java::lang::String *); + virtual void putPublicKey(::java::lang::String *, ::java::security::PublicKey *); + virtual jboolean containsCertPath(::java::lang::String *); + virtual JArray< ::java::security::cert::Certificate * > * getCertPath(::java::lang::String *); + virtual void putCertPath(::java::lang::String *, JArray< ::java::security::cert::Certificate * > *); +public: // actually protected + virtual void load(::java::io::InputStream *, JArray< jchar > *); + virtual void store(::java::io::OutputStream *, JArray< jchar > *); +private: + static ::java::util::logging::Logger * log; +public: + static const jint USAGE = 3; +public: // actually protected + ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::keyring::BaseKeyring)))) mac; + jint maclen; + ::java::lang::String * cipher; + ::java::lang::String * mode; + jint keylen; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_keyring_GnuPrivateKeyring__ |