Some comments.
authorCarl Hetherington <cth@carlh.net>
Wed, 18 Sep 2013 07:16:50 +0000 (08:16 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 18 Sep 2013 07:16:50 +0000 (08:16 +0100)
src/cpl.h

index 95bcd03fb8d9ee217ee0b32f8da97806bf851b4f..d3b4e54437b10ae8805058cc96caad2adcbe9b7d 100644 (file)
--- 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;