Class TBSCertificateBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.TBSCertificateBC
- All Implemented Interfaces:
-
IASN1Encodable,ITBSCertificate
Wrapper class for
TBSCertificate.
-
Constructor Summary
ConstructorsConstructorDescriptionTBSCertificateBC(org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate) Creates new wrapper instance forTBSCertificate. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetIssuermethod for the wrapped TBSCertificate object.Calls actualgetSerialNumbermethod for the wrapped TBSCertificate object.Calls actualgetSubjectPublicKeyInfomethod for the wrapped TBSCertificate object.org.bouncycastle.asn1.x509.TBSCertificateGets actual org.bouncycastle object being wrapped.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
-
TBSCertificateBC
public TBSCertificateBC(org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate) Creates new wrapper instance forTBSCertificate.- Parameters:
-
tbsCertificate-TBSCertificateto be wrapped
-
-
Method Details
-
getTBSCertificate
public org.bouncycastle.asn1.x509.TBSCertificate getTBSCertificate()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TBSCertificate.
-
getSubjectPublicKeyInfo
Calls actualgetSubjectPublicKeyInfomethod for the wrapped TBSCertificate object.- Specified by:
-
getSubjectPublicKeyInfoin interfaceITBSCertificate - Returns:
-
ISubjectPublicKeyInfowrapped SubjectPublicKeyInfo.
-
getIssuer
Calls actualgetIssuermethod for the wrapped TBSCertificate object.- Specified by:
-
getIssuerin interfaceITBSCertificate - Returns:
-
IX500Namewrapped X500Name.
-
getSerialNumber
Calls actualgetSerialNumbermethod for the wrapped TBSCertificate object.- Specified by:
-
getSerialNumberin interfaceITBSCertificate - Returns:
-
IASN1Integerwrapped ASN1Integer.
-