Class Index | File Index

Classes


Class KJUR.asn1.x509.PolicyQualifierInfo


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

Class Summary
Constructor Attributes Constructor Name and Description
 
PolicyQualifierInfo ASN.1 structure class This class represents PolicyQualifierInfo 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.PolicyQualifierInfo(params)
PolicyQualifierInfo ASN.1 structure class This class represents PolicyQualifierInfo defined in RFC 5280 4.2.1.4.
PolicyQualifierInfo ::= SEQUENCE {
     policyQualifierId  PolicyQualifierId,
     qualifier          ANY DEFINED BY policyQualifierId }
PolicyQualifierId ::= OBJECT IDENTIFIER ( id-qt-cps | id-qt-unotice )
CPSuri ::= IA5String
Its constructor can have one of following two parameters:
new PolicyQualifierInfo({
  cps: "https://example.com/repository/cps"
})

new PolicyQualifierInfo({
  unotice: {
    noticeref: { // CA SHOULD NOT use this by RFC
      org: {type: "bmp", str: "Sample Org"},
      noticenum: [{int: 3}, {hex: "01af"}]
    },
    exptext: {type: "ia5", str: "Sample Policy"}
  }
})
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 8.0.23 asn1x509 1.1.12

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