instance method
OpenSSL::Timestamp::Response#to_text
to_text
ext/openssl/ossl_ts.c
View on GitHub ↗
static VALUE
ossl_ts_resp_to_text(VALUE self)
{
TS_RESP *resp;
BIO *out;
GetTSResponse(self, resp);
out = BIO_new(BIO_s_mem());
if (!out) ossl_raise(eTimestampError, NULL);
if (!TS_RESP_print_bio(out, resp)) {
BIO_free(out);
ossl_raise(eTimestampError, NULL);
}
return ossl_membio2str(out);
}
No documentation available