summaryrefslogtreecommitdiff
path: root/src/decrypted_kdm.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-30 02:10:09 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-30 02:10:09 +0100
commit57b862d997857868d0c3c91a9776f854b62c6b56 (patch)
treeed3bf26ba60645094853d05918bc22750bb356f7 /src/decrypted_kdm.h
parentd69d2d2d32b6f874cc13ecec1ce705d44a1feb24 (diff)
Merge Signer into CertificateChain.
Diffstat (limited to 'src/decrypted_kdm.h')
-rw-r--r--src/decrypted_kdm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h
index 710de519..45ad8fa6 100644
--- a/src/decrypted_kdm.h
+++ b/src/decrypted_kdm.h
@@ -35,7 +35,7 @@ namespace dcp {
class DecryptedKDMKey;
class EncryptedKDM;
-class Signer;
+class CertificateChain;
class CPL;
/** @class DecryptedKDM
@@ -72,12 +72,12 @@ public:
);
/** Encrypt this KDM's keys and sign the whole KDM.
- * @param signer Signer.
+ * @param signer Chain to sign with.
* @param recipient Certificate of the projector/server which should receive this KDM's keys.
* @param formulation Formulation to use for the encrypted KDM.
* @return Encrypted KDM.
*/
- EncryptedKDM encrypt (boost::shared_ptr<const Signer> signer, Certificate recipient, Formulation formulation) const;
+ EncryptedKDM encrypt (boost::shared_ptr<const CertificateChain> signer, Certificate recipient, Formulation formulation) const;
/** @return This KDM's (decrypted) keys, which could be used to decrypt assets. */
std::list<DecryptedKDMKey> keys () const {