Tidying.
[libdcp.git] / src / decrypted_kdm_key.h
index b98f1b2b3eae2fca8a037e21aceec84a9f041013..f1218d3f0a872813e4ba73648b57ed992d0bf378 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of libdcp.
 
     files in the program, then also delete it here.
 */
 
+
 /** @file  src/decrypted_kdm_key.h
  *  @brief DecryptedKDMKey class
  */
 
+
 #ifndef LIBDCP_DECRYPTED_KDM_KEY_H
 #define LIBDCP_DECRYPTED_KDM_KEY_H
 
+
 #include "key.h"
 #include "types.h"
 #include <boost/optional.hpp>
 
+
 namespace dcp {
 
+
 /** @class DecryptedKDMKey
- *  @brief An un- or de-crypted key from a KDM.
+ *  @brief An un- or de-crypted key from a KDM
  */
 class DecryptedKDMKey
 {
 public:
-       DecryptedKDMKey (boost::optional<std::string> type, std::string id, Key key, std::string cpl_id, Standard standard, std::string signer_thumbprint)
+       DecryptedKDMKey (boost::optional<std::string> type, std::string id, Key key, std::string cpl_id, Standard standard)
                : _type (type)
                , _id (id)
                , _key (key)
                , _cpl_id (cpl_id)
                , _standard (standard)
-               , _signer_thumbprint (signer_thumbprint)
        {}
 
        boost::optional<std::string> type () const {
@@ -79,21 +83,19 @@ public:
                return _standard;
        }
 
-       std::string signer_thumbprint () const {
-               return _signer_thumbprint;
-       }
-
 private:
        boost::optional<std::string> _type;
        std::string _id;
        Key _key;
        std::string _cpl_id;
        Standard _standard;
-       std::string _signer_thumbprint;
 };
 
+
 bool operator== (DecryptedKDMKey const &, DecryptedKDMKey const &);
 
+
 }
 
+
 #endif