X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdecrypted_kdm.h;fp=src%2Fdecrypted_kdm.h;h=7ae1d161feaf1efefb5820985b68bbe5646371b6;hb=e2a4e0f08c9e8cc82fb20f1cd358897fae46c9ee;hp=c264bfbcf305aac9dd79482bc9ef009c1f5e6078;hpb=4a5ef0b4dc6310c5eb7a35fb1c79541bf856b9a8;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);