Class KJUR.asn1.x509.PolicyQualifierInfo
Extends
KJUR.asn1.ASN1Object.
PolicyQualifierInfo ASN.1 structure class
Defined in: asn1x509-1.0.js.
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 ::= IA5StringIts constructor can have one of following two parameters:
- {String}cps - URI string for CPS
- {Object}unotice - KJUR.asn1.x509.UserNotice parameter
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