Skip to content
instance method

OpenSSL::OCSP::Request#add_nonce

(?::String nonce) -> self
request.add_nonce(nonce = nil) → request

Adds a nonce to the OCSP request. If no nonce is given a random one will be generated.

The nonce is used to prevent replay attacks but some servers do not support it.

See also #add_certid #certid .new #check_nonce also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0