Class Index | File Index

Classes


Class KJUR.asn1.x509.PolicyInformation


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

Class Summary
Constructor Attributes Constructor Name and Description
 
PolicyInformation ASN.1 structure class This class represents PolicyInformation 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.PolicyInformation(params)
PolicyInformation ASN.1 structure class This class represents PolicyInformation defined in RFC 5280 4.2.1.4.
PolicyInformation ::= SEQUENCE {
     policyIdentifier   CertPolicyId,
     policyQualifiers   SEQUENCE SIZE (1..MAX) OF
                        PolicyQualifierInfo OPTIONAL }
CertPolicyId ::= OBJECT IDENTIFIER
Its constructor can have following parameters:

					
				
new KJUR.asn1.x509.PolicyInformation({
  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"}
    }}
  ]
})
Parameters:
{Array} params
JSON object 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