From afeea0415dd56a3106a4c71df2e4a6ccc2d72e74 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 19 Sep 2013 13:05:27 +0100 Subject: Comments. --- src/kdm.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/kdm.h b/src/kdm.h index 0159470f..06f15e33 100644 --- a/src/kdm.h +++ b/src/kdm.h @@ -24,6 +24,9 @@ namespace libdcp { +/** A single cipher for encrypting or decrypting an MXF. One or more of these + * are delivered in a KDM. + */ class KDMCipher { public: @@ -56,11 +59,13 @@ public: std::string not_valid_after () const { return _not_valid_after; } - + + /** The key as a hex string */ std::string key_string () const { return _key_string; } + /** The key as 16 raw bytes */ unsigned char const * key_raw () const { return _key_raw; } -- cgit v1.2.3