diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-08 23:56:52 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-08 23:56:52 +0000 |
| commit | 27e1378bede33c51835fd6307239692909d834d8 (patch) | |
| tree | 1c0da933f146ad814b99f80b61fa5f6aa2d684a9 /src/decrypted_kdm.h | |
| parent | 4af8d182454ef8452210612c396d514077cd27e1 (diff) | |
Take thumbprint rather than a full dcp::Certificate for trusted devices.
Diffstat (limited to 'src/decrypted_kdm.h')
| -rw-r--r-- | src/decrypted_kdm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h index 7ae1d161..1cf1e0d4 100644 --- a/src/decrypted_kdm.h +++ b/src/decrypted_kdm.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2017 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -121,7 +121,7 @@ public: /** Encrypt this KDM's keys and sign the whole KDM. * @param signer Chain to sign with. * @param recipient Certificate of the projector/server which should receive this KDM's keys. - * @param trusted_devices Extra trusted devices which should be written to the KDM (recipient will be written + * @param trusted_devices Thumbprints of extra trusted devices which should be written to the KDM (recipient will be written * as a trusted device automatically and does not need to be included in this list). * @param formulation Formulation to use for the encrypted KDM. * @param disable_forensic_marking_picture true to disable forensic marking of picture. @@ -132,7 +132,7 @@ public: EncryptedKDM encrypt ( boost::shared_ptr<const CertificateChain> signer, Certificate recipient, - std::vector<Certificate> trusted_devices, + std::vector<std::string> trusted_devices, Formulation formulation, bool disable_forensic_marking_picture, boost::optional<int> disable_forensic_marking_audio |
