summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-19 13:05:27 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-19 13:05:27 +0100
commitafeea0415dd56a3106a4c71df2e4a6ccc2d72e74 (patch)
tree583464b9ad98414282bb156c46f1d2042dbf39b8 /src
parent781982ea9a78f88fef130dc08cd028b7e5f47937 (diff)
Comments.
Diffstat (limited to 'src')
-rw-r--r--src/kdm.h7
1 files changed, 6 insertions, 1 deletions
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;
}