End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::Timestamp::Request#policy_id
request.policy_id → string or nil
ext/openssl/ossl_ts.c
View on GitHub ↗
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));
}
Returns the ‘short name’ of the object identifier that represents the timestamp policy under which the server shall create the timestamp.