Class KJUR.asn1.cms.ESSCertIDv2
Extends
KJUR.asn1.ASN1Object.
class for CMS ESSCertIDv2 ASN.1 encoder
Defined in: asn1cms-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
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. |
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified, params
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
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.
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