From bdcffe88e19b7f6a2757a84bafeb5d16c1914497 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 18 Sep 2013 08:16:50 +0100 Subject: Some comments. --- src/cpl.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src') 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 make_kdm ( - CertificateChain const &, - std::string const &, - boost::shared_ptr, + CertificateChain const & certificates, + std::string const & signer_key, + boost::shared_ptr recipient_cert, boost::posix_time::ptime from, boost::posix_time::ptime until, - bool, + bool interop, MXFMetadata const &, XMLMetadata const & ) const; -- cgit v1.2.3