summaryrefslogtreecommitdiff
path: root/src/decrypted_kdm.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-21 15:42:48 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-21 15:42:48 +0100
commit55c649e790b73e3f8d493cd12c346e3bddcba25d (patch)
tree4f50d87782a4ec58219e5a2ef468075b5e4d36f7 /src/decrypted_kdm.h
parent19356a292ba53b6d40270b1e74af5dad2304dbd5 (diff)
Remove some shared_ptr-itis.
Diffstat (limited to 'src/decrypted_kdm.h')
-rw-r--r--src/decrypted_kdm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h
index 88cbc1e6..91b2f7d3 100644
--- a/src/decrypted_kdm.h
+++ b/src/decrypted_kdm.h
@@ -28,6 +28,7 @@
#include "local_time.h"
#include "decrypted_kdm_key.h"
#include "types.h"
+#include "certificates.h"
#include <boost/filesystem.hpp>
namespace dcp {
@@ -35,7 +36,6 @@ namespace dcp {
class DecryptedKDMKey;
class EncryptedKDM;
class Signer;
-class Certificate;
class CPL;
/** @class DecryptedKDM
@@ -77,7 +77,7 @@ public:
* @param formulation Formulation to use for the encrypted KDM.
* @return Encrypted KDM.
*/
- EncryptedKDM encrypt (boost::shared_ptr<const Signer> signer, boost::shared_ptr<const Certificate> recipient, Formulation formulation) const;
+ EncryptedKDM encrypt (boost::shared_ptr<const Signer> signer, Certificate recipient, Formulation formulation) const;
/** @return This KDM's (decrypted) keys, which could be used to decrypt MXFs. */
std::list<DecryptedKDMKey> keys () const {