summaryrefslogtreecommitdiff
path: root/test/kdm_test.cc
AgeCommit message (Collapse)Author
2021-10-08Fix problems when adding KDMs to a VF, before adding the OV.v1.8.2Carl Hetherington
If we have a KDM which contains keys for all the assets referred to by a VF (even the ones in the OV) we would previously throw an exception because we tried to give the KDM to the resolved assets when it was given to the Reel. Here we change things so that the addition of KDMs to assets can be deferred if the asset is not yet resolved.
2021-04-14Fix/hide some warnings.Carl Hetherington
2021-04-12Specify CPL standard on construction.Carl Hetherington
Then choose which standard DCP should use based on the CPL(s).
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-17Replace dcp::File with dcp::ArrayData.Carl Hetherington
2021-01-17Remove 32x32 test image.Carl Hetherington
2021-01-08More c++11 tidying.Carl Hetherington
2021-01-08Remove use of xmldiff in tests.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2019-12-01Check that KDM validity periods are safely within the validity periodsCarl Hetherington
of the signing certificate chain. This does cause problems when you try to create a KDM for a certificate you just made (due to the fact that certificates always have a start-valid time of "now") but hopefully this can be fixed up in another commit.
2019-03-16Fix some GPL boilerplate.Carl Hetherington
2018-11-08Take thumbprint rather than a full dcp::Certificate for trusted devices.Carl Hetherington
2018-02-14Use a bool instead of an int for disable-forensic-picture andCarl Hetherington
a optional<int> instead of an int with a magic -1 for disable-forensic-audio.
2018-02-14Also check passthrough of these flags.Carl Hetherington
2018-02-14Add some tests for KDM forensic marks.Carl Hetherington
2017-05-17Add scope to KeyType tags in KDMs.Carl Hetherington
2016-08-11Don't use stringstream in DecryptedKDM.Carl Hetherington
2016-07-22Use locked_sstream. Replace once parse_stream with parse_memory.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-08Some comments and test tweaks.Carl Hetherington
2014-07-20Allow loading of EncryptedKDMs from strings.Carl Hetherington
2014-07-18Quite large reworking of signer/cert handling.Carl Hetherington
2014-03-19Considerable re-work of KDM class to express the difference between ↵Carl Hetherington
encrypted and unencrypted KDMs.
2014-03-19Partial tidy-up of KDM classes.Carl Hetherington
2014-01-27Move a few things around.Carl Hetherington
2014-01-17namespace libdcp -> dcp.Carl Hetherington
2013-10-04Fix test on Windows.Carl Hetherington
2013-09-25Split tests up.Carl Hetherington
2013-09-24Various KDM work.Carl Hetherington
2013-09-23KDM passthrough works ok.Carl Hetherington
2013-09-21Unbuilt KDM changes.Carl Hetherington
2013-09-19Various encryption-related stuff.Carl Hetherington
2013-07-07Working decryption via KDM.Carl Hetherington
2013-07-06Can decrypt a KDM.Carl Hetherington