Method: OpenSSL::X509::Certificate#not_after
- Defined in:
- ossl_x509cert.c
#not_after ⇒ Time
456 457 458 459 460 461 462 463 464 465 466 467 468 |
# File 'ossl_x509cert.c', line 456
static VALUE
ossl_x509_get_not_after(VALUE self)
{
X509 *x509;
const ASN1_TIME *asn1time;
GetX509(self, x509);
if (!(asn1time = X509_get0_notAfter(x509))) {
ossl_raise(eX509CertError, NULL);
}
return asn1time_to_time(asn1time);
}
|