Skip to content
instance method

OpenSSL::Timestamp::TokenInfo#policy_id

() -> ::String?
token_info.policy_id → string or nil

Returns the timestamp policy object identifier of the policy this timestamp was created under. If status is GRANTED or GRANTED_WITH_MODS, this is never nil.

Example:

id = token_info.policy_id
puts id                 -> "1.2.3.4.5"
See also #ordering #serial_number #nonce #to_der also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0