Initializes a new instance of the OCSPResponse class
Initialization parameters
Optional
responseStatic
CLASS_Name of the class
Get OCSP response status for specific certificate
Crypto engine
Make a signature for current OCSP Response
Private key for "subjectPublicKeyInfo" structure
Optional
hashAlgorithm: stringHashing algorithm. Default SHA-1
Converts the class to JSON object
JSON object
Verify current OCSP Response
In order to decrease size of resp issuer cert could be omitted. In such case you need manually provide it.
Crypto engine
Static
blockStatic
compareStatic
defaultReturns default values for all class members
Default value
String name for a class member
Static
fromBERCreates PKI object from the raw data
Initialized and filled current class object
ASN.1 encoded raw data
Static
schemaReturns value of pre-defined ASN.1 schema for current class
ASN.1 schema object
Input parameters for the schema
Generated using TypeDoc
Represents an OCSP response described in RFC6960 Section 4.2
Example
The following example demonstrates how to verify OCSP response
Example
The following example demonstrates how to create OCSP response