Class KJUR.asn1.cms.SignerIdentifier
Extends
KJUR.asn1.ASN1Object.
class for CMS SignerIdentifier ASN.1 structure for CMS
Defined in: asn1cms-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.cms.SignerIdentifier(params)
class for SignerIdentifier ASN.1 structure for CMS
This is an ASN.1 encoder for SignerIdentifier
ASN.1 structure defined in
RFC 5652 CMS section 5.3.
|
- 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.SignerIdentifier(params)
class for SignerIdentifier ASN.1 structure for CMS
This is an ASN.1 encoder for SignerIdentifier
ASN.1 structure defined in
RFC 5652 CMS section 5.3.
SignerIdentifier ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, subjectKeyIdentifier [0] SubjectKeyIdentifier }Constructor argument can have following properties:
- {String}type - "isssn" for IssuerAndSerialNumber or "skid" for SubjectKeyIdentifier
- {Array}issuer - KJUR.asn1.x509.X500Name parameter for issuer
- {Array}serial - KJUR.asn1.DERInteger parameter for serial number
- {String}skid - hexadecimal string of subject key identifier
- {String}cert - PEM certificate string for type "isssn" or "skid"
- type=isssn, issuer, serial - IssuerAndSerialNumber
- type=isssn, cert - IssuerAndSerialNumber
- type=skid, skid - SubjectKeyIdentifier
- type=skdi, cert - SubjectKeyIdentifier
new KJUR.asn1.cms.SignerIdentifier({ type: "isssn", issuer: {str: "/C=JP/O=T1"}, serial: {hex: "12ab..."} }) new KJUR.asn1.cms.SignerIdentifier({ type: "isssn", cert: "-----BEGIN..." }) new KJUR.asn1.cms.SignerIdentifier({ type: "skid", skid: "12ab..." }) new KJUR.asn1.cms.SignerIdentifier({ type: "skid", cert: "-----BEGIN..." })
- Parameters:
- {Array} params
- JSON object of parameters
- Since:
- jsrsasign 10.0.0 asn1cms 2.0.0