Class Index | File Index

Classes


Class KJUR.asn1.ocsp.ResponseBytes


Extends KJUR.asn1.ASN1Object.
ResponseBytes ASN.1 class encoder
Defined in: asn1ocsp-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ResponseBytes ASN.1 class encoder
OCSPResponse 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.ResponseBytes(params)
ResponseBytes ASN.1 class encoder
OCSPResponse ASN.1 class is defined in RFC 6960 4.2.1.
ResponseBytes ::=       SEQUENCE {
    responseType   OBJECT IDENTIFIER,
    response       OCTET STRING }
id-pkix-ocsp           OBJECT IDENTIFIER ::= { id-ad-ocsp }
id-pkix-ocsp-basic     OBJECT IDENTIFIER ::= { id-pkix-ocsp 1 }
This constructor accepts all parameter of KJUR.asn1.ocsp.BasicOCSPResponse. Further more following property is needed:
  • {String}restype - only "ocspBasic" can be available
o = new KJUR.asn1.ocsp.ResponseBytes({
  restype: "ocspBasic",
  // BasicOCSPResponse properties shall be specified
});
Parameters:
{Array} params
JSON object of constructor parameters
Since:
jsrsasign 9.1.6 asn1ocsp 1.1.0
See:
KJUR.asn1.ocsp.OCSPResponse
KJUR.asn1.ocsp.BasicOCSPResponse

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