instance method
OpenSSL::OCSP::Response#status
() -> ::Integer
response.status → Integer
ext/openssl/ossl_ocsp.c
View on GitHub ↗
static VALUE
ossl_ocspres_status(VALUE self)
{
OCSP_RESPONSE *res;
int st;
GetOCSPRes(self, res);
st = OCSP_response_status(res);
return INT2NUM(st);
}
Returns the status of the response.