summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-18 18:46:58 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-18 18:46:58 +0100
commit781982ea9a78f88fef130dc08cd028b7e5f47937 (patch)
tree5132d1abeecd40814b06d148bfd126b3b48b2604 /src/cpl.h
parent56782052e43a1e010f7f07cbc0dbaed5b6cb50a3 (diff)
A few encryption-related fixes and comments.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpl.h b/src/cpl.h
index d3b4e544..aa07036d 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -25,6 +25,7 @@
#include <boost/function.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/optional.hpp>
+#include <boost/filesystem.hpp>
#include <libxml++/libxml++.h>
#include "types.h"
#include "certificates.h"
@@ -96,7 +97,7 @@ public:
/** Make a KDM for this CPL.
* @param certificates
- * @param signer_key
+ * @param signer_key Filename of private key to sign the KDM with.
* @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.
@@ -105,7 +106,7 @@ public:
*/
boost::shared_ptr<xmlpp::Document> make_kdm (
CertificateChain const & certificates,
- std::string const & signer_key,
+ boost::filesystem::path signer_key,
boost::shared_ptr<const Certificate> recipient_cert,
boost::posix_time::ptime from,
boost::posix_time::ptime until,