instance method
OpenSSL::Timestamp::TokenInfo#message_imprint
() -> ::String
token_info.msg_imprint → string.
ext/openssl/ossl_ts.c
View on GitHub ↗
static VALUE
ossl_ts_token_info_get_msg_imprint(VALUE self)
{
TS_TST_INFO *info;
TS_MSG_IMPRINT *mi;
ASN1_OCTET_STRING *hashed_msg;
VALUE ret;
GetTSTokenInfo(self, info);
mi = TS_TST_INFO_get_msg_imprint(info);
hashed_msg = TS_MSG_IMPRINT_get_msg(mi);
ret = asn1str_to_str(hashed_msg);
return ret;
}