summaryrefslogtreecommitdiff
path: root/src/decrypted_kdm.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-11 15:59:49 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-11 15:59:49 +0100
commit5d6770aea92d798a31fdbda128411ce2001a4209 (patch)
treeb4ec279ddc900dbbb2dbf57a36d19e8034505402 /src/decrypted_kdm.h
parent3f40eb5821858264f2c2fbf3eba86f743f9ab8ed (diff)
Don't use stringstream in DecryptedKDM.
Diffstat (limited to 'src/decrypted_kdm.h')
-rw-r--r--src/decrypted_kdm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h
index 4ac95dc6..356b9883 100644
--- a/src/decrypted_kdm.h
+++ b/src/decrypted_kdm.h
@@ -46,6 +46,8 @@
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
+class decrypted_kdm_test;
+
namespace dcp {
class DecryptedKDMKey;
@@ -138,6 +140,12 @@ public:
}
private:
+
+ friend class ::decrypted_kdm_test;
+
+ static void put_uuid (uint8_t ** d, std::string id);
+ static std::string get_uuid (unsigned char ** p);
+
LocalTime _not_valid_before;
LocalTime _not_valid_after;
boost::optional<std::string> _annotation_text;