Class Index | File Index

Classes


Class KJUR.asn1.ocsp.OCSPRequest


Extends KJUR.asn1.ASN1Object.
ASN.1 OCSPRequest class for OCSP
Defined in: asn1ocsp-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ASN.1 OCSPRequest class for OCSP
OCSPRequest ASN.1 class is defined in RFC 6960 4.1.1.
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex
Class Detail
KJUR.asn1.ocsp.OCSPRequest(params)
ASN.1 OCSPRequest class for OCSP
OCSPRequest ASN.1 class is defined in RFC 6960 4.1.1. A signed request is not supported yet in this version.
OCSPRequest ::= SEQUENCE {
  tbsRequest             TBSRequest,
  optionalSignature  [0] EXPLICIT Signature OPTIONAL }
// default constructor
o = new KJUR.asn1.ocsp.OCSPRequest();
// constructor with requestList parameter
o = new KJUR.asn1.ocsp.OCSPRequest({reqList:[
  {issuerCert: "-----BEGIN...", subjectCert: "-----BEGIN...", alg:},
  {issuerCert: "-----BEGIN...", subjectCert: "-----BEGIN...", alg: "sha256"}
]});
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 6.1.0 asn1ocsp 1.0.0

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