Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

OpenSSL::Timestamp::Request#policy_id=

request.policy_id = "string" → string

Allows to set the object identifier that represents the timestamp policy under which the server shall create the timestamp. This may be left nil, implying that the timestamp server will issue the timestamp using some default policy.

Example:

Example
request.policy_id = "1.2.3.4.5"
See also #policy_id #to_der #nonce= #version also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0