Skip to content

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

instance method

OpenSSL::Timestamp::TokenInfo#version

token_info.version → Integer or nil

Returns the version number of the token info. With compliant servers, this value should be 1 if present. If status is GRANTED or GRANTED_WITH_MODS.

See also #to_der #serial_number also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0