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

check_validity

        # OpenSSL::OCSP::SingleResponse.check_validity

(from ruby core)
### Implementation from SingleResponse
---
    single_response.check_validity(nsec = 0, maxsec = -1) -> true | false

---

Checks the validity of thisUpdate and nextUpdate fields of this
SingleResponse. This checks the current time is within the range
thisUpdate to nextUpdate.

It is possible that the OCSP request takes a few seconds or the time is
not accurate. To avoid rejecting a valid response, this method allows
the times to be within *nsec* seconds of the current time.

Some responders don't set the nextUpdate field. This may cause a very
old response to be considered valid. The *maxsec* parameter can be used
to limit the age of responses.



      

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.