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/javax/security/auth/x500 | |
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/javax/security/auth/x500')
-rw-r--r-- | libjava/javax/security/auth/x500/X500Principal.h | 92 | ||||
-rw-r--r-- | libjava/javax/security/auth/x500/X500PrivateCredential.h | 57 |
2 files changed, 149 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/x500/X500Principal.h b/libjava/javax/security/auth/x500/X500Principal.h new file mode 100644 index 000000000..75cdb05e7 --- /dev/null +++ b/libjava/javax/security/auth/x500/X500Principal.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_x500_X500Principal__ +#define __javax_security_auth_x500_X500Principal__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + class OID; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace x500 + { + class X500Principal; + } + } + } + } +} + +class javax::security::auth::x500::X500Principal : public ::java::lang::Object +{ + + X500Principal(); +public: + X500Principal(::java::lang::String *); + X500Principal(JArray< jbyte > *); + X500Principal(::java::io::InputStream *); + jint hashCode(); + jboolean equals(::java::lang::Object *); + JArray< jbyte > * getEncoded(); + ::java::lang::String * getName(); + ::java::lang::String * getName(::java::lang::String *); + ::java::lang::String * toString(); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); + jint size(); + ::java::lang::String * getComponent(::gnu::java::security::OID *, jint); + void encodeDer(); + void parseString(::java::lang::String *); + ::java::lang::String * readAttributeType(::java::io::Reader *); + ::java::lang::String * readAttributeValue(::java::io::Reader *); + void parseDer(::java::io::InputStream *); + void newRelativeDistinguishedName(); + void putComponent(::gnu::java::security::OID *, ::java::lang::String *); + void putComponent(::java::lang::String *, ::java::lang::String *); + static ::java::lang::String * compressWS(::java::lang::String *); + static JArray< jbyte > * toByteArray(::java::lang::String *); + static const jlong serialVersionUID = -500463348111345721LL; +public: + static ::java::lang::String * CANONICAL; + static ::java::lang::String * RFC1779; + static ::java::lang::String * RFC2253; +private: + static ::gnu::java::security::OID * CN; + static ::gnu::java::security::OID * C; + static ::gnu::java::security::OID * L; + static ::gnu::java::security::OID * ST; + static ::gnu::java::security::OID * STREET; + static ::gnu::java::security::OID * O; + static ::gnu::java::security::OID * OU; + static ::gnu::java::security::OID * DC; + static ::gnu::java::security::OID * UID; + ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components; + ::java::util::Map * currentRdn; + jboolean fixed; + JArray< jbyte > * encoded; + jint sep; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_x500_X500Principal__ diff --git a/libjava/javax/security/auth/x500/X500PrivateCredential.h b/libjava/javax/security/auth/x500/X500PrivateCredential.h new file mode 100644 index 000000000..27ee30e4a --- /dev/null +++ b/libjava/javax/security/auth/x500/X500PrivateCredential.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_x500_X500PrivateCredential__ +#define __javax_security_auth_x500_X500PrivateCredential__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class PrivateKey; + namespace cert + { + class X509Certificate; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace x500 + { + class X500PrivateCredential; + } + } + } + } +} + +class javax::security::auth::x500::X500PrivateCredential : public ::java::lang::Object +{ + +public: + X500PrivateCredential(::java::security::cert::X509Certificate *, ::java::security::PrivateKey *); + X500PrivateCredential(::java::security::cert::X509Certificate *, ::java::security::PrivateKey *, ::java::lang::String *); + ::java::security::cert::X509Certificate * getCertificate(); + ::java::security::PrivateKey * getPrivateKey(); + ::java::lang::String * getAlias(); + void destroy(); + jboolean isDestroyed(); +private: + ::java::security::PrivateKey * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key; + ::java::security::cert::X509Certificate * certificate; + ::java::lang::String * alias; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_x500_X500PrivateCredential__ |