D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
OCSP
/
Request
/
Filename :
check_nonce-i.ri
back
Copy
U:RDoc::AnyMethod[iI"check_nonce:ETI"'OpenSSL::OCSP::Request#check_nonce;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"?Checks the nonce validity for this request and _response_.;To:RDoc::Markup::BlankLine o; ; [I".The return value is one of the following:;T@o:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I"-1 ;T; [o; ; [I"nonce in request only.;To;;[I"0 ;T; [o; ; [I"'nonces both present and not equal.;To;;[I"1 ;T; [o; ; [I"nonces present and equal.;To;;[I"2 ;T; [o; ; [I"nonces both absent.;To;;[I"3 ;T; [o; ; [I"$nonce present in response only.;T@o; ; [I"QFor most responses, clients can check _result_ > 0. If a responder doesn't ;TI"Ohandle nonces <code>result.nonzero?</code> may be necessary. A result of ;TI"'<code>0</code> is always an error.;T: @fileI"ext/openssl/ossl_ocsp.c;T:0@omit_headings_from_table_of_contents_below0I"-request.check_nonce(response) -> result ;T0[ I" (p1);T@<FI"Request;TcRDoc::NormalClass00