Class TBSCertificateStructure

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.TBSCertificateStructure
All Implemented Interfaces:
ASN1Encodable, PKCSObjectIdentifiers, X509ObjectIdentifiers, Encodable

public class TBSCertificateStructure extends ASN1Object implements X509ObjectIdentifiers, PKCSObjectIdentifiers
Deprecated.
use TBSCertificate
The TBSCertificate object.
 TBSCertificate ::= SEQUENCE {
      version          [ 0 ]  Version DEFAULT v1(0),
      serialNumber            CertificateSerialNumber,
      signature               AlgorithmIdentifier,
      issuer                  Name,
      validity                Validity,
      subject                 Name,
      subjectPublicKeyInfo    SubjectPublicKeyInfo,
      issuerUniqueID    [ 1 ] IMPLICIT UniqueIdentifier OPTIONAL,
      subjectUniqueID   [ 2 ] IMPLICIT UniqueIdentifier OPTIONAL,
      extensions        [ 3 ] Extensions OPTIONAL
      }
 

Note: issuerUniqueID and subjectUniqueID are both deprecated by the IETF. This class will parse them, but you really shouldn't be creating new ones.

  • Constructor Details

    • TBSCertificateStructure

      public TBSCertificateStructure(ASN1Sequence seq)
      Deprecated.
  • Method Details

    • getInstance

      public static TBSCertificateStructure getInstance(ASN1TaggedObject obj, boolean explicit)
      Deprecated.
    • getInstance

      public static TBSCertificateStructure getInstance(Object obj)
      Deprecated.
    • getVersion

      public int getVersion()
      Deprecated.
    • getVersionNumber

      public ASN1Integer getVersionNumber()
      Deprecated.
    • getSerialNumber

      public ASN1Integer getSerialNumber()
      Deprecated.
    • getSignature

      public AlgorithmIdentifier getSignature()
      Deprecated.
    • getIssuer

      public X500Name getIssuer()
      Deprecated.
    • getValidity

      public Validity getValidity()
      Deprecated.
    • getStartDate

      public Time getStartDate()
      Deprecated.
    • getEndDate

      public Time getEndDate()
      Deprecated.
    • getSubject

      public X500Name getSubject()
      Deprecated.
    • getSubjectPublicKeyInfo

      public SubjectPublicKeyInfo getSubjectPublicKeyInfo()
      Deprecated.
    • getIssuerUniqueId

      public ASN1BitString getIssuerUniqueId()
      Deprecated.
    • getSubjectUniqueId

      public ASN1BitString getSubjectUniqueId()
      Deprecated.
    • getExtensions

      public X509Extensions getExtensions()
      Deprecated.
    • toASN1Primitive

      public ASN1Primitive toASN1Primitive()
      Deprecated.
      Description copied from class: ASN1Object
      Method providing a primitive representation of this object suitable for encoding.
      Specified by:
      toASN1Primitive in interface ASN1Encodable
      Specified by:
      toASN1Primitive in class ASN1Object
      Returns:
      a primitive representation of this object.