From 7c96d50eb8229188734e17671aa3063c2e4bc002 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 12 Feb 2022 19:21:59 +0100 Subject: Add Certificate::not_{before,after} --- src/certificate.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/certificate.h') diff --git a/src/certificate.h b/src/certificate.h index 0d333f1e..4be673cc 100644 --- a/src/certificate.h +++ b/src/certificate.h @@ -81,6 +81,8 @@ public: std::string subject_common_name () const; std::string subject_organization_name () const; std::string subject_organizational_unit_name () const; + struct tm not_before () const; + struct tm not_after () const; X509* x509 () const { return _certificate; -- cgit v1.2.3