D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
OCSP
/
SingleResponse
/
Filename :
check_validity-i.ri
back
Copy
U:RDoc::AnyMethod[iI"check_validity:ETI"1OpenSSL::OCSP::SingleResponse#check_validity;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"EChecks the validity of thisUpdate and nextUpdate fields of this ;TI"QSingleResponse. This checks the current time is within the range thisUpdate ;TI"to nextUpdate.;To:RDoc::Markup::BlankLine o; ; [I"QIt is possible that the OCSP request takes a few seconds or the time is not ;TI"Qaccurate. To avoid rejecting a valid response, this method allows the times ;TI"5to be within _nsec_ seconds of the current time.;T@o; ; [I"OSome responders don't set the nextUpdate field. This may cause a very old ;TI"Rresponse to be considered valid. The _maxsec_ parameter can be used to limit ;TI"the age of responses.;T: @fileI"ext/openssl/ossl_ocsp.c;T:0@omit_headings_from_table_of_contents_below0I"Ksingle_response.check_validity(nsec = 0, maxsec = -1) -> true | false ;T0[ I"(p1 = v1, p2 = v2);T@FI"SingleResponse;TcRDoc::NormalClass00