Skip to content
instance method

OpenSSL::OCSP::Request#verify

(::Array[::OpenSSL::X509::Certificate] certs, ::OpenSSL::X509::Store store, ?::Integer flags) -> bool
request.verify(certificates, store, flags = 0) → true or false

Verifies this request using the given certificates and store. certificates is an array of OpenSSL::X509::Certificate, store is an OpenSSL::X509::Store.

Note that false is returned if the request does not have a signature. Use signed? to check whether the request is signed or not.

See also #to_der #signed? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0