Class KJUR.asn1.tsp.PKIFailureInfo
Extends
KJUR.asn1.ASN1Object.
class for TSP PKIFailureInfo ASN.1 object
Defined in: asn1tsp-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.tsp.PKIFailureInfo(params)
class for TSP PKIFailureInfo ASN.1 object
This class provides ASN.1 PKIFailureInfo encoder defined in RFC 3161 section 2.4.2. |
- 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.tsp.PKIFailureInfo(params)
class for TSP PKIFailureInfo ASN.1 object
This class provides ASN.1 PKIFailureInfo encoder defined in RFC 3161 section 2.4.2.
This class provides ASN.1 PKIFailureInfo encoder defined in RFC 3161 section 2.4.2.
PKIFailureInfo ::= BIT STRING { badAlg (0), badRequest (2), badDataFormat (5), timeNotAvailable (14), unacceptedPolicy (15), unacceptedExtension (16), addInfoNotAvailable (17), systemFailure (25) }NOTE: Constructor of an array of failureInfo names string has been supported since jsrsasign 10.5.21. Ordering of names will be ignored so that ['unacceptedPolicy', 'badAlg'] is also fine.
new KJUR.asn1.tsp.PKIFailureInfo('badAlg') new KJUR.asn1.tsp.PKIFailureInfo(5) new KJUR.asn1.tsp.PKIFailureInfo(['badAlg', 'unacceptedPolicy'])
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 4.6.0 asn1tsp 1.0.0