Class KJUR.asn1.ocsp.SingleResponse
Extends
KJUR.asn1.ASN1Object.
SingleResponse ASN.1 class encoder
Defined in: asn1ocsp-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.ocsp.SingleResponse(params)
SingleResponse ASN.1 class encoder
ASN.1 class of SEQUENCE OF SingleResponse 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.SingleResponse(params)
SingleResponse ASN.1 class encoder
ASN.1 class of SEQUENCE OF SingleResponse is defined in RFC 6960 4.2.1.
ASN.1 class of SEQUENCE OF SingleResponse is defined in RFC 6960 4.2.1.
SingleResponse ::= SEQUENCE { certID CertID, certStatus CertStatus, thisUpdate GeneralizedTime, nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL, singleExtensions [1] EXPLICIT Extensions OPTIONAL }Following properties are available:
- {Array}certid - JSON object of KJUR.asn1.ocsp.CertID parameter
- {Array}status - JSON object of KJUR.asn1.ocsp.CertStatus parameter
- {Object}thisupdate - KJUR.asn1.DERGeneralizedTime parameter for "thisUpdate"
- {Object}nextupdate (OPTION) - KJUR.asn1.DERGeneralizedTime parameter for "nextUpdate"
- {Array}ext (OPTION) - array of JSON object KJUR.asn1.x509.Extension sub class parameter for "singleExtensions"
new KJUR.asn1.ocsp.SingleResponse({ certid: {alg:"sha1",issname:"12ab",isskey:"12ab",sbjsn:"12ab"}, status: {status: "good"}, thisupdate: "20200903235959Z", nextupdate: "20200913235959Z", ext: [<>...] })
- Parameters:
- {Array} params
- JSON object for SingleResponse parameter
- Since:
- jsrsasign 9.1.6 asn1ocsp 1.1.0