diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-19 13:05:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-19 13:05:27 +0100 |
| commit | afeea0415dd56a3106a4c71df2e4a6ccc2d72e74 (patch) | |
| tree | 583464b9ad98414282bb156c46f1d2042dbf39b8 /src | |
| parent | 781982ea9a78f88fef130dc08cd028b7e5f47937 (diff) | |
Comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/kdm.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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; } |
