Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::Timestamp::Request#policy_id
() -> ::String?
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 ossl_asn1obj_to_string(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.