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.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ASN1ObjectIdentifierBCprivate static final ASN1ObjectIdentifierBCprivate static final ASN1ObjectIdentifierBCprivate static final ASN1ObjectIdentifierBCprivate static final IASN1ObjectIdentifierprivate static final ASN1ObjectIdentifierBCprivate static final ExtensionBCprivate static final ASN1ObjectIdentifierBCprivate static final ASN1ObjectIdentifierBCprivate static final ASN1ObjectIdentifierBC -
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 ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from interface IASN1Encodable
isNull, toASN1Primitive
-
Field Details
-
INSTANCE
-
CRL_DISTRIBUTION_POINTS
-
ISSUING_DISTRIBUTION_POINT
-
AUTHORITY_INFO_ACCESS
-
BASIC_CONSTRAINTS
-
KEY_USAGE
-
EXTENDED_KEY_USAGE
-
AUTHORITY_KEY_IDENTIFIER
-
SUBJECT_KEY_IDENTIFIER
-
EXPIRED_CERTS_ON_CRL
-
-
Constructor Details
-
ExtensionBC
public ExtensionBC(org.bouncycastle.asn1.x509.Extension extension) Creates new wrapper instance forExtension.- Parameters:
extension-Extensionto be wrapped
-
-
Method Details
-
getInstance
-
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.
-