Class ExtensionBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.ExtensionBC
- All Implemented Interfaces:
-
IASN1Encodable
,IExtension
Wrapper class for
Extension
.
-
Constructor Summary
ConstructorDescriptionExtensionBC
(org.bouncycastle.asn1.x509.Extension extension) Creates new wrapper instance forExtension
. -
Method Summary
Modifier and TypeMethodDescriptionGetsauthorityInfoAccess
constant for the wrapped Extension.GetsauthorityKeyIdentifier
constant for the wrapped Extension.GetsbasicConstraints
constant for the wrapped Extension.GetscRLDistributionPoints
constant for the wrapped Extension.GetsextendedKeyUsage
constant for the wrapped Extension.org.bouncycastle.asn1.x509.Extension
Gets actual org.bouncycastle object being wrapped.static ExtensionBC
Gets wrapper instance.GetskeyUsage
constant for the wrapped Extension.GetssubjectKeyIdentifier
constant for the wrapped Extension.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
ExtensionBC
public ExtensionBC(org.bouncycastle.asn1.x509.Extension extension) Creates new wrapper instance forExtension
.- Parameters:
-
extension
-Extension
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
ExtensionBC
instance.
-
getExtension
public org.bouncycastle.asn1.x509.Extension getExtension()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
Extension
.
-
getCRlDistributionPoints
GetscRLDistributionPoints
constant for the wrapped Extension.- Specified by:
-
getCRlDistributionPoints
in interfaceIExtension
- Returns:
- Extension.cRLDistributionPoints wrapper.
-
getAuthorityInfoAccess
GetsauthorityInfoAccess
constant for the wrapped Extension.- Specified by:
-
getAuthorityInfoAccess
in interfaceIExtension
- Returns:
- Extension.authorityInfoAccess wrapper.
-
getBasicConstraints
GetsbasicConstraints
constant for the wrapped Extension.- Specified by:
-
getBasicConstraints
in interfaceIExtension
- Returns:
- Extension.basicConstraints wrapper.
-
getKeyUsage
GetskeyUsage
constant for the wrapped Extension.- Specified by:
-
getKeyUsage
in interfaceIExtension
- Returns:
- Extension.keyUsage wrapper.
-
getExtendedKeyUsage
GetsextendedKeyUsage
constant for the wrapped Extension.- Specified by:
-
getExtendedKeyUsage
in interfaceIExtension
- Returns:
- Extension.extendedKeyUsage wrapper.
-
getAuthorityKeyIdentifier
GetsauthorityKeyIdentifier
constant for the wrapped Extension.- Specified by:
-
getAuthorityKeyIdentifier
in interfaceIExtension
- Returns:
- Extension.authorityKeyIdentifier wrapper.
-
getSubjectKeyIdentifier
GetssubjectKeyIdentifier
constant for the wrapped Extension.- Specified by:
-
getSubjectKeyIdentifier
in interfaceIExtension
- Returns:
- Extension.subjectKeyIdentifier wrapper.
-