diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-13 17:20:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-13 17:20:01 +0100 |
| commit | 6cde6bcc0b604c1a157a4ccbdce29e91f4d45a91 (patch) | |
| tree | 2fb423a179320a64589500f8f3f18d62a2141826 /src/lib/encrypted_ecinema_kdm.h | |
| parent | 2a219174c74d922d068f1ca759402bdbd1c36f3c (diff) | |
swaroop: add name to ECinema KDMs and add DKDM wrapper for ECinema.
Diffstat (limited to 'src/lib/encrypted_ecinema_kdm.h')
| -rw-r--r-- | src/lib/encrypted_ecinema_kdm.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/encrypted_ecinema_kdm.h b/src/lib/encrypted_ecinema_kdm.h index ece1e3161..0bcbc4117 100644 --- a/src/lib/encrypted_ecinema_kdm.h +++ b/src/lib/encrypted_ecinema_kdm.h @@ -40,6 +40,10 @@ public: return _id; } + std::string name () const { + return _name; + } + dcp::Data key () const { return _content_key; } @@ -47,9 +51,10 @@ public: private: friend class DecryptedECinemaKDM; - EncryptedECinemaKDM (std::string id, dcp::Key key, dcp::Certificate recipient); + EncryptedECinemaKDM (std::string id, std::string name, dcp::Key key, dcp::Certificate recipient); std::string _id; + std::string _name; /** encrypted content key */ dcp::Data _content_key; }; |
