diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-03 22:00:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-03 22:00:04 +0000 |
| commit | bb6c2aef9befb77bf14775abfedf8a2c9b7f8d53 (patch) | |
| tree | 42212efb1f2fce7e6788e1e54ceee761be561eef /src/dcp.h | |
| parent | 64a3d353037ac8285b27237ae0bd16c6c14ca17a (diff) | |
Write PKL using libxml++ and sign them.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -32,7 +32,7 @@ #include "certificates.h" namespace xmlpp { - class Node; + class Element; } /** @brief Namespace for everything in libdcp */ @@ -88,7 +88,7 @@ public: void write_xml (bool, CertificateChain const &, std::string const &) const; void write_to_assetmap (std::ostream& s) const; - void write_to_pkl (std::ostream& s) const; + void write_to_pkl (xmlpp::Element* p) const; private: std::string _directory; @@ -168,6 +168,8 @@ public: */ boost::signals2::signal<void (float)> Progress; + static void sign (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & signer_key); + private: /** Write the PKL file. |
