Class Index | File Index

Classes


Class KJUR.asn1.csr.CertificationRequestInfo


Extends KJUR.asn1.ASN1Object.
ASN.1 CertificationRequestInfo structure class
Defined in: asn1csr-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ASN.1 CertificationRequestInfo structure class This class provides CertificateRequestInfo ASN.1 structure defined in RFC 2986 4.1.
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.csr.CertificationRequestInfo(params)
ASN.1 CertificationRequestInfo structure class This class provides CertificateRequestInfo ASN.1 structure defined in RFC 2986 4.1.
CertificationRequestInfo ::= SEQUENCE {
  version       INTEGER { v1(0) } (v1,...),
  subject       Name,
  subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
  attributes    [0] Attributes{{ CRIAttributes }} }


CAUTION: Argument "params" JSON value format have been changed without backward compatibility since jsrsasign 9.0.0 asn1csr 2.0.0.
csri = new KJUR.asn1.csr.CertificationRequestInfo({
  subject: {str: '/C=US/CN=b'},
  sbjpubkey: <>,
  extreq: [
    {extname:"subjectAltName", array:[{dns:"example.com"}]}
  ]});
csri.getEncodedHex() → "30..."
Parameters:
{Array} params
associative array of parameters (ex. {})
Since:
jsrsasign 4.9.0 asn1csr 1.0.0
See:
KJUR.asn1.csr.CertificationRequest

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