Class Index | File Index

Classes


Class KJUR.asn1.x509.Extensions


Extends KJUR.asn1.ASN1Object.
Extensions ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Extensions ASN.1 structure class
This class represents Extensions defined in RFC 5280 4.1 and 4.1.2.9.
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.x509.Extensions(aParam)
o = new KJUR.asn1.x509.Extensions([
  {extname:"keyUsage",critical:true,names:["digitalSignature"]},
  {extname:"subjectAltName",array:[{dns:"example.com"}]},
  {extname:"1.2.3.4",extn:{prnstr:"aa"}} // private extension
]);
o.tohex() → "30..."
Parameters:
{Array} aParam
array of JSON extension parameter
Since:
jsrsasign 9.1.0 asn1x509 2.1.0
See:
KJUR.asn1.x509.TBSCertificate
KJUR.asn1.x509.TBSCertList
KJUR.asn1.csr.CertificationRequestInfo
KJUR.asn1.x509.PrivateExtension
KJUR.asn1.ocsp.ResponseData
KJUR.asn1.ocsp.BasicOCSPResponse

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