Class Index | File Index

Classes


Class KJUR.asn1.x509.BasicConstraints


Extends KJUR.asn1.x509.Extension.
BasicConstraints ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BasicConstraints ASN.1 structure class This class represents BasicConstraints extension defined in RFC 5280 4.2.1.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.BasicConstraints(params)
BasicConstraints ASN.1 structure class This class represents BasicConstraints extension defined in RFC 5280 4.2.1.9.
 id-ce-basicConstraints OBJECT IDENTIFIER ::=  { id-ce 19 }
 BasicConstraints ::= SEQUENCE {
      cA                      BOOLEAN DEFAULT FALSE,
      pathLenConstraint       INTEGER (0..MAX) OPTIONAL }
Its constructor can have following parameters:
  • {Boolean}cA - cA flag
  • {Integer}pathLen - pathLen field value
  • {Boolean}critical - critical flag
new KJUR.asn1.x509.BasicConstraints({
  cA: true,
  pathLen: 3,
  critical: true
})
Parameters:
{Array} params
JSON object for parameters (ex. {cA:true,critical:true})
See:

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