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 IX500Name
getIssuer()
Calls actualgetIssuer
method for the wrapped TBSCertificate object.IASN1Integer
getSerialNumber()
Calls actualgetSerialNumber
method for the wrapped TBSCertificate object.ISubjectPublicKeyInfo
getSubjectPublicKeyInfo()
Calls actualgetSubjectPublicKeyInfo
method for the wrapped TBSCertificate object.org.bouncycastle.asn1.x509.TBSCertificate
getTBSCertificate()
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 actualgetSubjectPublicKeyInfo
method for the wrapped TBSCertificate object.- Specified by:
getSubjectPublicKeyInfo
in interfaceITBSCertificate
- Returns:
ISubjectPublicKeyInfo
wrapped SubjectPublicKeyInfo.
-
getIssuer
public IX500Name getIssuer()
Calls actualgetIssuer
method for the wrapped TBSCertificate object.- Specified by:
getIssuer
in interfaceITBSCertificate
- Returns:
IX500Name
wrapped X500Name.
-
getSerialNumber
public IASN1Integer getSerialNumber()
Calls actualgetSerialNumber
method for the wrapped TBSCertificate object.- Specified by:
getSerialNumber
in interfaceITBSCertificate
- Returns:
IASN1Integer
wrapped ASN1Integer.
-
-