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::BlankLineo; ; [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"-to be within +nsec+ 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