D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
Timestamp
/
Response
/
Filename :
verify-i.ri
back
Copy
U:RDoc::AnyMethod[iI"verify:ETI"(OpenSSL::Timestamp::Response#verify;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"JVerifies a timestamp token by checking the signature, validating the ;TI"Qcertificate chain implied by tsa_certificate and by checking conformance to ;TI"Na given Request. Mandatory parameters are the Request associated to this ;TI"<Response, and an OpenSSL::X509::Store of trusted roots.;To:RDoc::Markup::BlankLine o; ; [I"KIntermediate certificates can optionally be supplied for creating the ;TI"Dcertificate chain. These intermediate certificates must all be ;TI"-instances of OpenSSL::X509::Certificate.;T@o; ; [I"DIf validation fails, several kinds of exceptions can be raised:;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"!TypeError if types don't fit;To;;0; [o; ; [I"NTimestampError if something is wrong with the timestamp token itself, if ;TI"Lit is not conformant to the Request, or if validation of the timestamp ;TI"certificate chain fails.;T: @fileI"ext/openssl/ossl_ts.c;T:0@omit_headings_from_table_of_contents_below0I"{response.verify(Request, root_store) -> Response response.verify(Request, root_store, [intermediate_cert]) -> Response;T0[ I"(p1, p2, p3 = v3);T@(FI" Response;TcRDoc::NormalClass00