diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-05 22:02:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-05 22:02:24 +0000 |
| commit | fd8a665cbb0a9a44995f88567747e2379a6f4098 (patch) | |
| tree | bd5b38579afdc55025cc93e52b8595a8aeebd46a /src/util.h | |
| parent | 40c974694bb6c01d7bfd432b7467b933e01dc418 (diff) | |
Various probably quite untidy progress on KDMs.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -27,9 +27,14 @@ #include <openjpeg.h> #include "types.h" +namespace xmlpp { + class Element; +} + namespace libdcp { -class ARGBFrame; +class ARGBFrame; +class CertificateChain; /** Create a UUID. * @return UUID. @@ -55,4 +60,8 @@ extern boost::shared_ptr<ARGBFrame> xyz_to_rgb (opj_image_t* xyz_frame); extern void init (); +extern void sign (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & signer_key); +extern void add_signature_value (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & signer_key, std::string const & ns); +extern void add_signer (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & ns); + } |
