Method: OpenSSL::Timestamp::Request#cert_requested=

Defined in:
ossl_ts.c

#cert_requested=(requested) ⇒ Object

Specify whether the response shall contain the timestamp authority’s certificate or not. The default value is true.

call-seq:

request.cert_requested = boolean -> true or false


467
468
469
470
471
472
473
474
475
476
# File 'ossl_ts.c', line 467

static VALUE
ossl_ts_req_set_cert_requested(VALUE self, VALUE requested)
{
    TS_REQ *req;

    GetTSRequest(self, req);
    TS_REQ_set_cert_req(req, RTEST(requested));

    return requested;
}