instance method
OpenSSL::Timestamp::Request#to_text
to_text
ext/openssl/ossl_ts.c
View on GitHub ↗
static VALUE
ossl_ts_req_to_text(VALUE self)
{
TS_REQ *req;
BIO *out;
GetTSRequest(self, req);
out = BIO_new(BIO_s_mem());
if (!out) ossl_raise(eTimestampError, NULL);
if (!TS_REQ_print_bio(out, req)) {
BIO_free(out);
ossl_raise(eTimestampError, NULL);
}
return ossl_membio2str(out);
}
No documentation available