summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-18 08:16:50 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-18 08:16:50 +0100
commitbdcffe88e19b7f6a2757a84bafeb5d16c1914497 (patch)
treec0bbb22a857d37b90c9a91ff6a5b0a20f456e9e5 /src
parent127c14300f1d2df9fc2b9dd4ffb5218ea6a717c3 (diff)
Some comments.
Diffstat (limited to 'src')
-rw-r--r--src/cpl.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 95bcd03f..d3b4e544 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -94,13 +94,22 @@ public:
void write_to_assetmap (xmlpp::Node *) const;
void write_to_pkl (xmlpp::Node *) const;
+ /** Make a KDM for this CPL.
+ * @param certificates
+ * @param signer_key
+ * @param recipient_cert The certificate of the projector that this KDM is targeted at. This will contain the
+ * projector's public key (P) which is used to encrypt the content keys.
+ * @param from Time that the KDM should be valid from.
+ * @param until Time that the KDM should be valid until.
+ * @param interop true to generate an interop KDM, false for SMPTE.
+ */
boost::shared_ptr<xmlpp::Document> make_kdm (
- CertificateChain const &,
- std::string const &,
- boost::shared_ptr<const Certificate>,
+ CertificateChain const & certificates,
+ std::string const & signer_key,
+ boost::shared_ptr<const Certificate> recipient_cert,
boost::posix_time::ptime from,
boost::posix_time::ptime until,
- bool,
+ bool interop,
MXFMetadata const &,
XMLMetadata const &
) const;