Class KJUR.asn1.ocsp.ResponseData
Extends
KJUR.asn1.ASN1Object.
ResponseData ASN.1 class encoder
Defined in: asn1ocsp-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.ocsp.ResponseData(params)
ResponseData ASN.1 class encoder
ResponseData ASN.1 class is defined in RFC 6960 4.2.1. |
- 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.ocsp.ResponseData(params)
ResponseData ASN.1 class encoder
ResponseData ASN.1 class is defined in RFC 6960 4.2.1.
ResponseData ASN.1 class is defined in RFC 6960 4.2.1.
ResponseData ::= SEQUENCE { version [0] EXPLICIT Version DEFAULT v1, responderID ResponderID, producedAt GeneralizedTime, responses SEQUENCE OF SingleResponse, responseExtensions [1] EXPLICIT Extensions OPTIONAL }Following properties are available:
- {Array}respid - JSON object of KJUR.asn1.ocsp.ResponseID parameter for "responderID"
- {Object}prodat - string or JSON parameter of KJUR.asn1.DERGeneralizedTime (ex. "20200904235959Z")
- {Array}responses - array of KJUR.asn1.ocsp.SingleResponse parameters
- {Array}ext (OPTION) - array of extension parameters for "responseExtensions".
new KJUR.asn1.ocsp.ResponseData({ respid: {key: "12ab..."}, prodat: "20200903235959Z", array: [ <>, ... ], ext: [{extname:"ocspNonce",hex:"12ab..."}] });
- Parameters:
- {Array} params
- JSON object of constructor parameters
- Since:
- jsrsasign 9.1.6 asn1ocsp 1.1.0