Class Index | File Index

Classes


Class KJUR.asn1.ocsp.SingleResponseList


Extends KJUR.asn1.ASN1Object.
ASN.1 class encoder for SEQUENCE OF SingleResponse
Defined in: asn1ocsp-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ASN.1 class encoder for SEQUENCE OF SingleResponse
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.SingleResponseList(params)
ASN.1 class encoder for SEQUENCE OF SingleResponse
ASN.1 class of SEQUENCE OF SingleResponse 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 }
SingleResponse ::= SEQUENCE {
   certID                       CertID,
   certStatus                   CertStatus,
   thisUpdate                   GeneralizedTime,
   nextUpdate         [0]       EXPLICIT GeneralizedTime OPTIONAL,
   singleExtensions   [1]       EXPLICIT Extensions OPTIONAL }
Following properties are available:
  • {Array}name (OPTION) - JSON object of KJUR.asn1.x509.X500Name parameter for "byName"
  • {String}key (OPTION) - hexadecimal string of KeyHash value
new KJUR.asn1.ocsp.SingleResponseList([{
  certid: {alg:"sha1",issname:"12ab",isskey:"12ab",sbjsn:"12ab"},
  status: {status: "good"},
  thisupdate: "20200903235959Z"
},{
  certid: {alg:"sha1",issname:"24ab",isskey:"24ab",sbjsn:"24ab"},
  status: {status: "good"},
  thisupdate: "20200904235959Z"
])
Parameters:
{Array} params
array of JSON object for SingleResponse parameters
Since:
jsrsasign 9.1.6 asn1ocsp 1.1.0
See:
KJUR.asn1.ocsp.OCSPResponse
KJUR.asn1.ocsp.ResponseBytes
KJUR.asn1.ocsp.BasicOCSPResponse
KJUR.asn1.ocsp.ResponseData
KJUR.asn1.ocsp.SingleResponse

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