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

check_nonce

        # OpenSSL::OCSP::Request.check_nonce

(from ruby core)
### Implementation from Request
---
    request.check_nonce(response) -> result

---

Checks the nonce validity for this request and *response*.

The return value is one of the following:

-1
:   nonce in request only.
0
:   nonces both present and not equal.
1
:   nonces present and equal.
2
:   nonces both absent.
3
:   nonce present in response only.


For most responses, clients can check *result* > 0.  If a responder
doesn't handle nonces `result.nonzero?` may be necessary.  A result of
`0` is always an error.



      

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.