Class Index | File Index

Classes


Class KJUR.asn1.tsp.PKIStatusInfo


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

Class Summary
Constructor Attributes Constructor Name and Description
 
class for TSP PKIStatusInfo ASN.1 object This class provides ASN.1 PKIStatusInfo 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.PKIStatusInfo(params)
class for TSP PKIStatusInfo ASN.1 object This class provides ASN.1 PKIStatusInfo encoder defined in RFC 3161 section 2.4.2.
PKIStatusInfo ::= SEQUENCE {
   status                  PKIStatus,
   statusString            PKIFreeText     OPTIONAL,
   failInfo                PKIFailureInfo  OPTIONAL  }
new KJUR.asn1.tsp.PKIStatusInfo("granted")
new KJUR.asn1.tsp.PKIStatusInfo({status: "granted"})
new KJUR.asn1.tsp.PKIStatusInfo({
  status: 2, // rejection
  statusstr: ["unsupported algorithm"], // OPTION
  failinfo: 'badAlg' // OPTION
})
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 4.6.0 asn1tsp 1.0.0
See:
KJUR.asn1.tsp.PKIStatus
KJUR.asn1.tsp.PKIFreeText
KJUR.asn1.tsp.PKIFailureInfo
KJUR.asn1.tsp.TSPParser#getPKIStatusInfo

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