Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

OpenSSL::Timestamp::TokenInfo#message_imprint

() -> ::String
token_info.msg_imprint → string.

Returns the message imprint digest. For valid timestamps, this is the same value that was already given in the Request. If status is GRANTED or GRANTED_WITH_MODS, this is never nil.

Example:

mi = token_info.msg_imprint
puts mi                -> "DEADBEEF"
See also #gen_time #nonce #algorithm #ordering also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0