Class ExtensionBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.ExtensionBC
-
- All Implemented Interfaces:
IASN1Encodable,IExtension
public class ExtensionBC extends ASN1EncodableBC implements IExtension
Wrapper class forExtension.
-
-
Field Summary
Fields Modifier and Type Field Description private static ASN1ObjectIdentifierBCAUTHORITY_INFO_ACCESSprivate static ASN1ObjectIdentifierBCAUTHORITY_KEY_IDENTIFIERprivate static ASN1ObjectIdentifierBCBASIC_CONSTRAINTSprivate static ASN1ObjectIdentifierBCCRL_DISTRIBUTION_POINTSprivate static IASN1ObjectIdentifierEXPIRED_CERTS_ON_CRLprivate static ASN1ObjectIdentifierBCEXTENDED_KEY_USAGEprivate static ExtensionBCINSTANCEprivate static ASN1ObjectIdentifierBCISSUING_DISTRIBUTION_POINTprivate static ASN1ObjectIdentifierBCKEY_USAGEprivate static ASN1ObjectIdentifierBCSUBJECT_KEY_IDENTIFIER
-
Constructor Summary
Constructors Constructor Description ExtensionBC(org.bouncycastle.asn1.x509.Extension extension)Creates new wrapper instance forExtension.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IASN1ObjectIdentifiergetAuthorityInfoAccess()GetsauthorityInfoAccessconstant for the wrapped Extension.IASN1ObjectIdentifiergetAuthorityKeyIdentifier()GetsauthorityKeyIdentifierconstant for the wrapped Extension.IASN1ObjectIdentifiergetBasicConstraints()GetsbasicConstraintsconstant for the wrapped Extension.IASN1ObjectIdentifiergetCRlDistributionPoints()GetscRLDistributionPointsconstant for the wrapped Extension.IASN1ObjectIdentifiergetExpiredCertsOnCRL()GetsexpiredCertsOnCRLconstant for the wrapped Extension.IASN1ObjectIdentifiergetExtendedKeyUsage()GetsextendedKeyUsageconstant for the wrapped Extension.org.bouncycastle.asn1.x509.ExtensiongetExtension()Gets actual org.bouncycastle object being wrapped.static ExtensionBCgetInstance()Gets wrapper instance.IASN1ObjectIdentifiergetIssuingDistributionPoint()GetsissuingDistributionPointconstant for the wrapped Extension.IASN1ObjectIdentifiergetKeyUsage()GetskeyUsageconstant for the wrapped Extension.IASN1ObjectIdentifiergetSubjectKeyIdentifier()GetssubjectKeyIdentifierconstant 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
-
-
-
-
Field Detail
-
INSTANCE
private static final ExtensionBC INSTANCE
-
CRL_DISTRIBUTION_POINTS
private static final ASN1ObjectIdentifierBC CRL_DISTRIBUTION_POINTS
-
ISSUING_DISTRIBUTION_POINT
private static final ASN1ObjectIdentifierBC ISSUING_DISTRIBUTION_POINT
-
AUTHORITY_INFO_ACCESS
private static final ASN1ObjectIdentifierBC AUTHORITY_INFO_ACCESS
-
BASIC_CONSTRAINTS
private static final ASN1ObjectIdentifierBC BASIC_CONSTRAINTS
-
KEY_USAGE
private static final ASN1ObjectIdentifierBC KEY_USAGE
-
EXTENDED_KEY_USAGE
private static final ASN1ObjectIdentifierBC EXTENDED_KEY_USAGE
-
AUTHORITY_KEY_IDENTIFIER
private static final ASN1ObjectIdentifierBC AUTHORITY_KEY_IDENTIFIER
-
SUBJECT_KEY_IDENTIFIER
private static final ASN1ObjectIdentifierBC SUBJECT_KEY_IDENTIFIER
-
EXPIRED_CERTS_ON_CRL
private static final IASN1ObjectIdentifier EXPIRED_CERTS_ON_CRL
-
-
Method Detail
-
getInstance
public static ExtensionBC 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
public IASN1ObjectIdentifier getCRlDistributionPoints()
GetscRLDistributionPointsconstant for the wrapped Extension.- Specified by:
getCRlDistributionPointsin interfaceIExtension- Returns:
- Extension.cRLDistributionPoints wrapper.
-
getIssuingDistributionPoint
public IASN1ObjectIdentifier getIssuingDistributionPoint()
GetsissuingDistributionPointconstant for the wrapped Extension.- Specified by:
getIssuingDistributionPointin interfaceIExtension- Returns:
- Extension.issuingDistributionPoint wrapper.
-
getAuthorityInfoAccess
public IASN1ObjectIdentifier getAuthorityInfoAccess()
GetsauthorityInfoAccessconstant for the wrapped Extension.- Specified by:
getAuthorityInfoAccessin interfaceIExtension- Returns:
- Extension.authorityInfoAccess wrapper.
-
getBasicConstraints
public IASN1ObjectIdentifier getBasicConstraints()
GetsbasicConstraintsconstant for the wrapped Extension.- Specified by:
getBasicConstraintsin interfaceIExtension- Returns:
- Extension.basicConstraints wrapper.
-
getKeyUsage
public IASN1ObjectIdentifier getKeyUsage()
GetskeyUsageconstant for the wrapped Extension.- Specified by:
getKeyUsagein interfaceIExtension- Returns:
- Extension.keyUsage wrapper.
-
getExtendedKeyUsage
public IASN1ObjectIdentifier getExtendedKeyUsage()
GetsextendedKeyUsageconstant for the wrapped Extension.- Specified by:
getExtendedKeyUsagein interfaceIExtension- Returns:
- Extension.extendedKeyUsage wrapper.
-
getAuthorityKeyIdentifier
public IASN1ObjectIdentifier getAuthorityKeyIdentifier()
GetsauthorityKeyIdentifierconstant for the wrapped Extension.- Specified by:
getAuthorityKeyIdentifierin interfaceIExtension- Returns:
- Extension.authorityKeyIdentifier wrapper.
-
getSubjectKeyIdentifier
public IASN1ObjectIdentifier getSubjectKeyIdentifier()
GetssubjectKeyIdentifierconstant for the wrapped Extension.- Specified by:
getSubjectKeyIdentifierin interfaceIExtension- Returns:
- Extension.subjectKeyIdentifier wrapper.
-
getExpiredCertsOnCRL
public IASN1ObjectIdentifier getExpiredCertsOnCRL()
GetsexpiredCertsOnCRLconstant for the wrapped Extension.- Specified by:
getExpiredCertsOnCRLin interfaceIExtension- Returns:
- Extension.expiredCertsOnCRL wrapper.
-
-