diff options
Diffstat (limited to 'src/decrypted_kdm.h')
| -rw-r--r-- | src/decrypted_kdm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h index bb50d6ad..3c3d07db 100644 --- a/src/decrypted_kdm.h +++ b/src/decrypted_kdm.h @@ -24,6 +24,7 @@ #include "key.h" #include "local_time.h" #include "decrypted_kdm_key.h" +#include "types.h" #include <boost/filesystem.hpp> namespace dcp { @@ -75,9 +76,10 @@ public: /** Encrypt this KDM's keys and sign the whole KDM. * @param signer Signer. * @param recipient Certificate of the projector/server which should receive this KDM's keys. + * @param formulation Formulation to use for the encrypted KDM. * @return Encrypted KDM. */ - EncryptedKDM encrypt (boost::shared_ptr<const Signer> signer, boost::shared_ptr<const Certificate> recipient) const; + EncryptedKDM encrypt (boost::shared_ptr<const Signer> signer, boost::shared_ptr<const Certificate> recipient, Formulation formulation) const; /** @return This KDM's (decrypted) keys, which could be used to decrypt MXFs. */ std::list<DecryptedKDMKey> keys () const { |
