Class TBSCertificate

  • All Implemented Interfaces:
    io.anyline.nfc.bouncycastle.asn1.ASN1Encodable , io.anyline.nfc.bouncycastle.util.Encodable

    
    public class TBSCertificate
    extends ASN1Object
                        

    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.