Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::Timestamp::TokenInfo#message_imprint

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.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1