Class KJUR.asn1.x509.PolicyConstraints
Extends
KJUR.asn1.x509.Extension.
PolicyConstraints ASN.1 structure class
Defined in: asn1x509-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.x509.PolicyConstraints(params)
PolicyConstraints ASN.1 structure class
This class represents PolicyConstraints extension defined in RFC 5280 4.2.1.11. |
- 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.PolicyConstraints(params)
PolicyConstraints ASN.1 structure class
This class represents PolicyConstraints extension defined in RFC 5280 4.2.1.11.
This class represents PolicyConstraints extension defined in RFC 5280 4.2.1.11.
id-ce-policyConstraints OBJECT IDENTIFIER ::= { id-ce 36 } PolicyConstraints ::= SEQUENCE { requireExplicitPolicy [0] SkipCerts OPTIONAL, inhibitPolicyMapping [1] SkipCerts OPTIONAL } SkipCerts ::= INTEGER (0..MAX)Its constructor can have following parameters:
- reqexp - integer: the number of additional certificates that may appear in the path before an explicit policy is required for the entire path.
- inhibit - integer: the number of additional certificates that may appear in the path before policy mapping is no longer permitted.
- critical - boolean: critical flag
e1 = new KJUR.asn1.x509.PolicyConstraints({ reqexp: 3, inhibit: 3, critical: true });
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 10.6.1 asn1x509 2.1.17