X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fencrypted_kdm.h;h=5b60378cd1e3657ceace2f2854eb2e38318c1632;hb=eec238a778d631b8549c640178e1ab28b07505f4;hp=85cd348cfe5e59bacbae50634c71f925d1d5a2b9;hpb=d1f0b2b71a702b5624485cfeacaee5d58c4af5b2;p=libdcp.git diff --git a/src/encrypted_kdm.h b/src/encrypted_kdm.h index 85cd348c..5b60378c 100644 --- a/src/encrypted_kdm.h +++ b/src/encrypted_kdm.h @@ -15,6 +15,20 @@ You should have received a copy of the GNU General Public License along with libdcp. If not, see . + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations + including the two. + + You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you + do not wish to do so, delete this exception statement from your + version. If you delete this exception statement from all source + files in the program, then also delete it here. */ /** @file src/encrypted_kdm.h @@ -53,7 +67,7 @@ class Certificate; class EncryptedKDM { public: - EncryptedKDM (std::string); + explicit EncryptedKDM (std::string); EncryptedKDM (EncryptedKDM const & kdm); EncryptedKDM & operator= (EncryptedKDM const &); ~EncryptedKDM (); @@ -76,6 +90,8 @@ public: std::string content_title_text () const; std::string issue_date () const; std::string cpl_id () const; + LocalTime not_valid_before() const; + LocalTime not_valid_after() const; private: