Class KJUR.asn1.x509.CertificatePolicies
Extends
KJUR.asn1.x509.Extension.
CertificatePolicies ASN.1 structure class
Defined in: asn1x509-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
CertificatePolicies ASN.1 structure class
This class represents
CertificatePolicies extension defined in RFC 5280 4.2.1.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.x509.CertificatePolicies(params)
CertificatePolicies ASN.1 structure class
This class represents
CertificatePolicies extension defined in RFC 5280 4.2.1.4.
id-ce-certificatePolicies OBJECT IDENTIFIER ::= { id-ce 32 } CertificatePolicies ::= SEQUENCE SIZE (1..MAX) OF PolicyInformationIts constructor can have following parameters:
- array - array of KJUR.asn1.x509.PolicyInformation parameter
- critical - boolean: critical flag
e1 = new KJUR.asn1.x509.CertificatePolicies({ array: [ { policyoid: "1.2.3.4.5", array: [ { cps: "https://example.com/repository" }, { unotice: { noticeref: { // CA SHOULD NOT use this by RFC org: {type: "ia5", str: "Sample Org"}, noticenum: [{int: 5}, {hex: "01af"}] }, exptext: {type: "ia5", str: "Sample Policy"} }} ] } ], critical: true });
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 8.0.23 asn1x509 1.1.12