Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_GnuPKIExtension__
|
||||
#define __gnu_java_security_x509_GnuPKIExtension__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
class GnuPKIExtension;
|
||||
namespace ext
|
||||
{
|
||||
class Extension;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::GnuPKIExtension : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual ::gnu::java::security::x509::ext::Extension * getExtension(::gnu::java::security::OID *) = 0;
|
||||
virtual ::java::util::Collection * getExtensions() = 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$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_security_x509_GnuPKIExtension__
|
||||
@@ -0,0 +1,73 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_PolicyNodeImpl__
|
||||
#define __gnu_java_security_x509_PolicyNodeImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace x509
|
||||
{
|
||||
class PolicyNodeImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace cert
|
||||
{
|
||||
class PolicyNode;
|
||||
class PolicyQualifierInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::PolicyNodeImpl : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
PolicyNodeImpl();
|
||||
void addChild(::gnu::java::security::x509::PolicyNodeImpl *);
|
||||
::java::util::Iterator * getChildren();
|
||||
jint getDepth();
|
||||
void setDepth(jint);
|
||||
void addAllExpectedPolicies(::java::util::Set *);
|
||||
void addExpectedPolicy(::java::lang::String *);
|
||||
::java::util::Set * getExpectedPolicies();
|
||||
::java::security::cert::PolicyNode * getParent();
|
||||
void addAllPolicyQualifiers(::java::util::Collection *);
|
||||
void addPolicyQualifier(::java::security::cert::PolicyQualifierInfo *);
|
||||
::java::util::Set * getPolicyQualifiers();
|
||||
::java::lang::String * getValidPolicy();
|
||||
void setValidPolicy(::java::lang::String *);
|
||||
jboolean isCritical();
|
||||
void setCritical(jboolean);
|
||||
void setReadOnly();
|
||||
::java::lang::String * toString();
|
||||
private:
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) policy;
|
||||
::java::util::Set * expectedPolicies;
|
||||
::java::util::Set * qualifiers;
|
||||
::java::util::Set * children;
|
||||
::gnu::java::security::x509::PolicyNodeImpl * parent;
|
||||
jint depth;
|
||||
jboolean critical;
|
||||
jboolean readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_PolicyNodeImpl__
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_Util__
|
||||
#define __gnu_java_security_x509_Util__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace x509
|
||||
{
|
||||
class Util;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::Util : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
Util();
|
||||
static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint);
|
||||
static ::java::lang::String * toHexString(JArray< jbyte > *);
|
||||
static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint, jchar);
|
||||
static ::java::lang::String * toHexString(JArray< jbyte > *, jchar);
|
||||
static ::java::lang::String * hexDump(JArray< jbyte > *, jint, jint, ::java::lang::String *);
|
||||
static ::java::lang::String * hexDump(JArray< jbyte > *, ::java::lang::String *);
|
||||
static ::java::lang::String * formatInt(jint, jint, jint);
|
||||
static JArray< jbyte > * toByteArray(::java::lang::String *);
|
||||
static ::java::lang::String * HEX;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_Util__
|
||||
@@ -0,0 +1,90 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_X500DistinguishedName__
|
||||
#define __gnu_java_security_x509_X500DistinguishedName__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace der
|
||||
{
|
||||
class DERReader;
|
||||
}
|
||||
namespace x509
|
||||
{
|
||||
class X500DistinguishedName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::X500DistinguishedName : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
X500DistinguishedName();
|
||||
X500DistinguishedName(::java::lang::String *);
|
||||
X500DistinguishedName(JArray< jbyte > *);
|
||||
X500DistinguishedName(::java::io::InputStream *);
|
||||
virtual ::java::lang::String * getName();
|
||||
virtual void newRelativeDistinguishedName();
|
||||
virtual jint size();
|
||||
virtual jint countComponents();
|
||||
virtual jboolean containsComponent(::gnu::java::security::OID *, ::java::lang::String *);
|
||||
virtual ::java::lang::String * getComponent(::gnu::java::security::OID *);
|
||||
virtual ::java::lang::String * getComponent(::gnu::java::security::OID *, jint);
|
||||
virtual void putComponent(::gnu::java::security::OID *, ::java::lang::String *);
|
||||
virtual void putComponent(::java::lang::String *, ::java::lang::String *);
|
||||
virtual void setUnmodifiable();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual JArray< jbyte > * getDer();
|
||||
private:
|
||||
void parseString(::java::lang::String *);
|
||||
::java::lang::String * readAttributeType(::java::io::Reader *);
|
||||
::java::lang::String * readAttributeValue(::java::io::Reader *);
|
||||
void parseDer(::gnu::java::security::der::DERReader *);
|
||||
static ::java::lang::String * compressWS(::java::lang::String *);
|
||||
public:
|
||||
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 * T;
|
||||
static ::gnu::java::security::OID * DNQ;
|
||||
static ::gnu::java::security::OID * NAME;
|
||||
static ::gnu::java::security::OID * GIVENNAME;
|
||||
static ::gnu::java::security::OID * INITIALS;
|
||||
static ::gnu::java::security::OID * GENERATION;
|
||||
static ::gnu::java::security::OID * EMAIL;
|
||||
static ::gnu::java::security::OID * DC;
|
||||
static ::gnu::java::security::OID * UID;
|
||||
private:
|
||||
::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components;
|
||||
::java::util::Map * currentRdn;
|
||||
jboolean fixed;
|
||||
::java::lang::String * stringRep;
|
||||
JArray< jbyte > * encoded;
|
||||
jint sep;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_X500DistinguishedName__
|
||||
@@ -0,0 +1,124 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_X509CRL__
|
||||
#define __gnu_java_security_x509_X509CRL__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/cert/X509CRL.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
class X500DistinguishedName;
|
||||
class X509CRL;
|
||||
namespace ext
|
||||
{
|
||||
class Extension;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
class Principal;
|
||||
class PublicKey;
|
||||
class Signature;
|
||||
namespace cert
|
||||
{
|
||||
class Certificate;
|
||||
class X509CRLEntry;
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace javax
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace auth
|
||||
{
|
||||
namespace x500
|
||||
{
|
||||
class X500Principal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::X509CRL : public ::java::security::cert::X509CRL
|
||||
{
|
||||
|
||||
public:
|
||||
X509CRL(::java::io::InputStream *);
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint hashCode();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual void verify(::java::security::PublicKey *);
|
||||
virtual void verify(::java::security::PublicKey *, ::java::lang::String *);
|
||||
virtual jint getVersion();
|
||||
virtual ::java::security::Principal * getIssuerDN();
|
||||
virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal();
|
||||
virtual ::java::util::Date * getThisUpdate();
|
||||
virtual ::java::util::Date * getNextUpdate();
|
||||
virtual ::java::security::cert::X509CRLEntry * getRevokedCertificate(::java::math::BigInteger *);
|
||||
virtual ::java::util::Set * getRevokedCertificates();
|
||||
virtual JArray< jbyte > * getTBSCertList();
|
||||
virtual JArray< jbyte > * getSignature();
|
||||
virtual ::java::lang::String * getSigAlgName();
|
||||
virtual ::java::lang::String * getSigAlgOID();
|
||||
virtual JArray< jbyte > * getSigAlgParams();
|
||||
virtual jboolean hasUnsupportedCriticalExtension();
|
||||
virtual ::java::util::Set * getCriticalExtensionOIDs();
|
||||
virtual ::java::util::Set * getNonCriticalExtensionOIDs();
|
||||
virtual JArray< jbyte > * getExtensionValue(::java::lang::String *);
|
||||
virtual ::gnu::java::security::x509::ext::Extension * getExtension(::gnu::java::security::OID *);
|
||||
virtual ::java::util::Collection * getExtensions();
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual jboolean isRevoked(::java::security::cert::Certificate *);
|
||||
private:
|
||||
void doVerify(::java::security::Signature *, ::java::security::PublicKey *);
|
||||
void parse(::java::io::InputStream *);
|
||||
static ::java::util::logging::Logger * log;
|
||||
static ::gnu::java::security::OID * ID_DSA;
|
||||
static ::gnu::java::security::OID * ID_DSA_WITH_SHA1;
|
||||
static ::gnu::java::security::OID * ID_RSA;
|
||||
static ::gnu::java::security::OID * ID_RSA_WITH_MD2;
|
||||
static ::gnu::java::security::OID * ID_RSA_WITH_MD5;
|
||||
static ::gnu::java::security::OID * ID_RSA_WITH_SHA1;
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::security::cert::X509CRL)))) encoded;
|
||||
JArray< jbyte > * tbsCRLBytes;
|
||||
jint version;
|
||||
::gnu::java::security::OID * algId;
|
||||
JArray< jbyte > * algParams;
|
||||
::java::util::Date * thisUpdate;
|
||||
::java::util::Date * nextUpdate;
|
||||
::gnu::java::security::x509::X500DistinguishedName * issuerDN;
|
||||
::java::util::HashMap * revokedCerts;
|
||||
::java::util::HashMap * extensions;
|
||||
::gnu::java::security::OID * sigAlg;
|
||||
JArray< jbyte > * sigAlgParams;
|
||||
JArray< jbyte > * rawSig;
|
||||
JArray< jbyte > * signature;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_X509CRL__
|
||||
@@ -0,0 +1,75 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_X509CRLEntry__
|
||||
#define __gnu_java_security_x509_X509CRLEntry__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/cert/X509CRLEntry.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace der
|
||||
{
|
||||
class DERReader;
|
||||
}
|
||||
namespace x509
|
||||
{
|
||||
class X509CRLEntry;
|
||||
namespace ext
|
||||
{
|
||||
class Extension;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::X509CRLEntry : public ::java::security::cert::X509CRLEntry
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
X509CRLEntry(jint, ::gnu::java::security::der::DERReader *);
|
||||
public:
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint hashCode();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual ::java::math::BigInteger * getSerialNumber();
|
||||
virtual ::java::util::Date * getRevocationDate();
|
||||
virtual jboolean hasExtensions();
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual jboolean hasUnsupportedCriticalExtension();
|
||||
virtual ::java::util::Set * getCriticalExtensionOIDs();
|
||||
virtual ::java::util::Set * getNonCriticalExtensionOIDs();
|
||||
virtual JArray< jbyte > * getExtensionValue(::java::lang::String *);
|
||||
virtual ::gnu::java::security::x509::ext::Extension * getExtension(::gnu::java::security::OID *);
|
||||
virtual ::java::util::Collection * getExtensions();
|
||||
private:
|
||||
void parse(jint, ::gnu::java::security::der::DERReader *);
|
||||
static ::java::util::logging::Logger * log;
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::security::cert::X509CRLEntry)))) encoded;
|
||||
::java::math::BigInteger * serialNo;
|
||||
::java::util::Date * revocationDate;
|
||||
::java::util::HashMap * extensions;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_X509CRLEntry__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_X509CRLSelectorImpl__
|
||||
#define __gnu_java_security_x509_X509CRLSelectorImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace x509
|
||||
{
|
||||
class X509CRLSelectorImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Principal;
|
||||
namespace cert
|
||||
{
|
||||
class CRL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::X509CRLSelectorImpl : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
X509CRLSelectorImpl();
|
||||
virtual void addIssuerName(JArray< jbyte > *);
|
||||
virtual void addIssuerName(::java::lang::String *);
|
||||
virtual void addIssuerName(::java::security::Principal *);
|
||||
virtual ::java::util::Collection * getIssuerNames();
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual jboolean match(::java::security::cert::CRL *);
|
||||
private:
|
||||
::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) issuerNames;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_X509CRLSelectorImpl__
|
||||
@@ -0,0 +1,57 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_X509CertPath__
|
||||
#define __gnu_java_security_x509_X509CertPath__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/cert/CertPath.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
class X509CertPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::X509CertPath : public ::java::security::cert::CertPath
|
||||
{
|
||||
|
||||
public:
|
||||
X509CertPath(::java::util::List *);
|
||||
X509CertPath(::java::io::InputStream *);
|
||||
X509CertPath(::java::io::InputStream *, ::java::lang::String *);
|
||||
virtual ::java::util::List * getCertificates();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual JArray< jbyte > * getEncoded(::java::lang::String *);
|
||||
virtual ::java::util::Iterator * getEncodings();
|
||||
private:
|
||||
void parse(::java::io::InputStream *, ::java::lang::String *);
|
||||
JArray< jbyte > * encodePki();
|
||||
JArray< jbyte > * encodePKCS();
|
||||
public:
|
||||
static ::java::util::List * ENCODINGS;
|
||||
private:
|
||||
static ::gnu::java::security::OID * PKCS7_SIGNED_DATA;
|
||||
static ::gnu::java::security::OID * PKCS7_DATA;
|
||||
::java::util::List * __attribute__((aligned(__alignof__( ::java::security::cert::CertPath)))) path;
|
||||
JArray< jbyte > * pkcs_encoded;
|
||||
JArray< jbyte > * pki_encoded;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_X509CertPath__
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_X509CertSelectorImpl__
|
||||
#define __gnu_java_security_x509_X509CertSelectorImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace x509
|
||||
{
|
||||
class X509CertSelectorImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class Principal;
|
||||
namespace cert
|
||||
{
|
||||
class Certificate;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::X509CertSelectorImpl : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
X509CertSelectorImpl();
|
||||
virtual void addIssuerName(JArray< jbyte > *);
|
||||
virtual void addIssuerName(::java::lang::String *);
|
||||
virtual void addIssuerName(::java::security::Principal *);
|
||||
virtual ::java::util::Collection * getIssuerNames();
|
||||
virtual void addSubjectName(JArray< jbyte > *);
|
||||
virtual void addSubjectName(::java::lang::String *);
|
||||
virtual void addSubjectName(::java::security::Principal *);
|
||||
virtual ::java::util::Collection * getSubjectNames();
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual jboolean match(::java::security::cert::Certificate *);
|
||||
private:
|
||||
::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) issuerNames;
|
||||
::java::util::Set * subjectNames;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_X509CertSelectorImpl__
|
||||
@@ -0,0 +1,140 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_X509Certificate__
|
||||
#define __gnu_java_security_x509_X509Certificate__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/security/cert/X509Certificate.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace der
|
||||
{
|
||||
class BitString;
|
||||
}
|
||||
namespace x509
|
||||
{
|
||||
class X500DistinguishedName;
|
||||
class X509Certificate;
|
||||
namespace ext
|
||||
{
|
||||
class Extension;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
namespace security
|
||||
{
|
||||
class Principal;
|
||||
class PublicKey;
|
||||
class Signature;
|
||||
}
|
||||
}
|
||||
namespace javax
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace auth
|
||||
{
|
||||
namespace x500
|
||||
{
|
||||
class X500Principal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::X509Certificate : public ::java::security::cert::X509Certificate
|
||||
{
|
||||
|
||||
public:
|
||||
X509Certificate(::java::io::InputStream *);
|
||||
public: // actually protected
|
||||
X509Certificate();
|
||||
public:
|
||||
virtual void checkValidity();
|
||||
virtual void checkValidity(::java::util::Date *);
|
||||
virtual jint getVersion();
|
||||
virtual ::java::math::BigInteger * getSerialNumber();
|
||||
virtual ::java::security::Principal * getIssuerDN();
|
||||
virtual ::javax::security::auth::x500::X500Principal * getIssuerX500Principal();
|
||||
virtual ::java::security::Principal * getSubjectDN();
|
||||
virtual ::javax::security::auth::x500::X500Principal * getSubjectX500Principal();
|
||||
virtual ::java::util::Date * getNotBefore();
|
||||
virtual ::java::util::Date * getNotAfter();
|
||||
virtual JArray< jbyte > * getTBSCertificate();
|
||||
virtual JArray< jbyte > * getSignature();
|
||||
virtual ::java::lang::String * getSigAlgName();
|
||||
virtual ::java::lang::String * getSigAlgOID();
|
||||
virtual JArray< jbyte > * getSigAlgParams();
|
||||
virtual JArray< jboolean > * getIssuerUniqueID();
|
||||
virtual JArray< jboolean > * getSubjectUniqueID();
|
||||
virtual JArray< jboolean > * getKeyUsage();
|
||||
virtual ::java::util::List * getExtendedKeyUsage();
|
||||
virtual jint getBasicConstraints();
|
||||
virtual ::java::util::Collection * getSubjectAlternativeNames();
|
||||
virtual ::java::util::Collection * getIssuerAlternativeNames();
|
||||
virtual jboolean hasUnsupportedCriticalExtension();
|
||||
virtual ::java::util::Set * getCriticalExtensionOIDs();
|
||||
virtual ::java::util::Set * getNonCriticalExtensionOIDs();
|
||||
virtual JArray< jbyte > * getExtensionValue(::java::lang::String *);
|
||||
virtual ::gnu::java::security::x509::ext::Extension * getExtension(::gnu::java::security::OID *);
|
||||
virtual ::java::util::Collection * getExtensions();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual void verify(::java::security::PublicKey *);
|
||||
virtual void verify(::java::security::PublicKey *, ::java::lang::String *);
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual ::java::security::PublicKey * getPublicKey();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
private:
|
||||
void doVerify(::java::security::Signature *, ::java::security::PublicKey *);
|
||||
void parse(::java::io::InputStream *);
|
||||
static ::java::util::logging::Logger * logger;
|
||||
public: // actually protected
|
||||
static ::gnu::java::security::OID * ID_DSA;
|
||||
static ::gnu::java::security::OID * ID_DSA_WITH_SHA1;
|
||||
static ::gnu::java::security::OID * ID_RSA;
|
||||
static ::gnu::java::security::OID * ID_RSA_WITH_MD2;
|
||||
static ::gnu::java::security::OID * ID_RSA_WITH_MD5;
|
||||
static ::gnu::java::security::OID * ID_RSA_WITH_SHA1;
|
||||
static ::gnu::java::security::OID * ID_ECDSA_WITH_SHA1;
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::security::cert::X509Certificate)))) encoded;
|
||||
JArray< jbyte > * tbsCertBytes;
|
||||
jint version;
|
||||
::java::math::BigInteger * serialNo;
|
||||
::gnu::java::security::OID * algId;
|
||||
JArray< jbyte > * algVal;
|
||||
::gnu::java::security::x509::X500DistinguishedName * issuer;
|
||||
::java::util::Date * notBefore;
|
||||
::java::util::Date * notAfter;
|
||||
::gnu::java::security::x509::X500DistinguishedName * subject;
|
||||
::java::security::PublicKey * subjectKey;
|
||||
::gnu::java::security::der::BitString * issuerUniqueId;
|
||||
::gnu::java::security::der::BitString * subjectUniqueId;
|
||||
::java::util::Map * extensions;
|
||||
::gnu::java::security::OID * sigAlgId;
|
||||
JArray< jbyte > * sigAlgVal;
|
||||
JArray< jbyte > * signature;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_X509Certificate__
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_AuthorityKeyIdentifier__
|
||||
#define __gnu_java_security_x509_ext_AuthorityKeyIdentifier__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class AuthorityKeyIdentifier;
|
||||
class GeneralNames;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::AuthorityKeyIdentifier : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
AuthorityKeyIdentifier(JArray< jbyte > *);
|
||||
virtual JArray< jbyte > * getKeyIdentifier();
|
||||
virtual ::gnu::java::security::x509::ext::GeneralNames * getAuthorityCertIssuer();
|
||||
virtual ::java::math::BigInteger * getAuthorityCertSerialNumber();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyIdentifier;
|
||||
::gnu::java::security::x509::ext::GeneralNames * authorityCertIssuer;
|
||||
::java::math::BigInteger * authorityCertSerialNumber;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_AuthorityKeyIdentifier__
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_BasicConstraints__
|
||||
#define __gnu_java_security_x509_ext_BasicConstraints__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class BasicConstraints;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::BasicConstraints : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
BasicConstraints(JArray< jbyte > *);
|
||||
BasicConstraints(jboolean, jint);
|
||||
virtual jboolean isCA();
|
||||
virtual jint getPathLengthConstraint();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) ca;
|
||||
jint pathLenConstraint;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_BasicConstraints__
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_CRLNumber__
|
||||
#define __gnu_java_security_x509_ext_CRLNumber__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class CRLNumber;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::CRLNumber : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
CRLNumber(JArray< jbyte > *);
|
||||
CRLNumber(::java::math::BigInteger *);
|
||||
virtual ::java::math::BigInteger * getNumber();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) number;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_CRLNumber__
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_CertificatePolicies__
|
||||
#define __gnu_java_security_x509_ext_CertificatePolicies__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class CertificatePolicies;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::CertificatePolicies : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
CertificatePolicies(JArray< jbyte > *);
|
||||
CertificatePolicies(::java::util::List *, ::java::util::Map *);
|
||||
virtual ::java::util::List * getPolicies();
|
||||
virtual ::java::util::List * getPolicyQualifierInfos(::gnu::java::security::OID *);
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
::java::util::List * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) policies;
|
||||
::java::util::Map * policyQualifierInfos;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_CertificatePolicies__
|
||||
@@ -0,0 +1,47 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_ExtendedKeyUsage__
|
||||
#define __gnu_java_security_x509_ext_ExtendedKeyUsage__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class ExtendedKeyUsage;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::ExtendedKeyUsage : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
ExtendedKeyUsage(JArray< jbyte > *);
|
||||
virtual ::java::util::List * getPurposeIds();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
::java::util::List * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) purposeIds;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_ExtendedKeyUsage__
|
||||
@@ -0,0 +1,50 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_Extension$Value__
|
||||
#define __gnu_java_security_x509_ext_Extension$Value__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class Extension$Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::Extension$Value : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
Extension$Value(JArray< jbyte > *);
|
||||
public: // actually protected
|
||||
Extension$Value();
|
||||
public:
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
public: // actually protected
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encoded;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_Extension$Value__
|
||||
@@ -0,0 +1,64 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_Extension__
|
||||
#define __gnu_java_security_x509_ext_Extension__
|
||||
|
||||
#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 x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class Extension;
|
||||
class Extension$Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::Extension : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
Extension(JArray< jbyte > *);
|
||||
Extension(::gnu::java::security::OID *, ::gnu::java::security::x509::ext::Extension$Value *, jboolean);
|
||||
virtual ::gnu::java::security::OID * getOid();
|
||||
virtual jboolean isCritical();
|
||||
virtual jboolean isSupported();
|
||||
virtual ::gnu::java::security::x509::ext::Extension$Value * getValue();
|
||||
virtual JArray< jbyte > * getEncoded();
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual ::gnu::java::security::der::DERValue * getDerValue();
|
||||
private:
|
||||
void encode();
|
||||
static ::java::util::logging::Logger * log;
|
||||
public: // actually protected
|
||||
::gnu::java::security::OID * __attribute__((aligned(__alignof__( ::java::lang::Object)))) oid;
|
||||
jboolean critical;
|
||||
jboolean isSupported__;
|
||||
::gnu::java::security::x509::ext::Extension$Value * value;
|
||||
JArray< jbyte > * encoded;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_Extension__
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_GeneralNames__
|
||||
#define __gnu_java_security_x509_ext_GeneralNames__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class GeneralNames;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::GeneralNames : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
GeneralNames(JArray< jbyte > *);
|
||||
virtual ::java::util::List * getNames();
|
||||
virtual ::java::lang::String * toString();
|
||||
static const jint OTHER_NAME = 0;
|
||||
static const jint RFC822_NAME = 1;
|
||||
static const jint DNS_NAME = 2;
|
||||
static const jint X400_ADDRESS = 3;
|
||||
static const jint DIRECTORY_NAME = 4;
|
||||
static const jint EDI_PARTY_NAME = 5;
|
||||
static const jint URI = 6;
|
||||
static const jint IP_ADDRESS = 7;
|
||||
static const jint REGISTERED_ID = 8;
|
||||
private:
|
||||
::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) names;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_GeneralNames__
|
||||
@@ -0,0 +1,48 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_IssuerAlternativeNames__
|
||||
#define __gnu_java_security_x509_ext_IssuerAlternativeNames__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class GeneralNames;
|
||||
class IssuerAlternativeNames;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::IssuerAlternativeNames : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
IssuerAlternativeNames(JArray< jbyte > *);
|
||||
virtual ::java::util::List * getNames();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
::gnu::java::security::x509::ext::GeneralNames * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) names;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_IssuerAlternativeNames__
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_KeyUsage__
|
||||
#define __gnu_java_security_x509_ext_KeyUsage__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace der
|
||||
{
|
||||
class BitString;
|
||||
}
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class KeyUsage;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::KeyUsage : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
KeyUsage(JArray< jbyte > *);
|
||||
virtual ::gnu::java::security::der::BitString * getKeyUsage();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
static const jint DIGITAL_SIGNATURE = 0;
|
||||
static const jint NON_REPUDIATION = 1;
|
||||
static const jint KEY_ENCIPHERMENT = 2;
|
||||
static const jint DATA_ENCIPHERMENT = 3;
|
||||
static const jint KEY_AGREEMENT = 4;
|
||||
static const jint KEY_CERT_SIGN = 5;
|
||||
static const jint CRL_SIGN = 6;
|
||||
static const jint ENCIPHER_ONLY = 7;
|
||||
static const jint DECIPHER_ONLY = 8;
|
||||
private:
|
||||
::gnu::java::security::der::BitString * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyUsage;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_KeyUsage__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_PolicyConstraint__
|
||||
#define __gnu_java_security_x509_ext_PolicyConstraint__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class PolicyConstraint;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::PolicyConstraint : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
PolicyConstraint(JArray< jbyte > *);
|
||||
virtual jint getRequireExplicitPolicy();
|
||||
virtual jint getInhibitPolicyMapping();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) requireExplicitPolicy;
|
||||
jint inhibitPolicyMapping;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_PolicyConstraint__
|
||||
@@ -0,0 +1,47 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_PolicyMappings__
|
||||
#define __gnu_java_security_x509_ext_PolicyMappings__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class PolicyMappings;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::PolicyMappings : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
PolicyMappings(JArray< jbyte > *);
|
||||
virtual ::gnu::java::security::OID * getSubjectDomainPolicy(::gnu::java::security::OID *);
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
::java::util::Map * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) mappings;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_PolicyMappings__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_PrivateKeyUsagePeriod__
|
||||
#define __gnu_java_security_x509_ext_PrivateKeyUsagePeriod__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class PrivateKeyUsagePeriod;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::PrivateKeyUsagePeriod : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
PrivateKeyUsagePeriod(JArray< jbyte > *);
|
||||
virtual ::java::util::Date * getNotBefore();
|
||||
virtual ::java::util::Date * getNotAfter();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
::java::util::Date * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) notBefore;
|
||||
::java::util::Date * notAfter;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_PrivateKeyUsagePeriod__
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_ReasonCode__
|
||||
#define __gnu_java_security_x509_ext_ReasonCode__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class ReasonCode;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::ReasonCode : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
ReasonCode(JArray< jbyte > *);
|
||||
virtual jint getReasonCode();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) reason;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_ReasonCode__
|
||||
@@ -0,0 +1,48 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_SubjectAlternativeNames__
|
||||
#define __gnu_java_security_x509_ext_SubjectAlternativeNames__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class GeneralNames;
|
||||
class SubjectAlternativeNames;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::SubjectAlternativeNames : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
SubjectAlternativeNames(JArray< jbyte > *);
|
||||
virtual ::java::util::List * getNames();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
::gnu::java::security::x509::ext::GeneralNames * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) names;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_SubjectAlternativeNames__
|
||||
@@ -0,0 +1,47 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_x509_ext_SubjectKeyIdentifier__
|
||||
#define __gnu_java_security_x509_ext_SubjectKeyIdentifier__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/security/x509/ext/Extension$Value.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
class OID;
|
||||
namespace x509
|
||||
{
|
||||
namespace ext
|
||||
{
|
||||
class SubjectKeyIdentifier;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::x509::ext::SubjectKeyIdentifier : public ::gnu::java::security::x509::ext::Extension$Value
|
||||
{
|
||||
|
||||
public:
|
||||
SubjectKeyIdentifier(JArray< jbyte > *);
|
||||
virtual JArray< jbyte > * getKeyIdentifier();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::gnu::java::security::OID * ID;
|
||||
private:
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyIdentifier;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_x509_ext_SubjectKeyIdentifier__
|
||||
Reference in New Issue
Block a user