diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-18 08:16:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-18 08:16:50 +0100 |
| commit | bdcffe88e19b7f6a2757a84bafeb5d16c1914497 (patch) | |
| tree | c0bbb22a857d37b90c9a91ff6a5b0a20f456e9e5 /src/cpl.h | |
| parent | 127c14300f1d2df9fc2b9dd4ffb5218ea6a717c3 (diff) | |
Some comments.
Diffstat (limited to 'src/cpl.h')
| -rw-r--r-- | src/cpl.h | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -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; |
