summaryrefslogtreecommitdiff
path: root/src/certificate.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-12 19:21:59 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-12 19:21:59 +0100
commit7c96d50eb8229188734e17671aa3063c2e4bc002 (patch)
tree8e0dc81f8f4bef564f1adfdb1f3eb420bee9256f /src/certificate.h
parent4b48bfa7f069092e53bc7fcba93a99d34b18be8a (diff)
Add Certificate::not_{before,after}v1.6.20v1.6.xadd-validity
Diffstat (limited to 'src/certificate.h')
-rw-r--r--src/certificate.h2
1 files changed, 2 insertions, 0 deletions
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;