Class Index | File Index

Classes


Class KJUR.asn1.x509.CertificatePolicies


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

Class Summary
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 PolicyInformation
Its constructor can have following parameters: NOTE: Returned JSON value format have been changed without backward compatibility since jsrsasign 9.0.0 asn1x509 2.0.0.
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
See:
KJUR.asn1.x509.CertificatePolicies
KJUR.asn1.x509.PolicyInformation
KJUR.asn1.x509.PolicyQualifierInfo
KJUR.asn1.x509.UserNotice
KJUR.asn1.x509.NoticeReference
KJUR.asn1.x509.DisplayText

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