diff options
Diffstat (limited to 'libjava/java/security/cert')
46 files changed, 2155 insertions, 0 deletions
diff --git a/libjava/java/security/cert/CRL.h b/libjava/java/security/cert/CRL.h new file mode 100644 index 000000000..e1b5298e0 --- /dev/null +++ b/libjava/java/security/cert/CRL.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CRL__ +#define __java_security_cert_CRL__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CRL; + class Certificate; + } + } + } +} + +class java::security::cert::CRL : public ::java::lang::Object +{ + +public: // actually protected + CRL(::java::lang::String *); +public: + virtual ::java::lang::String * getType(); + virtual ::java::lang::String * toString() = 0; + virtual jboolean isRevoked(::java::security::cert::Certificate *) = 0; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CRL__ diff --git a/libjava/java/security/cert/CRLException.h b/libjava/java/security/cert/CRLException.h new file mode 100644 index 000000000..7e2401eb4 --- /dev/null +++ b/libjava/java/security/cert/CRLException.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CRLException__ +#define __java_security_cert_CRLException__ + +#pragma interface + +#include <java/security/GeneralSecurityException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CRLException; + } + } + } +} + +class java::security::cert::CRLException : public ::java::security::GeneralSecurityException +{ + +public: + CRLException(); + CRLException(::java::lang::String *); + CRLException(::java::lang::String *, ::java::lang::Throwable *); + CRLException(::java::lang::Throwable *); +private: + static const jlong serialVersionUID = -6694728944094197147LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CRLException__ diff --git a/libjava/java/security/cert/CRLSelector.h b/libjava/java/security/cert/CRLSelector.h new file mode 100644 index 000000000..fb5fe7a62 --- /dev/null +++ b/libjava/java/security/cert/CRLSelector.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CRLSelector__ +#define __java_security_cert_CRLSelector__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CRL; + class CRLSelector; + } + } + } +} + +class java::security::cert::CRLSelector : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * clone() = 0; + virtual jboolean match(::java::security::cert::CRL *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_CRLSelector__ diff --git a/libjava/java/security/cert/CertPath$CertPathRep.h b/libjava/java/security/cert/CertPath$CertPathRep.h new file mode 100644 index 000000000..a688e1b6d --- /dev/null +++ b/libjava/java/security/cert/CertPath$CertPathRep.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPath$CertPathRep__ +#define __java_security_cert_CertPath$CertPathRep__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPath$CertPathRep; + } + } + } +} + +class java::security::cert::CertPath$CertPathRep : public ::java::lang::Object +{ + +public: // actually protected + CertPath$CertPathRep(::java::lang::String *, JArray< jbyte > *); + virtual ::java::lang::Object * readResolve(); +private: + static const jlong serialVersionUID = 3015633072427920915LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; + JArray< jbyte > * data; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPath$CertPathRep__ diff --git a/libjava/java/security/cert/CertPath.h b/libjava/java/security/cert/CertPath.h new file mode 100644 index 000000000..ed7378982 --- /dev/null +++ b/libjava/java/security/cert/CertPath.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPath__ +#define __java_security_cert_CertPath__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPath; + } + } + } +} + +class java::security::cert::CertPath : public ::java::lang::Object +{ + +public: // actually protected + CertPath(::java::lang::String *); +public: + virtual ::java::lang::String * getType(); + virtual ::java::util::Iterator * getEncodings() = 0; + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual ::java::lang::String * toString(); + virtual JArray< jbyte > * getEncoded() = 0; + virtual JArray< jbyte > * getEncoded(::java::lang::String *) = 0; + virtual ::java::util::List * getCertificates() = 0; +public: // actually protected + virtual ::java::lang::Object * writeReplace(); +private: + static const jlong serialVersionUID = 6068470306649138683LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPath__ diff --git a/libjava/java/security/cert/CertPathBuilder.h b/libjava/java/security/cert/CertPathBuilder.h new file mode 100644 index 000000000..2905f7423 --- /dev/null +++ b/libjava/java/security/cert/CertPathBuilder.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathBuilder__ +#define __java_security_cert_CertPathBuilder__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Provider; + namespace cert + { + class CertPathBuilder; + class CertPathBuilderResult; + class CertPathBuilderSpi; + class CertPathParameters; + } + } + } +} + +class java::security::cert::CertPathBuilder : public ::java::lang::Object +{ + +public: // actually protected + CertPathBuilder(::java::security::cert::CertPathBuilderSpi *, ::java::security::Provider *, ::java::lang::String *); +public: + static ::java::lang::String * getDefaultType(); + static ::java::security::cert::CertPathBuilder * getInstance(::java::lang::String *); + static ::java::security::cert::CertPathBuilder * getInstance(::java::lang::String *, ::java::lang::String *); + static ::java::security::cert::CertPathBuilder * getInstance(::java::lang::String *, ::java::security::Provider *); + virtual ::java::lang::String * getAlgorithm(); + virtual ::java::security::Provider * getProvider(); + virtual ::java::security::cert::CertPathBuilderResult * build(::java::security::cert::CertPathParameters *); +private: + static ::java::lang::String * CERT_PATH_BUILDER; + ::java::security::cert::CertPathBuilderSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cpbSpi; + ::java::security::Provider * provider; + ::java::lang::String * algorithm; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPathBuilder__ diff --git a/libjava/java/security/cert/CertPathBuilderException.h b/libjava/java/security/cert/CertPathBuilderException.h new file mode 100644 index 000000000..c2cb71b8f --- /dev/null +++ b/libjava/java/security/cert/CertPathBuilderException.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathBuilderException__ +#define __java_security_cert_CertPathBuilderException__ + +#pragma interface + +#include <java/security/GeneralSecurityException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPathBuilderException; + } + } + } +} + +class java::security::cert::CertPathBuilderException : public ::java::security::GeneralSecurityException +{ + +public: + CertPathBuilderException(); + CertPathBuilderException(::java::lang::String *); + CertPathBuilderException(::java::lang::Throwable *); + CertPathBuilderException(::java::lang::String *, ::java::lang::Throwable *); + virtual ::java::lang::String * getMessage(); + virtual ::java::lang::Throwable * getCause(); + virtual ::java::lang::String * toString(); + virtual void printStackTrace(); + virtual void printStackTrace(::java::io::PrintStream *); + virtual void printStackTrace(::java::io::PrintWriter *); +private: + static const jlong serialVersionUID = 5316471420178794402LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPathBuilderException__ diff --git a/libjava/java/security/cert/CertPathBuilderResult.h b/libjava/java/security/cert/CertPathBuilderResult.h new file mode 100644 index 000000000..74849e8df --- /dev/null +++ b/libjava/java/security/cert/CertPathBuilderResult.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathBuilderResult__ +#define __java_security_cert_CertPathBuilderResult__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPath; + class CertPathBuilderResult; + } + } + } +} + +class java::security::cert::CertPathBuilderResult : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * clone() = 0; + virtual ::java::security::cert::CertPath * getCertPath() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_CertPathBuilderResult__ diff --git a/libjava/java/security/cert/CertPathBuilderSpi.h b/libjava/java/security/cert/CertPathBuilderSpi.h new file mode 100644 index 000000000..8b9524a5a --- /dev/null +++ b/libjava/java/security/cert/CertPathBuilderSpi.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathBuilderSpi__ +#define __java_security_cert_CertPathBuilderSpi__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPathBuilderResult; + class CertPathBuilderSpi; + class CertPathParameters; + } + } + } +} + +class java::security::cert::CertPathBuilderSpi : public ::java::lang::Object +{ + +public: + CertPathBuilderSpi(); + virtual ::java::security::cert::CertPathBuilderResult * engineBuild(::java::security::cert::CertPathParameters *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPathBuilderSpi__ diff --git a/libjava/java/security/cert/CertPathParameters.h b/libjava/java/security/cert/CertPathParameters.h new file mode 100644 index 000000000..a6752dfae --- /dev/null +++ b/libjava/java/security/cert/CertPathParameters.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathParameters__ +#define __java_security_cert_CertPathParameters__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPathParameters; + } + } + } +} + +class java::security::cert::CertPathParameters : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * clone() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_CertPathParameters__ diff --git a/libjava/java/security/cert/CertPathValidator$1.h b/libjava/java/security/cert/CertPathValidator$1.h new file mode 100644 index 000000000..162f3d3bc --- /dev/null +++ b/libjava/java/security/cert/CertPathValidator$1.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathValidator$1__ +#define __java_security_cert_CertPathValidator$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPathValidator$1; + } + } + } +} + +class java::security::cert::CertPathValidator$1 : public ::java::lang::Object +{ + +public: // actually package-private + CertPathValidator$1(); +public: + virtual ::java::lang::Object * run(); + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPathValidator$1__ diff --git a/libjava/java/security/cert/CertPathValidator.h b/libjava/java/security/cert/CertPathValidator.h new file mode 100644 index 000000000..4424264fc --- /dev/null +++ b/libjava/java/security/cert/CertPathValidator.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathValidator__ +#define __java_security_cert_CertPathValidator__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Provider; + namespace cert + { + class CertPath; + class CertPathParameters; + class CertPathValidator; + class CertPathValidatorResult; + class CertPathValidatorSpi; + } + } + } +} + +class java::security::cert::CertPathValidator : public ::java::lang::Object +{ + +public: // actually protected + CertPathValidator(::java::security::cert::CertPathValidatorSpi *, ::java::security::Provider *, ::java::lang::String *); +public: + static ::java::lang::String * getDefaultType(); + static ::java::security::cert::CertPathValidator * getInstance(::java::lang::String *); + static ::java::security::cert::CertPathValidator * getInstance(::java::lang::String *, ::java::lang::String *); + static ::java::security::cert::CertPathValidator * getInstance(::java::lang::String *, ::java::security::Provider *); + virtual ::java::lang::String * getAlgorithm(); + virtual ::java::security::Provider * getProvider(); + virtual ::java::security::cert::CertPathValidatorResult * validate(::java::security::cert::CertPath *, ::java::security::cert::CertPathParameters *); +private: + static ::java::lang::String * CERT_PATH_VALIDATOR; + ::java::security::cert::CertPathValidatorSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) validatorSpi; + ::java::security::Provider * provider; + ::java::lang::String * algorithm; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPathValidator__ diff --git a/libjava/java/security/cert/CertPathValidatorException.h b/libjava/java/security/cert/CertPathValidatorException.h new file mode 100644 index 000000000..14289c79a --- /dev/null +++ b/libjava/java/security/cert/CertPathValidatorException.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathValidatorException__ +#define __java_security_cert_CertPathValidatorException__ + +#pragma interface + +#include <java/security/GeneralSecurityException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPath; + class CertPathValidatorException; + } + } + } +} + +class java::security::cert::CertPathValidatorException : public ::java::security::GeneralSecurityException +{ + +public: + CertPathValidatorException(); + CertPathValidatorException(::java::lang::String *); + CertPathValidatorException(::java::lang::Throwable *); + CertPathValidatorException(::java::lang::String *, ::java::lang::Throwable *); + CertPathValidatorException(::java::lang::String *, ::java::lang::Throwable *, ::java::security::cert::CertPath *, jint); + virtual ::java::lang::String * getMessage(); + virtual ::java::security::cert::CertPath * getCertPath(); + virtual jint getIndex(); + virtual ::java::lang::Throwable * getCause(); + virtual ::java::lang::String * toString(); + virtual void printStackTrace(); + virtual void printStackTrace(::java::io::PrintStream *); + virtual void printStackTrace(::java::io::PrintWriter *); +private: + static const jlong serialVersionUID = -3083180014971893139LL; + jint __attribute__((aligned(__alignof__( ::java::security::GeneralSecurityException)))) index; + ::java::security::cert::CertPath * certPath; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPathValidatorException__ diff --git a/libjava/java/security/cert/CertPathValidatorResult.h b/libjava/java/security/cert/CertPathValidatorResult.h new file mode 100644 index 000000000..1a453205d --- /dev/null +++ b/libjava/java/security/cert/CertPathValidatorResult.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathValidatorResult__ +#define __java_security_cert_CertPathValidatorResult__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPathValidatorResult; + } + } + } +} + +class java::security::cert::CertPathValidatorResult : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * clone() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_CertPathValidatorResult__ diff --git a/libjava/java/security/cert/CertPathValidatorSpi.h b/libjava/java/security/cert/CertPathValidatorSpi.h new file mode 100644 index 000000000..cb737ef64 --- /dev/null +++ b/libjava/java/security/cert/CertPathValidatorSpi.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertPathValidatorSpi__ +#define __java_security_cert_CertPathValidatorSpi__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertPath; + class CertPathParameters; + class CertPathValidatorResult; + class CertPathValidatorSpi; + } + } + } +} + +class java::security::cert::CertPathValidatorSpi : public ::java::lang::Object +{ + +public: + CertPathValidatorSpi(); + virtual ::java::security::cert::CertPathValidatorResult * engineValidate(::java::security::cert::CertPath *, ::java::security::cert::CertPathParameters *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertPathValidatorSpi__ diff --git a/libjava/java/security/cert/CertSelector.h b/libjava/java/security/cert/CertSelector.h new file mode 100644 index 000000000..2288bcc29 --- /dev/null +++ b/libjava/java/security/cert/CertSelector.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertSelector__ +#define __java_security_cert_CertSelector__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertSelector; + class Certificate; + } + } + } +} + +class java::security::cert::CertSelector : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * clone() = 0; + virtual jboolean match(::java::security::cert::Certificate *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_CertSelector__ diff --git a/libjava/java/security/cert/CertStore$1.h b/libjava/java/security/cert/CertStore$1.h new file mode 100644 index 000000000..9268dcd79 --- /dev/null +++ b/libjava/java/security/cert/CertStore$1.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertStore$1__ +#define __java_security_cert_CertStore$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertStore$1; + } + } + } +} + +class java::security::cert::CertStore$1 : public ::java::lang::Object +{ + +public: // actually package-private + CertStore$1(); +public: + virtual ::java::lang::Object * run(); + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertStore$1__ diff --git a/libjava/java/security/cert/CertStore.h b/libjava/java/security/cert/CertStore.h new file mode 100644 index 000000000..af7e7488c --- /dev/null +++ b/libjava/java/security/cert/CertStore.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertStore__ +#define __java_security_cert_CertStore__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Provider; + namespace cert + { + class CRLSelector; + class CertSelector; + class CertStore; + class CertStoreParameters; + class CertStoreSpi; + } + } + } +} + +class java::security::cert::CertStore : public ::java::lang::Object +{ + +public: // actually protected + CertStore(::java::security::cert::CertStoreSpi *, ::java::security::Provider *, ::java::lang::String *, ::java::security::cert::CertStoreParameters *); +public: + static ::java::lang::String * getDefaultType(); + static ::java::security::cert::CertStore * getInstance(::java::lang::String *, ::java::security::cert::CertStoreParameters *); + static ::java::security::cert::CertStore * getInstance(::java::lang::String *, ::java::security::cert::CertStoreParameters *, ::java::lang::String *); + static ::java::security::cert::CertStore * getInstance(::java::lang::String *, ::java::security::cert::CertStoreParameters *, ::java::security::Provider *); + virtual ::java::lang::String * getType(); + virtual ::java::security::Provider * getProvider(); + virtual ::java::security::cert::CertStoreParameters * getCertStoreParameters(); + virtual ::java::util::Collection * getCertificates(::java::security::cert::CertSelector *); + virtual ::java::util::Collection * getCRLs(::java::security::cert::CRLSelector *); +private: + static ::java::lang::String * CERT_STORE; + ::java::security::cert::CertStoreSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) storeSpi; + ::java::security::Provider * provider; + ::java::lang::String * type; + ::java::security::cert::CertStoreParameters * params; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertStore__ diff --git a/libjava/java/security/cert/CertStoreException.h b/libjava/java/security/cert/CertStoreException.h new file mode 100644 index 000000000..72e42f9ab --- /dev/null +++ b/libjava/java/security/cert/CertStoreException.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertStoreException__ +#define __java_security_cert_CertStoreException__ + +#pragma interface + +#include <java/security/GeneralSecurityException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertStoreException; + } + } + } +} + +class java::security::cert::CertStoreException : public ::java::security::GeneralSecurityException +{ + +public: + CertStoreException(); + CertStoreException(::java::lang::String *); + CertStoreException(::java::lang::Throwable *); + CertStoreException(::java::lang::String *, ::java::lang::Throwable *); + virtual ::java::lang::String * getMessage(); + virtual ::java::lang::Throwable * getCause(); + virtual ::java::lang::String * toString(); + virtual void printStackTrace(); + virtual void printStackTrace(::java::io::PrintStream *); + virtual void printStackTrace(::java::io::PrintWriter *); +private: + static const jlong serialVersionUID = 2395296107471573245LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertStoreException__ diff --git a/libjava/java/security/cert/CertStoreParameters.h b/libjava/java/security/cert/CertStoreParameters.h new file mode 100644 index 000000000..57eda812d --- /dev/null +++ b/libjava/java/security/cert/CertStoreParameters.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertStoreParameters__ +#define __java_security_cert_CertStoreParameters__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertStoreParameters; + } + } + } +} + +class java::security::cert::CertStoreParameters : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * clone() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_CertStoreParameters__ diff --git a/libjava/java/security/cert/CertStoreSpi.h b/libjava/java/security/cert/CertStoreSpi.h new file mode 100644 index 000000000..30dc3a4db --- /dev/null +++ b/libjava/java/security/cert/CertStoreSpi.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertStoreSpi__ +#define __java_security_cert_CertStoreSpi__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CRLSelector; + class CertSelector; + class CertStoreParameters; + class CertStoreSpi; + } + } + } +} + +class java::security::cert::CertStoreSpi : public ::java::lang::Object +{ + +public: + CertStoreSpi(::java::security::cert::CertStoreParameters *); + virtual ::java::util::Collection * engineGetCertificates(::java::security::cert::CertSelector *) = 0; + virtual ::java::util::Collection * engineGetCRLs(::java::security::cert::CRLSelector *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertStoreSpi__ diff --git a/libjava/java/security/cert/Certificate$CertificateRep.h b/libjava/java/security/cert/Certificate$CertificateRep.h new file mode 100644 index 000000000..3eb75f2cb --- /dev/null +++ b/libjava/java/security/cert/Certificate$CertificateRep.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_Certificate$CertificateRep__ +#define __java_security_cert_Certificate$CertificateRep__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class Certificate$CertificateRep; + } + } + } +} + +class java::security::cert::Certificate$CertificateRep : public ::java::lang::Object +{ + +public: // actually protected + Certificate$CertificateRep(::java::lang::String *, JArray< jbyte > *); + virtual ::java::lang::Object * readResolve(); +private: + static const jlong serialVersionUID = -8563758940495660020LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; + JArray< jbyte > * data; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_Certificate$CertificateRep__ diff --git a/libjava/java/security/cert/Certificate.h b/libjava/java/security/cert/Certificate.h new file mode 100644 index 000000000..350d78a9c --- /dev/null +++ b/libjava/java/security/cert/Certificate.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_Certificate__ +#define __java_security_cert_Certificate__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + class PublicKey; + namespace cert + { + class Certificate; + } + } + } +} + +class java::security::cert::Certificate : public ::java::lang::Object +{ + +public: // actually protected + Certificate(::java::lang::String *); +public: + virtual ::java::lang::String * getType(); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual JArray< jbyte > * getEncoded() = 0; + virtual void verify(::java::security::PublicKey *) = 0; + virtual void verify(::java::security::PublicKey *, ::java::lang::String *) = 0; + virtual ::java::lang::String * toString() = 0; + virtual ::java::security::PublicKey * getPublicKey() = 0; +public: // actually protected + virtual ::java::lang::Object * writeReplace(); +private: + static const jlong serialVersionUID = -3585440601605666277LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_Certificate__ diff --git a/libjava/java/security/cert/CertificateEncodingException.h b/libjava/java/security/cert/CertificateEncodingException.h new file mode 100644 index 000000000..f97e40e16 --- /dev/null +++ b/libjava/java/security/cert/CertificateEncodingException.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertificateEncodingException__ +#define __java_security_cert_CertificateEncodingException__ + +#pragma interface + +#include <java/security/cert/CertificateException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertificateEncodingException; + } + } + } +} + +class java::security::cert::CertificateEncodingException : public ::java::security::cert::CertificateException +{ + +public: + CertificateEncodingException(); + CertificateEncodingException(::java::lang::String *); + CertificateEncodingException(::java::lang::String *, ::java::lang::Throwable *); + CertificateEncodingException(::java::lang::Throwable *); +private: + static const jlong serialVersionUID = 6219492851589449162LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertificateEncodingException__ diff --git a/libjava/java/security/cert/CertificateException.h b/libjava/java/security/cert/CertificateException.h new file mode 100644 index 000000000..11658e289 --- /dev/null +++ b/libjava/java/security/cert/CertificateException.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertificateException__ +#define __java_security_cert_CertificateException__ + +#pragma interface + +#include <java/security/GeneralSecurityException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertificateException; + } + } + } +} + +class java::security::cert::CertificateException : public ::java::security::GeneralSecurityException +{ + +public: + CertificateException(); + CertificateException(::java::lang::String *); + CertificateException(::java::lang::String *, ::java::lang::Throwable *); + CertificateException(::java::lang::Throwable *); +private: + static const jlong serialVersionUID = 3192535253797119798LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertificateException__ diff --git a/libjava/java/security/cert/CertificateExpiredException.h b/libjava/java/security/cert/CertificateExpiredException.h new file mode 100644 index 000000000..a92013dc7 --- /dev/null +++ b/libjava/java/security/cert/CertificateExpiredException.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertificateExpiredException__ +#define __java_security_cert_CertificateExpiredException__ + +#pragma interface + +#include <java/security/cert/CertificateException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertificateExpiredException; + } + } + } +} + +class java::security::cert::CertificateExpiredException : public ::java::security::cert::CertificateException +{ + +public: + CertificateExpiredException(); + CertificateExpiredException(::java::lang::String *); +private: + static const jlong serialVersionUID = 9071001339691533771LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertificateExpiredException__ diff --git a/libjava/java/security/cert/CertificateFactory.h b/libjava/java/security/cert/CertificateFactory.h new file mode 100644 index 000000000..184e3e4e9 --- /dev/null +++ b/libjava/java/security/cert/CertificateFactory.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertificateFactory__ +#define __java_security_cert_CertificateFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Provider; + namespace cert + { + class CRL; + class CertPath; + class Certificate; + class CertificateFactory; + class CertificateFactorySpi; + } + } + } +} + +class java::security::cert::CertificateFactory : public ::java::lang::Object +{ + +public: // actually protected + CertificateFactory(::java::security::cert::CertificateFactorySpi *, ::java::security::Provider *, ::java::lang::String *); +public: + static ::java::security::cert::CertificateFactory * getInstance(::java::lang::String *); + static ::java::security::cert::CertificateFactory * getInstance(::java::lang::String *, ::java::lang::String *); + static ::java::security::cert::CertificateFactory * getInstance(::java::lang::String *, ::java::security::Provider *); + virtual ::java::security::Provider * getProvider(); + virtual ::java::lang::String * getType(); + virtual ::java::security::cert::Certificate * generateCertificate(::java::io::InputStream *); + virtual ::java::util::Collection * generateCertificates(::java::io::InputStream *); + virtual ::java::security::cert::CRL * generateCRL(::java::io::InputStream *); + virtual ::java::util::Collection * generateCRLs(::java::io::InputStream *); + virtual ::java::security::cert::CertPath * generateCertPath(::java::io::InputStream *); + virtual ::java::security::cert::CertPath * generateCertPath(::java::io::InputStream *, ::java::lang::String *); + virtual ::java::security::cert::CertPath * generateCertPath(::java::util::List *); + virtual ::java::util::Iterator * getCertPathEncodings(); +private: + static ::java::lang::String * CERTIFICATE_FACTORY; + ::java::security::cert::CertificateFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) certFacSpi; + ::java::security::Provider * provider; + ::java::lang::String * type; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertificateFactory__ diff --git a/libjava/java/security/cert/CertificateFactorySpi.h b/libjava/java/security/cert/CertificateFactorySpi.h new file mode 100644 index 000000000..2370e6794 --- /dev/null +++ b/libjava/java/security/cert/CertificateFactorySpi.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertificateFactorySpi__ +#define __java_security_cert_CertificateFactorySpi__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CRL; + class CertPath; + class Certificate; + class CertificateFactorySpi; + } + } + } +} + +class java::security::cert::CertificateFactorySpi : public ::java::lang::Object +{ + +public: + CertificateFactorySpi(); + virtual ::java::security::cert::Certificate * engineGenerateCertificate(::java::io::InputStream *) = 0; + virtual ::java::util::Collection * engineGenerateCertificates(::java::io::InputStream *) = 0; + virtual ::java::security::cert::CRL * engineGenerateCRL(::java::io::InputStream *) = 0; + virtual ::java::util::Collection * engineGenerateCRLs(::java::io::InputStream *) = 0; + virtual ::java::security::cert::CertPath * engineGenerateCertPath(::java::io::InputStream *); + virtual ::java::security::cert::CertPath * engineGenerateCertPath(::java::io::InputStream *, ::java::lang::String *); + virtual ::java::security::cert::CertPath * engineGenerateCertPath(::java::util::List *); + virtual ::java::util::Iterator * engineGetCertPathEncodings(); + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertificateFactorySpi__ diff --git a/libjava/java/security/cert/CertificateNotYetValidException.h b/libjava/java/security/cert/CertificateNotYetValidException.h new file mode 100644 index 000000000..510bb39fe --- /dev/null +++ b/libjava/java/security/cert/CertificateNotYetValidException.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertificateNotYetValidException__ +#define __java_security_cert_CertificateNotYetValidException__ + +#pragma interface + +#include <java/security/cert/CertificateException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertificateNotYetValidException; + } + } + } +} + +class java::security::cert::CertificateNotYetValidException : public ::java::security::cert::CertificateException +{ + +public: + CertificateNotYetValidException(); + CertificateNotYetValidException(::java::lang::String *); +private: + static const jlong serialVersionUID = 4355919900041064702LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertificateNotYetValidException__ diff --git a/libjava/java/security/cert/CertificateParsingException.h b/libjava/java/security/cert/CertificateParsingException.h new file mode 100644 index 000000000..2827e8961 --- /dev/null +++ b/libjava/java/security/cert/CertificateParsingException.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CertificateParsingException__ +#define __java_security_cert_CertificateParsingException__ + +#pragma interface + +#include <java/security/cert/CertificateException.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CertificateParsingException; + } + } + } +} + +class java::security::cert::CertificateParsingException : public ::java::security::cert::CertificateException +{ + +public: + CertificateParsingException(); + CertificateParsingException(::java::lang::String *); + CertificateParsingException(::java::lang::String *, ::java::lang::Throwable *); + CertificateParsingException(::java::lang::Throwable *); +private: + static const jlong serialVersionUID = -7989222416793322029LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CertificateParsingException__ diff --git a/libjava/java/security/cert/CollectionCertStoreParameters.h b/libjava/java/security/cert/CollectionCertStoreParameters.h new file mode 100644 index 000000000..cabf8dfa3 --- /dev/null +++ b/libjava/java/security/cert/CollectionCertStoreParameters.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_CollectionCertStoreParameters__ +#define __java_security_cert_CollectionCertStoreParameters__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class CollectionCertStoreParameters; + } + } + } +} + +class java::security::cert::CollectionCertStoreParameters : public ::java::lang::Object +{ + +public: + CollectionCertStoreParameters(); + CollectionCertStoreParameters(::java::util::Collection *); + virtual ::java::lang::Object * clone(); + virtual ::java::util::Collection * getCollection(); + virtual ::java::lang::String * toString(); +private: + ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) collection; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_CollectionCertStoreParameters__ diff --git a/libjava/java/security/cert/LDAPCertStoreParameters.h b/libjava/java/security/cert/LDAPCertStoreParameters.h new file mode 100644 index 000000000..2cdde192f --- /dev/null +++ b/libjava/java/security/cert/LDAPCertStoreParameters.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_LDAPCertStoreParameters__ +#define __java_security_cert_LDAPCertStoreParameters__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class LDAPCertStoreParameters; + } + } + } +} + +class java::security::cert::LDAPCertStoreParameters : public ::java::lang::Object +{ + +public: + LDAPCertStoreParameters(); + LDAPCertStoreParameters(::java::lang::String *); + LDAPCertStoreParameters(::java::lang::String *, jint); + virtual ::java::lang::Object * clone(); + virtual ::java::lang::String * getServerName(); + virtual jint getPort(); + virtual ::java::lang::String * toString(); +private: + static const jint LDAP_PORT = 389; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) serverName; + jint port; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_LDAPCertStoreParameters__ diff --git a/libjava/java/security/cert/PKIXBuilderParameters.h b/libjava/java/security/cert/PKIXBuilderParameters.h new file mode 100644 index 000000000..bb9ffd707 --- /dev/null +++ b/libjava/java/security/cert/PKIXBuilderParameters.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_PKIXBuilderParameters__ +#define __java_security_cert_PKIXBuilderParameters__ + +#pragma interface + +#include <java/security/cert/PKIXParameters.h> +extern "Java" +{ + namespace java + { + namespace security + { + class KeyStore; + namespace cert + { + class CertSelector; + class PKIXBuilderParameters; + } + } + } +} + +class java::security::cert::PKIXBuilderParameters : public ::java::security::cert::PKIXParameters +{ + +public: + PKIXBuilderParameters(::java::security::KeyStore *, ::java::security::cert::CertSelector *); + PKIXBuilderParameters(::java::util::Set *, ::java::security::cert::CertSelector *); + virtual jint getMaxPathLength(); + virtual void setMaxPathLength(jint); + virtual ::java::lang::String * toString(); +private: + jint __attribute__((aligned(__alignof__( ::java::security::cert::PKIXParameters)))) maxPathLength; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_PKIXBuilderParameters__ diff --git a/libjava/java/security/cert/PKIXCertPathBuilderResult.h b/libjava/java/security/cert/PKIXCertPathBuilderResult.h new file mode 100644 index 000000000..ad6ee690b --- /dev/null +++ b/libjava/java/security/cert/PKIXCertPathBuilderResult.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_PKIXCertPathBuilderResult__ +#define __java_security_cert_PKIXCertPathBuilderResult__ + +#pragma interface + +#include <java/security/cert/PKIXCertPathValidatorResult.h> +extern "Java" +{ + namespace java + { + namespace security + { + class PublicKey; + namespace cert + { + class CertPath; + class PKIXCertPathBuilderResult; + class PolicyNode; + class TrustAnchor; + } + } + } +} + +class java::security::cert::PKIXCertPathBuilderResult : public ::java::security::cert::PKIXCertPathValidatorResult +{ + +public: + PKIXCertPathBuilderResult(::java::security::cert::CertPath *, ::java::security::cert::TrustAnchor *, ::java::security::cert::PolicyNode *, ::java::security::PublicKey *); + virtual ::java::security::cert::CertPath * getCertPath(); + virtual ::java::lang::String * toString(); +private: + ::java::security::cert::CertPath * __attribute__((aligned(__alignof__( ::java::security::cert::PKIXCertPathValidatorResult)))) certPath; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_PKIXCertPathBuilderResult__ diff --git a/libjava/java/security/cert/PKIXCertPathChecker.h b/libjava/java/security/cert/PKIXCertPathChecker.h new file mode 100644 index 000000000..375e8f33c --- /dev/null +++ b/libjava/java/security/cert/PKIXCertPathChecker.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_PKIXCertPathChecker__ +#define __java_security_cert_PKIXCertPathChecker__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class Certificate; + class PKIXCertPathChecker; + } + } + } +} + +class java::security::cert::PKIXCertPathChecker : public ::java::lang::Object +{ + +public: // actually protected + PKIXCertPathChecker(); +public: + virtual ::java::lang::Object * clone(); + virtual void init(jboolean) = 0; + virtual jboolean isForwardCheckingSupported() = 0; + virtual ::java::util::Set * getSupportedExtensions() = 0; + virtual void check(::java::security::cert::Certificate *, ::java::util::Collection *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_PKIXCertPathChecker__ diff --git a/libjava/java/security/cert/PKIXCertPathValidatorResult.h b/libjava/java/security/cert/PKIXCertPathValidatorResult.h new file mode 100644 index 000000000..879bc2bf9 --- /dev/null +++ b/libjava/java/security/cert/PKIXCertPathValidatorResult.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_PKIXCertPathValidatorResult__ +#define __java_security_cert_PKIXCertPathValidatorResult__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class PublicKey; + namespace cert + { + class PKIXCertPathValidatorResult; + class PolicyNode; + class TrustAnchor; + } + } + } +} + +class java::security::cert::PKIXCertPathValidatorResult : public ::java::lang::Object +{ + +public: + PKIXCertPathValidatorResult(::java::security::cert::TrustAnchor *, ::java::security::cert::PolicyNode *, ::java::security::PublicKey *); + virtual ::java::security::cert::TrustAnchor * getTrustAnchor(); + virtual ::java::security::cert::PolicyNode * getPolicyTree(); + virtual ::java::security::PublicKey * getPublicKey(); + virtual ::java::lang::Object * clone(); + virtual ::java::lang::String * toString(); +private: + ::java::security::cert::TrustAnchor * __attribute__((aligned(__alignof__( ::java::lang::Object)))) trustAnchor; + ::java::security::cert::PolicyNode * policyTree; + ::java::security::PublicKey * subjectPublicKey; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_PKIXCertPathValidatorResult__ diff --git a/libjava/java/security/cert/PKIXParameters.h b/libjava/java/security/cert/PKIXParameters.h new file mode 100644 index 000000000..7a953696c --- /dev/null +++ b/libjava/java/security/cert/PKIXParameters.h @@ -0,0 +1,83 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_PKIXParameters__ +#define __java_security_cert_PKIXParameters__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class KeyStore; + namespace cert + { + class CertSelector; + class CertStore; + class PKIXCertPathChecker; + class PKIXParameters; + } + } + } +} + +class java::security::cert::PKIXParameters : public ::java::lang::Object +{ + +public: + PKIXParameters(::java::security::KeyStore *); + PKIXParameters(::java::util::Set *); +private: + PKIXParameters(); + PKIXParameters(::java::security::cert::PKIXParameters *); +public: + virtual ::java::util::Set * getTrustAnchors(); + virtual void setTrustAnchors(::java::util::Set *); + virtual ::java::util::Set * getInitialPolicies(); + virtual void setInitialPolicies(::java::util::Set *); + virtual void addCertStore(::java::security::cert::CertStore *); + virtual ::java::util::List * getCertStores(); + virtual void setCertStores(::java::util::List *); + virtual jboolean isRevocationEnabled(); + virtual void setRevocationEnabled(jboolean); + virtual jboolean isExplicitPolicyRequired(); + virtual void setExplicitPolicyRequired(jboolean); + virtual jboolean isPolicyMappingInhibited(); + virtual void setPolicyMappingInhibited(jboolean); + virtual jboolean isAnyPolicyInhibited(); + virtual void setAnyPolicyInhibited(jboolean); + virtual jboolean getPolicyQualifiersRejected(); + virtual void setPolicyQualifiersRejected(jboolean); + virtual ::java::util::Date * getDate(); + virtual void setDate(::java::util::Date *); + virtual void addCertPathChecker(::java::security::cert::PKIXCertPathChecker *); + virtual ::java::util::List * getCertPathCheckers(); + virtual void setCertPathCheckers(::java::util::List *); + virtual ::java::lang::String * getSigProvider(); + virtual void setSigProvider(::java::lang::String *); + virtual ::java::security::cert::CertSelector * getTargetCertConstraints(); + virtual void setTargetCertConstraints(::java::security::cert::CertSelector *); + virtual ::java::lang::Object * clone(); + virtual ::java::lang::String * toString(); +private: + ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) trustAnchors; + ::java::util::Set * initPolicies; + ::java::util::List * certStores; + ::java::util::List * pathCheckers; + jboolean revocationEnabled; + jboolean exPolicyRequired; + jboolean policyMappingInhibited; + jboolean anyPolicyInhibited; + jboolean policyQualRejected; + ::java::util::Date * date; + ::java::lang::String * sigProvider; + ::java::security::cert::CertSelector * targetConstraints; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_PKIXParameters__ diff --git a/libjava/java/security/cert/PolicyNode.h b/libjava/java/security/cert/PolicyNode.h new file mode 100644 index 000000000..04cadaf05 --- /dev/null +++ b/libjava/java/security/cert/PolicyNode.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_PolicyNode__ +#define __java_security_cert_PolicyNode__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class PolicyNode; + } + } + } +} + +class java::security::cert::PolicyNode : public ::java::lang::Object +{ + +public: + virtual ::java::util::Iterator * getChildren() = 0; + virtual jint getDepth() = 0; + virtual ::java::util::Set * getExpectedPolicies() = 0; + virtual ::java::security::cert::PolicyNode * getParent() = 0; + virtual ::java::util::Set * getPolicyQualifiers() = 0; + virtual ::java::lang::String * getValidPolicy() = 0; + virtual jboolean isCritical() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_PolicyNode__ diff --git a/libjava/java/security/cert/PolicyQualifierInfo.h b/libjava/java/security/cert/PolicyQualifierInfo.h new file mode 100644 index 000000000..ed16d26f7 --- /dev/null +++ b/libjava/java/security/cert/PolicyQualifierInfo.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_PolicyQualifierInfo__ +#define __java_security_cert_PolicyQualifierInfo__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + class OID; + namespace der + { + class DERValue; + } + } + } + } + namespace java + { + namespace security + { + namespace cert + { + class PolicyQualifierInfo; + } + } + } +} + +class java::security::cert::PolicyQualifierInfo : public ::java::lang::Object +{ + +public: + PolicyQualifierInfo(JArray< jbyte > *); + virtual ::java::lang::String * getPolicyQualifierId(); + virtual JArray< jbyte > * getEncoded(); + virtual JArray< jbyte > * getPolicyQualifier(); + virtual ::java::lang::String * toString(); +private: + ::gnu::java::security::OID * __attribute__((aligned(__alignof__( ::java::lang::Object)))) oid; + JArray< jbyte > * encoded; + ::gnu::java::security::der::DERValue * qualifier; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_PolicyQualifierInfo__ diff --git a/libjava/java/security/cert/TrustAnchor.h b/libjava/java/security/cert/TrustAnchor.h new file mode 100644 index 000000000..3afc671bc --- /dev/null +++ b/libjava/java/security/cert/TrustAnchor.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_TrustAnchor__ +#define __java_security_cert_TrustAnchor__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + namespace x509 + { + class X500DistinguishedName; + } + } + } + } + namespace java + { + namespace security + { + class PublicKey; + namespace cert + { + class TrustAnchor; + class X509Certificate; + } + } + } +} + +class java::security::cert::TrustAnchor : public ::java::lang::Object +{ + +public: + TrustAnchor(::java::security::cert::X509Certificate *, JArray< jbyte > *); + TrustAnchor(::java::lang::String *, ::java::security::PublicKey *, JArray< jbyte > *); + virtual ::java::security::cert::X509Certificate * getTrustedCert(); + virtual ::java::lang::String * getCAName(); + virtual ::java::security::PublicKey * getCAPublicKey(); + virtual JArray< jbyte > * getNameConstraints(); + virtual ::java::lang::String * toString(); +private: + ::gnu::java::security::x509::X500DistinguishedName * __attribute__((aligned(__alignof__( ::java::lang::Object)))) caName; + ::java::security::PublicKey * caKey; + ::java::security::cert::X509Certificate * trustedCert; + JArray< jbyte > * nameConstraints; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_TrustAnchor__ diff --git a/libjava/java/security/cert/X509CRL.h b/libjava/java/security/cert/X509CRL.h new file mode 100644 index 000000000..1c9266502 --- /dev/null +++ b/libjava/java/security/cert/X509CRL.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_X509CRL__ +#define __java_security_cert_X509CRL__ + +#pragma interface + +#include <java/security/cert/CRL.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + class Principal; + class PublicKey; + namespace cert + { + class X509CRL; + class X509CRLEntry; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace x500 + { + class X500Principal; + } + } + } + } +} + +class java::security::cert::X509CRL : public ::java::security::cert::CRL +{ + +public: // actually protected + X509CRL(); +public: + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual JArray< jbyte > * getEncoded() = 0; + virtual void verify(::java::security::PublicKey *) = 0; + virtual void verify(::java::security::PublicKey *, ::java::lang::String *) = 0; + virtual jint getVersion() = 0; + virtual ::java::security::Principal * getIssuerDN() = 0; + virtual ::java::util::Date * getThisUpdate() = 0; + virtual ::java::util::Date * getNextUpdate() = 0; + virtual ::java::security::cert::X509CRLEntry * getRevokedCertificate(::java::math::BigInteger *) = 0; + virtual ::java::util::Set * getRevokedCertificates() = 0; + virtual JArray< jbyte > * getTBSCertList() = 0; + virtual JArray< jbyte > * getSignature() = 0; + virtual ::java::lang::String * getSigAlgName() = 0; + virtual ::java::lang::String * getSigAlgOID() = 0; + virtual JArray< jbyte > * getSigAlgParams() = 0; + virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal(); + virtual jboolean hasUnsupportedCriticalExtension() = 0; + virtual ::java::util::Set * getCriticalExtensionOIDs() = 0; + virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0; + virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_X509CRL__ diff --git a/libjava/java/security/cert/X509CRLEntry.h b/libjava/java/security/cert/X509CRLEntry.h new file mode 100644 index 000000000..8d9c8d5f9 --- /dev/null +++ b/libjava/java/security/cert/X509CRLEntry.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_X509CRLEntry__ +#define __java_security_cert_X509CRLEntry__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + namespace cert + { + class X509CRLEntry; + } + } + } +} + +class java::security::cert::X509CRLEntry : public ::java::lang::Object +{ + +public: + X509CRLEntry(); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual JArray< jbyte > * getEncoded() = 0; + virtual ::java::math::BigInteger * getSerialNumber() = 0; + virtual ::java::util::Date * getRevocationDate() = 0; + virtual jboolean hasExtensions() = 0; + virtual ::java::lang::String * toString() = 0; + virtual jboolean hasUnsupportedCriticalExtension() = 0; + virtual ::java::util::Set * getCriticalExtensionOIDs() = 0; + virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0; + virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_X509CRLEntry__ diff --git a/libjava/java/security/cert/X509CRLSelector.h b/libjava/java/security/cert/X509CRLSelector.h new file mode 100644 index 000000000..e888f633e --- /dev/null +++ b/libjava/java/security/cert/X509CRLSelector.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_X509CRLSelector__ +#define __java_security_cert_X509CRLSelector__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + namespace cert + { + class CRL; + class X509CRLSelector; + class X509Certificate; + } + } + } +} + +class java::security::cert::X509CRLSelector : public ::java::lang::Object +{ + +public: + X509CRLSelector(); + virtual void addIssuerName(JArray< jbyte > *); + virtual void addIssuerName(::java::lang::String *); + virtual void setIssuerNames(::java::util::Collection *); + virtual ::java::util::Collection * getIssuerNames(); + virtual ::java::math::BigInteger * getMaxCRL(); + virtual ::java::math::BigInteger * getMinCRL(); + virtual void setMaxCRLNumber(::java::math::BigInteger *); + virtual void setMinCRLNumber(::java::math::BigInteger *); + virtual ::java::util::Date * getDateAndTime(); + virtual void setDateAndTime(::java::util::Date *); + virtual ::java::security::cert::X509Certificate * getCertificateChecking(); + virtual void setCertificateChecking(::java::security::cert::X509Certificate *); + virtual ::java::lang::String * toString(); + virtual jboolean match(::java::security::cert::CRL *); + virtual ::java::lang::Object * clone(); +private: + static ::java::lang::String * CRL_NUMBER_ID; + ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) issuerNames; + ::java::math::BigInteger * maxCrlNumber; + ::java::math::BigInteger * minCrlNumber; + ::java::util::Date * date; + ::java::security::cert::X509Certificate * cert; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_X509CRLSelector__ diff --git a/libjava/java/security/cert/X509CertSelector.h b/libjava/java/security/cert/X509CertSelector.h new file mode 100644 index 000000000..f1d5b3a8f --- /dev/null +++ b/libjava/java/security/cert/X509CertSelector.h @@ -0,0 +1,151 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_X509CertSelector__ +#define __java_security_cert_X509CertSelector__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + class OID; + namespace x509 + { + namespace ext + { + class GeneralName; + } + } + } + } + } + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + class PublicKey; + namespace cert + { + class Certificate; + class X509CertSelector; + class X509Certificate; + } + namespace spec + { + class X509EncodedKeySpec; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace x500 + { + class X500Principal; + } + } + } + } +} + +class java::security::cert::X509CertSelector : public ::java::lang::Object +{ + + static jboolean checkOid(JArray< jint > *); + static ::gnu::java::security::x509::ext::GeneralName * makeName(jint, ::java::lang::String *); +public: + X509CertSelector(); + virtual void addPathToName(jint, JArray< jbyte > *); + virtual void addPathToName(jint, ::java::lang::String *); + virtual void addSubjectAlternativeName(jint, JArray< jbyte > *); + virtual void addSubjectAlternativeName(jint, ::java::lang::String *); + virtual ::java::lang::Object * clone(); + virtual JArray< jbyte > * getAuthorityKeyIdentifier(); + virtual jint getBasicConstraints(); + virtual ::java::security::cert::X509Certificate * getCertificate(); + virtual ::java::util::Date * getCertificateValid(); + virtual ::java::util::Set * getExtendedKeyUsage(); + virtual JArray< jbyte > * getIssuerAsBytes(); + virtual ::java::lang::String * getIssuerAsString(); + virtual JArray< jboolean > * getKeyUsage(); + virtual jboolean getMatchAllSubjectAltNames(); + virtual JArray< jbyte > * getNameConstraints(); + virtual ::java::util::Collection * getPathToNames(); + virtual ::java::util::Set * getPolicy(); + virtual ::java::util::Date * getPrivateKeyValid(); + virtual ::java::math::BigInteger * getSerialNumber(); + virtual ::java::util::Collection * getSubjectAlternativeNames(); + virtual JArray< jbyte > * getSubjectAsBytes(); + virtual ::java::lang::String * getSubjectAsString(); + virtual JArray< jbyte > * getSubjectKeyIdentifier(); + virtual ::java::security::PublicKey * getSubjectPublicKey(); + virtual ::java::lang::String * getSubjectPublicKeyAlgID(); + virtual jboolean match(::java::security::cert::Certificate *); + virtual void setAuthorityKeyIdentifier(JArray< jbyte > *); + virtual void setBasicConstraints(jint); + virtual void setCertificate(::java::security::cert::X509Certificate *); + virtual void setCertificateValid(::java::util::Date *); + virtual void setExtendedKeyUsage(::java::util::Set *); + virtual void setIssuer(JArray< jbyte > *); + virtual void setIssuer(::java::lang::String *); + virtual void setKeyUsage(JArray< jboolean > *); + virtual void setMatchAllSubjectAltNames(jboolean); + virtual void setNameConstraints(JArray< jbyte > *); + virtual void setPathToNames(::java::util::Collection *); + virtual void setPolicy(::java::util::Set *); + virtual void setPrivateKeyValid(::java::util::Date *); + virtual void setSerialNumber(::java::math::BigInteger *); + virtual void setSubject(JArray< jbyte > *); + virtual void setSubject(::java::lang::String *); + virtual void setSubjectAlternativeNames(::java::util::Collection *); + virtual void setSubjectKeyIdentifier(JArray< jbyte > *); + virtual void setSubjectPublicKey(JArray< jbyte > *); + virtual void setSubjectPublicKey(::java::security::PublicKey *); + virtual void setSubjectPublicKeyAlgID(::java::lang::String *); + virtual ::java::lang::String * toString(); +public: // actually package-private + static JArray< jint > * $SWITCH_TABLE$gnu$java$security$x509$ext$GeneralName$Kind(); +private: + static ::java::lang::String * AUTH_KEY_ID; + static ::java::lang::String * SUBJECT_KEY_ID; + static ::java::lang::String * NAME_CONSTRAINTS_ID; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) basicConstraints; + ::java::security::cert::X509Certificate * cert; + ::java::math::BigInteger * serialNo; + ::javax::security::auth::x500::X500Principal * issuer; + ::javax::security::auth::x500::X500Principal * subject; + JArray< jbyte > * subjectKeyId; + JArray< jbyte > * authKeyId; + JArray< jboolean > * keyUsage; + ::java::util::Date * certValid; + ::gnu::java::security::OID * sigId; + ::java::security::PublicKey * subjectKey; + ::java::security::spec::X509EncodedKeySpec * subjectKeySpec; + ::java::util::Set * keyPurposeSet; + ::java::util::List * altNames; + jboolean matchAllNames; + JArray< jbyte > * nameConstraints; + ::java::util::Set * policy; + ::java::util::List * pathToNames; + static JArray< jint > * $SWITCH_TABLE$gnu$java$security$x509$ext$GeneralName$Kind__; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_X509CertSelector__ diff --git a/libjava/java/security/cert/X509Certificate.h b/libjava/java/security/cert/X509Certificate.h new file mode 100644 index 000000000..9f8afe1f4 --- /dev/null +++ b/libjava/java/security/cert/X509Certificate.h @@ -0,0 +1,82 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_X509Certificate__ +#define __java_security_cert_X509Certificate__ + +#pragma interface + +#include <java/security/cert/Certificate.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + class Principal; + namespace cert + { + class X509Certificate; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace x500 + { + class X500Principal; + } + } + } + } +} + +class java::security::cert::X509Certificate : public ::java::security::cert::Certificate +{ + +public: // actually protected + X509Certificate(); +public: + virtual void checkValidity() = 0; + virtual void checkValidity(::java::util::Date *) = 0; + virtual jint getVersion() = 0; + virtual ::java::math::BigInteger * getSerialNumber() = 0; + virtual ::java::security::Principal * getIssuerDN() = 0; + virtual ::java::security::Principal * getSubjectDN() = 0; + virtual ::java::util::Date * getNotBefore() = 0; + virtual ::java::util::Date * getNotAfter() = 0; + virtual JArray< jbyte > * getTBSCertificate() = 0; + virtual JArray< jbyte > * getSignature() = 0; + virtual ::java::lang::String * getSigAlgName() = 0; + virtual ::java::lang::String * getSigAlgOID() = 0; + virtual JArray< jbyte > * getSigAlgParams() = 0; + virtual JArray< jboolean > * getIssuerUniqueID() = 0; + virtual JArray< jboolean > * getSubjectUniqueID() = 0; + virtual JArray< jboolean > * getKeyUsage() = 0; + virtual jint getBasicConstraints() = 0; + virtual ::java::util::List * getExtendedKeyUsage(); + virtual ::java::util::Collection * getSubjectAlternativeNames(); + virtual ::java::util::Collection * getIssuerAlternativeNames(); + virtual ::javax::security::auth::x500::X500Principal * getSubjectX500Principal(); + virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal(); + virtual jboolean hasUnsupportedCriticalExtension() = 0; + virtual ::java::util::Set * getCriticalExtensionOIDs() = 0; + virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0; + virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0; +private: + static const jlong serialVersionUID = -2491127588187038216LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_cert_X509Certificate__ diff --git a/libjava/java/security/cert/X509Extension.h b/libjava/java/security/cert/X509Extension.h new file mode 100644 index 000000000..53eb5d1b6 --- /dev/null +++ b/libjava/java/security/cert/X509Extension.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_cert_X509Extension__ +#define __java_security_cert_X509Extension__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + namespace cert + { + class X509Extension; + } + } + } +} + +class java::security::cert::X509Extension : public ::java::lang::Object +{ + +public: + virtual jboolean hasUnsupportedCriticalExtension() = 0; + virtual ::java::util::Set * getCriticalExtensionOIDs() = 0; + virtual ::java::util::Set * getNonCriticalExtensionOIDs() = 0; + virtual JArray< jbyte > * getExtensionValue(::java::lang::String *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_security_cert_X509Extension__ |