|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.slcs.pki.CertificateExtension
public class CertificateExtension
CertificateExtension wrapper class to create certificate extension.
Constructor Summary | |
---|---|
protected |
CertificateExtension(org.bouncycastle.asn1.DERObjectIdentifier oid,
java.lang.String name,
org.bouncycastle.asn1.x509.X509Extension extension,
java.lang.String value)
Creates an non-critical extension with the given extension OID and name and X509Extension and value. |
protected |
CertificateExtension(org.bouncycastle.asn1.DERObjectIdentifier oid,
java.lang.String name,
org.bouncycastle.asn1.x509.X509Extension extension,
java.lang.String value,
boolean critical)
Creates a CertificateExtension with the given extension OID and name and X509Extension and value. |
protected |
CertificateExtension(org.bouncycastle.asn1.DERObjectIdentifier oid,
org.bouncycastle.asn1.x509.X509Extension extension,
boolean critical)
Creates an extension with the given extension OID and X509Extension object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
org.bouncycastle.asn1.x509.X509Extension |
getExtension()
|
java.lang.String |
getName()
|
org.bouncycastle.asn1.DERObjectIdentifier |
getOID()
|
java.lang.String |
getValue()
|
int |
hashCode()
|
boolean |
isCritical()
|
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CertificateExtension(org.bouncycastle.asn1.DERObjectIdentifier oid, java.lang.String name, org.bouncycastle.asn1.x509.X509Extension extension, java.lang.String value)
oid
- The OID of the extension.name
- The formal name of the extension.extension
- The X509Extension object.value
- The formal value of the X509Extension.protected CertificateExtension(org.bouncycastle.asn1.DERObjectIdentifier oid, org.bouncycastle.asn1.x509.X509Extension extension, boolean critical)
The name is set to the OID and the value is set to NotParsed.
oid
- The extension OIDextension
- The X509Extension object.critical
- true
iff the extension is critical.protected CertificateExtension(org.bouncycastle.asn1.DERObjectIdentifier oid, java.lang.String name, org.bouncycastle.asn1.x509.X509Extension extension, java.lang.String value, boolean critical)
oid
- The OID of the extension.name
- The formal name of the extension.extension
- The X509Extension object.value
- The formal value of the X509Extension.critical
- true
iff the extension is critical.Method Detail |
---|
public org.bouncycastle.asn1.x509.X509Extension getExtension()
public org.bouncycastle.asn1.DERObjectIdentifier getOID()
public boolean isCritical()
public java.lang.String getName()
public java.lang.String getValue()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toXML()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |