Skip to content

End of Life Ruby 3.1 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" → 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.3 · 3.2 · 3.0