class OpenSSL::OCSP::Response
An OpenSSL::OCSP::Response contains the status of a certificate check which is created from an OpenSSL::OCSP::Request.
Public Class Methods
(Integer status, ?BasicResponse response) → instance
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 4946
def self.create: (Integer status, ?BasicResponse response) -> instance
Creates an OpenSSL::OCSP::Response from status and basic_response.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 4990
def initialize: (?String der) -> void
Creates a new OpenSSL::OCSP::Response. The response may be created empty or from a response_der string.
Public Instance Methods
() → BasicResponse?
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 4954
def basic: () -> BasicResponse?
Returns a BasicResponse for this response
(self) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 4997
def initialize_copy: (self) -> void
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 4962
def status: () -> Integer
Returns the status of the response.
() → String
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 4970
def status_string: () -> String
Returns a status string for the response.