Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

OpenSSL::OCSP::BasicResponse#status

() -> ::Integer
basic_response.status → statuses

Returns an Array of statuses for this response. Each status contains a CertificateId, the status (0 for good, 1 for revoked, 2 for unknown), the reason for the status, the revocation time, the time of this update, the time for the next update and a list of OpenSSL::X509::Extension.

This should be superseded by BasicResponse#responses and find_response that return SingleResponse.

See also #sign #to_der #responses #verify also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0