X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fdecrypted_kdm.cc;h=99cbca10ff040bd1b87eca376f490e45baaf9e2b;hb=f0a6d7b5b8d16b8b47917cd30b340917f5c62fc5;hp=3e48e23f76e0ae16084e5a0d951ade246fe7b016;hpb=6a9f36928b7404250fc71694e88a73d5b4125695;p=libdcp.git diff --git a/src/decrypted_kdm.cc b/src/decrypted_kdm.cc index 3e48e23f..99cbca10 100644 --- a/src/decrypted_kdm.cc +++ b/src/decrypted_kdm.cc @@ -36,6 +36,7 @@ #include using std::list; +using std::vector; using std::string; using std::stringstream; using std::setw; @@ -249,7 +250,7 @@ DecryptedKDM::add_key (DecryptedKDMKey key) } EncryptedKDM -DecryptedKDM::encrypt (shared_ptr signer, Certificate recipient, Formulation formulation) const +DecryptedKDM::encrypt (shared_ptr signer, Certificate recipient, vector trusted_devices, Formulation formulation) const { list > key_ids; list keys; @@ -305,6 +306,7 @@ DecryptedKDM::encrypt (shared_ptr signer, Certificate re return EncryptedKDM ( signer, recipient, + trusted_devices, device_list_description, _keys.front().cpl_id (), _content_title_text,