value
value: (object | object | object)[] = [{name: 'Certificate.TBSCertificate',class: Class.UNIVERSAL,tag: Tag.SEQUENCE,capture: 'tbsCertificate',value: [{name: 'Certificate.TBSCertificate.version',class: Class.CONTEXT_SPECIFIC,tag: Tag.NONE,optional: true,value: [{name: 'Certificate.TBSCertificate.version.integer',class: Class.UNIVERSAL,tag: Tag.INTEGER,capture: 'certVersion',}],}, {name: 'Certificate.TBSCertificate.serialNumber',class: Class.UNIVERSAL,tag: Tag.INTEGER,capture: 'certSerialNumber',}, {name: 'Certificate.TBSCertificate.signature',class: Class.UNIVERSAL,tag: Tag.SEQUENCE,value: [{name: 'Certificate.TBSCertificate.signature.algorithm',class: Class.UNIVERSAL,tag: Tag.OID,capture: 'certinfoSignatureOID',}, {name: 'Certificate.TBSCertificate.signature.parameters',class: Class.UNIVERSAL,tag: Tag.OCTETSTRING,optional: true,capture: 'certinfoSignatureParams',}],}, {name: 'Certificate.TBSCertificate.issuer',class: Class.UNIVERSAL,tag: Tag.SEQUENCE,capture: 'certIssuer',}, {name: 'Certificate.TBSCertificate.validity',class: Class.UNIVERSAL,tag: Tag.SEQUENCE,value: [{name: 'Certificate.TBSCertificate.validity.notBefore',class: Class.UNIVERSAL,tag: [Tag.UTCTIME, Tag.GENERALIZEDTIME],capture: 'certValidityNotBefore',}, {name: 'Certificate.TBSCertificate.validity.notAfter',class: Class.UNIVERSAL,tag: [Tag.UTCTIME, Tag.GENERALIZEDTIME],capture: 'certValidityNotAfter',}],}, {// Name (subject) (RDNSequence)name: 'Certificate.TBSCertificate.subject',class: Class.UNIVERSAL,tag: Tag.SEQUENCE,capture: 'certSubject',},// SubjectPublicKeyInfopublicKeyValidator,{// issuerUniqueID (optional)name: 'Certificate.TBSCertificate.issuerUniqueID',class: Class.CONTEXT_SPECIFIC,tag: Tag.BOOLEAN,optional: true,value: [{name: 'Certificate.TBSCertificate.issuerUniqueID.id',class: Class.UNIVERSAL,tag: Tag.BITSTRING,capture: 'certIssuerUniqueId',}],}, {// subjectUniqueID (optional)name: 'Certificate.TBSCertificate.subjectUniqueID',class: Class.CONTEXT_SPECIFIC,tag: Tag.INTEGER,optional: true,value: [{name: 'Certificate.TBSCertificate.subjectUniqueID.id',class: Class.UNIVERSAL,tag: Tag.BITSTRING,capture: 'certSubjectUniqueId',}],}, {// Extensions (optional)name: 'Certificate.TBSCertificate.extensions',class: Class.CONTEXT_SPECIFIC,tag: Tag.BITSTRING,capture: 'certExtensions',optional: true,}],}, {// AlgorithmIdentifier (signature algorithm)name: 'Certificate.signatureAlgorithm',class: Class.UNIVERSAL,tag: Tag.SEQUENCE,value: [{// algorithmname: 'Certificate.signatureAlgorithm.algorithm',class: Class.UNIVERSAL,tag: Tag.OID,capture: 'certSignatureOID',}, {name: 'Certificate.TBSCertificate.signature.parameters',class: Class.UNIVERSAL,tag: Tag.OCTETSTRING,optional: true,capture: 'certSignatureParams',}],}, {name: 'Certificate.signatureValue',class: Class.UNIVERSAL,tag: Tag.BITSTRING,capture: 'certSignature',}]