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
ConstructorsConstructorDescriptionExtensionBC(org.bouncycastle.asn1.x509.Extension extension) Creates new wrapper instance forExtension. -
Method Summary
Modifier and TypeMethodDescriptionGetsauthorityInfoAccessconstant for the wrapped Extension.GetsauthorityKeyIdentifierconstant for the wrapped Extension.GetsbasicConstraintsconstant for the wrapped Extension.GetscRLDistributionPointsconstant for the wrapped Extension.GetsexpiredCertsOnCRLconstant for the wrapped Extension.GetsextendedKeyUsageconstant for the wrapped Extension.org.bouncycastle.asn1.x509.ExtensionGets actual org.bouncycastle object being wrapped.static ExtensionBCGets wrapper instance.GetsissuingDistributionPointconstant for the wrapped Extension.GetskeyUsageconstant for the wrapped Extension.GetssubjectKeyIdentifierconstant for the wrapped Extension.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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-Extensionto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
ExtensionBCinstance.
-
getExtension
public org.bouncycastle.asn1.x509.Extension getExtension()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
Extension.
-
getCRlDistributionPoints
GetscRLDistributionPointsconstant for the wrapped Extension.- Specified by:
-
getCRlDistributionPointsin interfaceIExtension - Returns:
- Extension.cRLDistributionPoints wrapper.
-
getIssuingDistributionPoint
GetsissuingDistributionPointconstant for the wrapped Extension.- Specified by:
-
getIssuingDistributionPointin interfaceIExtension - Returns:
- Extension.issuingDistributionPoint wrapper.
-
getAuthorityInfoAccess
GetsauthorityInfoAccessconstant for the wrapped Extension.- Specified by:
-
getAuthorityInfoAccessin interfaceIExtension - Returns:
- Extension.authorityInfoAccess wrapper.
-
getBasicConstraints
GetsbasicConstraintsconstant for the wrapped Extension.- Specified by:
-
getBasicConstraintsin interfaceIExtension - Returns:
- Extension.basicConstraints wrapper.
-
getKeyUsage
GetskeyUsageconstant for the wrapped Extension.- Specified by:
-
getKeyUsagein interfaceIExtension - Returns:
- Extension.keyUsage wrapper.
-
getExtendedKeyUsage
GetsextendedKeyUsageconstant for the wrapped Extension.- Specified by:
-
getExtendedKeyUsagein interfaceIExtension - Returns:
- Extension.extendedKeyUsage wrapper.
-
getAuthorityKeyIdentifier
GetsauthorityKeyIdentifierconstant for the wrapped Extension.- Specified by:
-
getAuthorityKeyIdentifierin interfaceIExtension - Returns:
- Extension.authorityKeyIdentifier wrapper.
-
getSubjectKeyIdentifier
GetssubjectKeyIdentifierconstant for the wrapped Extension.- Specified by:
-
getSubjectKeyIdentifierin interfaceIExtension - Returns:
- Extension.subjectKeyIdentifier wrapper.
-
getExpiredCertsOnCRL
GetsexpiredCertsOnCRLconstant for the wrapped Extension.- Specified by:
-
getExpiredCertsOnCRLin interfaceIExtension - Returns:
- Extension.expiredCertsOnCRL wrapper.
-