method
not_after=
v2_1_10 -
Show latest stable
- Class:
OpenSSL::X509::Certificate
not_after=(p1)public
No documentation available.
static VALUE
ossl_x509_set_not_after(VALUE self, VALUE time)
{
X509 *x509;
time_t sec;
sec = time_to_time_t(time);
GetX509(self, x509);
if (!X509_time_adj(X509_get_notAfter(x509), 0, &sec)) {
ossl_raise(eX509CertError, NULL);
}
return time;
}