Class X509Extension
java.lang.Object
org.gudy.bouncycastle.asn1.x509.X509Extension
an object for the elements in the X.509 V3 extension block.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionX509Extension(boolean critical, ASN1OctetString value) X509Extension(DERBoolean critical, ASN1OctetString value) -
Method Summary
Modifier and TypeMethodDescriptionstatic ASN1ObjectConvert the value of the passed in extension to an objectbooleangetValue()inthashCode()boolean
-
Field Details
-
critical
boolean critical -
value
ASN1OctetString value
-
-
Constructor Details
-
X509Extension
-
X509Extension
-
-
Method Details
-
isCritical
public boolean isCritical() -
getValue
-
hashCode
-
equals
-
convertValueToObject
Convert the value of the passed in extension to an object- Parameters:
ext- the extension to parse- Returns:
- the object the value string contains
- Throws:
IllegalArgumentException- if conversion is not possible
-