Class Index | File Index

Classes


Class KJUR.asn1.cms.IssuerAndSerialNumber


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

Class Summary
Constructor Attributes Constructor Name and Description
 
class for IssuerAndSerialNumber ASN.1 structure for CMS
This class encodes IssuerAndSerialNumber ASN.1 structure defined in RFC 5662 CMS 10.2.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.IssuerAndSerialNumber(params)
class for IssuerAndSerialNumber ASN.1 structure for CMS
This class encodes IssuerAndSerialNumber ASN.1 structure defined in RFC 5662 CMS 10.2.4.
IssuerAndSerialNumber ::= SEQUENCE {
   issuer           Name,
   serialNumber     CertificateSerialNumber }
CertificateSerialNumber ::= INTEGER
Constructor of this class can have following parameters:
  • {String}cert (OPTION) - PEM certificate string to specify issuer and serial
  • {Array}issuer (OPTION) - KJUR.asn1.x509.X500Name parameter for issuer name
  • {Array}serial (OPTION) - KJUR.asn1.DERInteger parameter for serialNumber
// specify by X500Name and DERInteger
o = new KJUR.asn1.cms.IssuerAndSerialNumber(
     {issuer: {str: '/C=US/O=T1'}, serial: {int: 3}});
// specify by PEM certificate
o = new KJUR.asn1.cms.IssuerAndSerialNumber({cert: certPEM});
o = new KJUR.asn1.cms.IssuerAndSerialNumber(certPEM); // since 1.0.3
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 4.2.4 asn1cms 1.0.0
See:
KJUR.asn1.cms.IssuerSerial

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