aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/security/cert
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/security/cert')
-rw-r--r--libjava/java/security/cert/X509CertSelector.h83
1 files changed, 51 insertions, 32 deletions
diff --git a/libjava/java/security/cert/X509CertSelector.h b/libjava/java/security/cert/X509CertSelector.h
index 69dd81e..f1d5b3a 100644
--- a/libjava/java/security/cert/X509CertSelector.h
+++ b/libjava/java/security/cert/X509CertSelector.h
@@ -18,6 +18,13 @@ extern "Java"
namespace security
{
class OID;
+ namespace x509
+ {
+ namespace ext
+ {
+ class GeneralName;
+ }
+ }
}
}
}
@@ -60,51 +67,61 @@ extern "Java"
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 void setCertificate(::java::security::cert::X509Certificate *);
- virtual ::java::math::BigInteger * getSerialNumber();
- virtual void setSerialNumber(::java::math::BigInteger *);
- virtual ::java::lang::String * getIssuerAsString();
+ virtual ::java::util::Date * getCertificateValid();
+ virtual ::java::util::Set * getExtendedKeyUsage();
virtual JArray< jbyte > * getIssuerAsBytes();
- virtual void setIssuer(::java::lang::String *);
- virtual void setIssuer(JArray< jbyte > *);
- virtual ::java::lang::String * getSubjectAsString();
+ 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 void setSubject(::java::lang::String *);
- virtual void setSubject(JArray< jbyte > *);
+ virtual ::java::lang::String * getSubjectAsString();
virtual JArray< jbyte > * getSubjectKeyIdentifier();
- virtual void setSubjectKeyIdentifier(JArray< jbyte > *);
- virtual JArray< jbyte > * getAuthorityKeyIdentifier();
+ virtual ::java::security::PublicKey * getSubjectPublicKey();
+ virtual ::java::lang::String * getSubjectPublicKeyAlgID();
+ virtual jboolean match(::java::security::cert::Certificate *);
virtual void setAuthorityKeyIdentifier(JArray< jbyte > *);
- virtual ::java::util::Date * getCertificateValid();
+ virtual void setBasicConstraints(jint);
+ virtual void setCertificate(::java::security::cert::X509Certificate *);
virtual void setCertificateValid(::java::util::Date *);
- virtual ::java::util::Date * getPrivateKeyValid();
- virtual void setPrivateKeyValid(::java::util::Date *);
- virtual ::java::lang::String * getSubjectPublicKeyAlgID();
- virtual void setSubjectPublicKeyAlgID(::java::lang::String *);
- virtual ::java::security::PublicKey * getSubjectPublicKey();
- virtual void setSubjectPublicKey(::java::security::PublicKey *);
- virtual void setSubjectPublicKey(JArray< jbyte > *);
- virtual JArray< jboolean > * getKeyUsage();
- virtual void setKeyUsage(JArray< jboolean > *);
- virtual ::java::util::Set * getExtendedKeyUsage();
virtual void setExtendedKeyUsage(::java::util::Set *);
- virtual jboolean getMatchAllSubjectAltNames();
+ virtual void setIssuer(JArray< jbyte > *);
+ virtual void setIssuer(::java::lang::String *);
+ virtual void setKeyUsage(JArray< jboolean > *);
virtual void setMatchAllSubjectAltNames(jboolean);
- virtual void setSubjectAlternativeNames(::java::util::Collection *);
- virtual void addSubjectAlternativeName(jint, ::java::lang::String *);
- virtual void addSubjectAlternativeName(jint, JArray< jbyte > *);
- virtual JArray< jbyte > * getNameConstraints();
virtual void setNameConstraints(JArray< jbyte > *);
- virtual jint getBasicConstraints();
- virtual void setBasicConstraints(jint);
- virtual jboolean match(::java::security::cert::Certificate *);
+ 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();
- virtual ::java::lang::Object * clone();
+public: // actually package-private
+ static JArray< jint > * $SWITCH_TABLE$gnu$java$security$x509$ext$GeneralName$Kind();
private:
- static jboolean checkOid(JArray< jint > *);
static ::java::lang::String * AUTH_KEY_ID;
static ::java::lang::String * SUBJECT_KEY_ID;
static ::java::lang::String * NAME_CONSTRAINTS_ID;
@@ -125,6 +142,8 @@ private:
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$;
};