X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fdecrypted_kdm.h;h=7ae1d161feaf1efefb5820985b68bbe5646371b6;hb=f2f2a2afc393dcaee747b97173d71a622d05d910;hp=c264bfbcf305aac9dd79482bc9ef009c1f5e6078;hpb=697a8c5a86b013ff4dd78b6c3b79b09522bd9e46;p=libdcp.git diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h index c264bfbc..7ae1d161 100644 --- a/src/decrypted_kdm.h +++ b/src/decrypted_kdm.h @@ -124,6 +124,9 @@ public: * @param trusted_devices 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. + * @param disable_forensic_marking_audio if not set, don't disable forensic marking of audio. If set to 0, + * disable all forensic marking; if set above 0, disable forensic marking above that channel. * @return Encrypted KDM. */ EncryptedKDM encrypt ( @@ -131,8 +134,8 @@ public: Certificate recipient, std::vector trusted_devices, Formulation formulation, - int disable_forensic_marking_picture, - int disable_forensic_marking_audio + bool disable_forensic_marking_picture, + boost::optional disable_forensic_marking_audio ) const; void add_key (boost::optional type, std::string key_id, Key key, std::string cpl_id, Standard standard);