Finish initial CPL markers support.
[libdcp.git] / src / certificate.h
index 326f277b0820a2b224f0cfc28de46845b01c4896..4be673cc88f82e468f4f1b41027db6b1de122a05 100644 (file)
@@ -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;
@@ -90,6 +92,8 @@ public:
 
        std::string thumbprint () const;
 
+       bool has_utf8_strings () const;
+
 private:
 
        static std::string name_for_xml (X509_NAME *);