D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
OCSP
/
BasicResponse
/
Filename :
add_status-i.ri
back
Copy
U:RDoc::AnyMethod[iI"add_status:ETI",OpenSSL::OCSP::BasicResponse#add_status;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"QAdds a certificate status for _certificate_id_. _status_ is the status, and ;TI"must be one of these:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"%OpenSSL::OCSP::V_CERTSTATUS_GOOD;To;;0; [o; ; [I"(OpenSSL::OCSP::V_CERTSTATUS_REVOKED;To;;0; [o; ; [I"(OpenSSL::OCSP::V_CERTSTATUS_UNKNOWN;T@o; ; [ I"G_reason_ and _revocation_time_ can be given only when _status_ is ;TI"POpenSSL::OCSP::V_CERTSTATUS_REVOKED. _reason_ describes the reason for the ;TI"Orevocation, and must be one of OpenSSL::OCSP::REVOKED_STATUS_* constants. ;TI"C_revocation_time_ is the time when the certificate is revoked.;T@o; ; [I"N_this_update_ and _next_update_ indicate the time at which the status is ;TI"Nverified to be correct and the time at or before which newer information ;TI"@will be available, respectively. _next_update_ is optional.;T@o; ; [I"P_extensions_ is an Array of OpenSSL::X509::Extension to be included in the ;TI"+SingleResponse. This is also optional.;T@o; ; [I"MNote that the times, _revocation_time_, _this_update_ and _next_update_ ;TI"Scan be specified in either of Integer or Time object. If they are Integer, it ;TI">is treated as the relative seconds from the current time.;T: @fileI"ext/openssl/ossl_ocsp.c;T:0@omit_headings_from_table_of_contents_below0I"�basic_response.add_status(certificate_id, status, reason, revocation_time, this_update, next_update, extensions) -> basic_response ;T0[ I"!(p1, p2, p3, p4, p5, p6, p7);T@5FI"BasicResponse;TcRDoc::NormalClass00