This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

add_status

        # OpenSSL::OCSP::BasicResponse.add_status

(from ruby core)
### Implementation from BasicResponse
---
    basic_response.add_status(certificate_id, status, reason, revocation_time, this_update, next_update, extensions) -> basic_response

---

Adds a certificate status for *certificate_id*. *status* is the status,
and must be one of these:

*   OpenSSL::OCSP::V_CERTSTATUS_GOOD
*   OpenSSL::OCSP::V_CERTSTATUS_REVOKED
*   OpenSSL::OCSP::V_CERTSTATUS_UNKNOWN


*reason* and *revocation_time* can be given only when *status* is
OpenSSL::OCSP::V_CERTSTATUS_REVOKED. *reason* describes the reason for
the revocation, and must be one of OpenSSL::OCSP::REVOKED_STATUS_*
constants. *revocation_time* is the time when the certificate is
revoked.

*this_update* and *next_update* indicate the time at which the status is
verified to be correct and the time at or before which newer information
will be available, respectively. *next_update* is optional.

*extensions* is an Array of OpenSSL::X509::Extension to be included in
the SingleResponse. This is also optional.

Note that the times, *revocation_time*, *this_update* and *next_update*
can be specified in either of Integer or Time object. If they are
Integer, it is treated as the relative seconds from the current time.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.