Class X509Extension
-
- All Implemented Interfaces:
public class X509Extension
an 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 ASN1OctetString
getValue()
boolean
isCritical()
ASN1Encodable
getParsedValue()
int
hashCode()
boolean
equals(Object o)
static ASN1Primitive
convertValueToObject(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
-
-
-
-