Class TBSCertificateBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x509.TBSCertificateBCFips
All Implemented Interfaces:
IASN1Encodable, ITBSCertificate

public class TBSCertificateBCFips extends ASN1EncodableBCFips implements ITBSCertificate
Wrapper class for TBSCertificate.
  • Constructor Details

    • TBSCertificateBCFips

      public TBSCertificateBCFips (org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate)
      Creates new wrapper instance for TBSCertificate.
      Parameters:
      tbsCertificate - TBSCertificate to be wrapped
  • Method Details

    • getTBSCertificate

      public org.bouncycastle.asn1.x509.TBSCertificate getTBSCertificate()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped TBSCertificate.
    • getSubjectPublicKeyInfo

      public ISubjectPublicKeyInfo getSubjectPublicKeyInfo()
      Calls actual getSubjectPublicKeyInfo method for the wrapped TBSCertificate object.
      Specified by:
      getSubjectPublicKeyInfo in interface ITBSCertificate
      Returns:
      ISubjectPublicKeyInfo wrapped SubjectPublicKeyInfo.
    • getIssuer

      public IX500Name getIssuer()
      Calls actual getIssuer method for the wrapped TBSCertificate object.
      Specified by:
      getIssuer in interface ITBSCertificate
      Returns:
      IX500Name wrapped X500Name.
    • getSerialNumber

      public IASN1Integer getSerialNumber()
      Calls actual getSerialNumber method for the wrapped TBSCertificate object.
      Specified by:
      getSerialNumber in interface ITBSCertificate
      Returns:
      IASN1Integer wrapped ASN1Integer.