Method: OpenSSL::Timestamp::Request#policy_id
- Defined in:
- ossl_ts.c
#policy_id ⇒ Object
Returns the ‘short name’ of the object identifier that represents the timestamp policy under which the server shall create the timestamp.
call-seq:
request.policy_id -> string or nil
361 362 363 364 365 366 367 368 369 370 |
# File 'ossl_ts.c', line 361
static VALUE
ossl_ts_req_get_policy_id(VALUE self)
{
TS_REQ *req;
GetTSRequest(self, req);
if (!TS_REQ_get_policy_id(req))
return Qnil;
return get_asn1obj(TS_REQ_get_policy_id(req));
}
|