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