Method: OpenSSL::Timestamp::TokenInfo#policy_id
- Defined in:
- ossl_ts.c
#policy_id ⇒ Object
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"
call-seq:
token_info.policy_id -> string or nil
910 911 912 913 914 915 916 917 |
# File 'ossl_ts.c', line 910
static VALUE
ossl_ts_token_info_get_policy_id(VALUE self)
{
TS_TST_INFO *info;
GetTSTokenInfo(self, info);
return get_asn1obj(TS_TST_INFO_get_policy_id(info));
}
|