Class Index | File Index

Classes


Class KJUR.asn1.tsp.PKIFailureInfo


Extends KJUR.asn1.ASN1Object.
class for TSP PKIFailureInfo ASN.1 object
Defined in: asn1tsp-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
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.
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
See:
KJUR.asn1.tsp.PKIStatusInfo

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