Class X509Extension
-
- All Implemented Interfaces:
public class X509Extensionan object for the elements in the X.509 V3 extension block.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description X509Extension(ASN1Boolean critical, ASN1OctetString value)X509Extension(boolean critical, ASN1OctetString value)
-
Method Summary
Modifier and Type Method Description ASN1OctetStringgetValue()booleanisCritical()ASN1EncodablegetParsedValue()inthashCode()booleanequals(Object o)static ASN1PrimitiveconvertValueToObject(X509Extension ext)Convert the value of the passed in extension to an object -
-
Constructor Detail
-
X509Extension
X509Extension(ASN1Boolean critical, ASN1OctetString value)
-
X509Extension
X509Extension(boolean critical, ASN1OctetString value)
-
-
Method Detail
-
getValue
ASN1OctetString getValue()
-
isCritical
boolean isCritical()
-
getParsedValue
ASN1Encodable getParsedValue()
-
hashCode
int hashCode()
-
convertValueToObject
static ASN1Primitive convertValueToObject(X509Extension ext)
Convert the value of the passed in extension to an object
- Parameters:
ext- the extension to parse- Returns:
the object the value string contains
-
-
-
-