Class Index | File Index

Classes


Class KJUR.asn1.cms.ESSCertIDv2


Extends KJUR.asn1.ASN1Object.
class for CMS ESSCertIDv2 ASN.1 encoder
Defined in: asn1cms-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
class for CMS ESSCertIDv2 ASN.1 encoder
This is an ASN.1 encoder for SigningCertificateV2 attribute defined in RFC 5035 section 4.
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified, params
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex
Class Detail
KJUR.asn1.cms.ESSCertIDv2(params)
class for CMS ESSCertIDv2 ASN.1 encoder
This is an ASN.1 encoder for SigningCertificateV2 attribute defined in RFC 5035 section 4.
ESSCertIDv2 ::=  SEQUENCE {
   hashAlgorithm           AlgorithmIdentifier
                           DEFAULT {algorithm id-sha256},
   certHash                Hash,
   issuerSerial            IssuerSerial OPTIONAL }
Hash ::= OCTET STRING
IssuerSerial ::= SEQUENCE {
   issuer                  GeneralNames,
   serialNumber            CertificateSerialNumber }
new KJUR.asn1.cms.ESSCertIDv2("-----BEGIN...")
new KJUR.asn1.cms.ESSCertIDv2({cert: "-----BEGIN..."})
new KJUR.asn1.cms.ESSCertIDv2({cert: "-----BEGIN...", hasis: false})
new KJUR.asn1.cms.ESSCertIDv2({
  hash: "3f2d...",
  alg: "sha512",
  issuer: {str: "/C=JP/O=T1"},
  serial: {hex: "12ab..."}
})
Parameters:
{Object} params
PEM certificate string or JSON of parameters
Since:
jsrsasign 10.0.0 asn1cms 2.0.0
See:
KJUR.asn1.cms.SigningCertificate
KJUR.asn1.cms.IssuerSerial
KJUR.asn1.cms.ESSCertID

© 2012-2020 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0