instance method
OpenSSL::Timestamp::TokenInfo#to_text
to_text
ext/openssl/ossl_ts.c
View on GitHub ↗
static VALUE
ossl_ts_token_info_to_text(VALUE self)
{
TS_TST_INFO *info;
BIO *out;
GetTSTokenInfo(self, info);
out = BIO_new(BIO_s_mem());
if (!out) ossl_raise(eTimestampError, NULL);
if (!TS_TST_INFO_print_bio(out, info)) {
BIO_free(out);
ossl_raise(eTimestampError, NULL);
}
return ossl_membio2str(out);
}
No documentation available