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/keyring | |
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/keyring')
-rw-r--r-- | libjava/gnu/javax/crypto/jce/keyring/GnuKeyring.h | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/jce/keyring/GnuKeyring.h b/libjava/gnu/javax/crypto/jce/keyring/GnuKeyring.h new file mode 100644 index 000000000..4f9b6f90e --- /dev/null +++ b/libjava/gnu/javax/crypto/jce/keyring/GnuKeyring.h @@ -0,0 +1,85 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_jce_keyring_GnuKeyring__ +#define __gnu_javax_crypto_jce_keyring_GnuKeyring__ + +#pragma interface + +#include <java/security/KeyStoreSpi.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace jce + { + namespace keyring + { + class GnuKeyring; + } + } + namespace keyring + { + class IKeyring; + class IPrivateKeyring; + class IPublicKeyring; + } + } + } + } + namespace java + { + namespace security + { + class Key; + namespace cert + { + class Certificate; + } + } + } +} + +class gnu::javax::crypto::jce::keyring::GnuKeyring : public ::java::security::KeyStoreSpi +{ + +public: + GnuKeyring(); + virtual ::java::util::Enumeration * engineAliases(); + virtual jboolean engineContainsAlias(::java::lang::String *); + virtual void engineDeleteEntry(::java::lang::String *); + virtual ::java::security::cert::Certificate * engineGetCertificate(::java::lang::String *); + virtual ::java::lang::String * engineGetCertificateAlias(::java::security::cert::Certificate *); + virtual void engineSetCertificateEntry(::java::lang::String *, ::java::security::cert::Certificate *); + virtual JArray< ::java::security::cert::Certificate * > * engineGetCertificateChain(::java::lang::String *); + virtual ::java::util::Date * engineGetCreationDate(::java::lang::String *); + virtual ::java::security::Key * engineGetKey(::java::lang::String *, JArray< jchar > *); + virtual void engineSetKeyEntry(::java::lang::String *, ::java::security::Key *, JArray< jchar > *, JArray< ::java::security::cert::Certificate * > *); + virtual void engineSetKeyEntry(::java::lang::String *, JArray< jbyte > *, JArray< ::java::security::cert::Certificate * > *); + virtual jboolean engineIsCertificateEntry(::java::lang::String *); + virtual jboolean engineIsKeyEntry(::java::lang::String *); + virtual void engineLoad(::java::io::InputStream *, JArray< jchar > *); + virtual void engineStore(::java::io::OutputStream *, JArray< jchar > *); + virtual jint engineSize(); +private: + void ensureLoaded(); + void loadPrivateKeyring(::java::io::InputStream *, JArray< jchar > *); + void loadPublicKeyring(::java::io::InputStream *, JArray< jchar > *); + ::java::util::Date * getCreationDate(::java::lang::String *, ::gnu::javax::crypto::keyring::IKeyring *); + void createNewKeyrings(); + static ::java::util::logging::Logger * log; + static ::java::lang::String * NOT_LOADED; + jboolean __attribute__((aligned(__alignof__( ::java::security::KeyStoreSpi)))) loaded; + ::gnu::javax::crypto::keyring::IPrivateKeyring * privateKR; + ::gnu::javax::crypto::keyring::IPublicKeyring * publicKR; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_jce_keyring_GnuKeyring__ |