Class TBSCertificateBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.TBSCertificateBC
-
- All Implemented Interfaces:
IASN1Encodable,ITBSCertificate
public class TBSCertificateBC extends ASN1EncodableBC implements ITBSCertificate
Wrapper class forTBSCertificate.
-
-
Constructor Summary
Constructors Constructor Description TBSCertificateBC(org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate)Creates new wrapper instance forTBSCertificate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IX500NamegetIssuer()Calls actualgetIssuermethod for the wrapped TBSCertificate object.IASN1IntegergetSerialNumber()Calls actualgetSerialNumbermethod for the wrapped TBSCertificate object.ISubjectPublicKeyInfogetSubjectPublicKeyInfo()Calls actualgetSubjectPublicKeyInfomethod for the wrapped TBSCertificate object.org.bouncycastle.asn1.x509.TBSCertificategetTBSCertificate()Gets actual org.bouncycastle object being wrapped.-
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
-
-
-
-
Method Detail
-
getTBSCertificate
public org.bouncycastle.asn1.x509.TBSCertificate getTBSCertificate()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
TBSCertificate.
-
getSubjectPublicKeyInfo
public ISubjectPublicKeyInfo getSubjectPublicKeyInfo()
Calls actualgetSubjectPublicKeyInfomethod for the wrapped TBSCertificate object.- Specified by:
getSubjectPublicKeyInfoin interfaceITBSCertificate- Returns:
ISubjectPublicKeyInfowrapped SubjectPublicKeyInfo.
-
getIssuer
public IX500Name getIssuer()
Calls actualgetIssuermethod for the wrapped TBSCertificate object.- Specified by:
getIssuerin interfaceITBSCertificate- Returns:
IX500Namewrapped X500Name.
-
getSerialNumber
public IASN1Integer getSerialNumber()
Calls actualgetSerialNumbermethod for the wrapped TBSCertificate object.- Specified by:
getSerialNumberin interfaceITBSCertificate- Returns:
IASN1Integerwrapped ASN1Integer.
-
-