Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

OpenSSL::OCSP::BasicResponse.new

(?::String der) -> ::OpenSSL::OCSP::BasicResponse
OpenSSL::OCSP::BasicResponse.new(der_string = nil) → basic_response

Creates a new BasicResponse. If der_string is given, decodes der_string as DER.

See also #add_nonce #add_status also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0