Method: OpenSSL::Timestamp::TokenInfo#version
- Defined in:
- ossl_ts.c
#version ⇒ Object
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.
call-seq:
token_info.version -> Integer or nil
889 890 891 892 893 894 895 896 |
# File 'ossl_ts.c', line 889
static VALUE
ossl_ts_token_info_get_version(VALUE self)
{
TS_TST_INFO *info;
GetTSTokenInfo(self, info);
return LONG2NUM(TS_TST_INFO_get_version(info));
}
|