Class: OpenSSL::OCSP::Response
Relationships & Source Files | |
Inherits: | Object |
Defined in: | ext/openssl/ossl_ocsp.c |
Overview
An Response
contains the status of a certificate check which is created from an Request.
Class Method Summary
-
.create(status, basic_response = nil) ⇒ Response
Creates an
Response
from #status andbasic_response
. -
.new ⇒ Response
constructor
Creates a new
Response
.
Instance Method Summary
-
#basic
Returns a BasicResponse for this response.
-
#status ⇒ Integer
Returns the status of the response.
-
#status_string ⇒ String
Returns a status string for the response.
-
#to_der ⇒ String
Returns this response as a DER-encoded string.
Constructor Details
.new ⇒ Response
.new(response_der) ⇒ Response
Response
.new(response_der) ⇒ Response
Creates a new Response
. The response may be created empty or from a response_der
string.
Class Method Details
.create(status, basic_response = nil) ⇒ Response
Creates an Response
from #status and basic_response
.
Instance Method Details
#basic
Returns a BasicResponse for this response
#status ⇒ Integer
Returns the status of the response.
#status_string ⇒ String
Returns a status string for the response.
#to_der ⇒ String
Returns this response as a DER-encoded string.