instance method
OpenSSL::X509::Certificate#not_before
() -> ::Time?
cert.not_before => time
ext/openssl/ossl_x509cert.c
View on GitHub ↗
static VALUE
ossl_x509_get_not_before(VALUE self)
{
X509 *x509;
const ASN1_TIME *asn1time;
GetX509(self, x509);
if (!(asn1time = X509_get0_notBefore(x509))) {
ossl_raise(eX509CertError, NULL);
}
return asn1time_to_time(asn1time);
}
No documentation available
See also
#not_before=
#not_after=
#not_after
#pretty_print
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0