summaryrefslogtreecommitdiff
path: root/src/lib/screen.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-19 22:03:21 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-11 22:26:38 +0100
commit788ef2cf5daf510651cc4f5eb7940d7bd0c44b76 (patch)
tree75505127edb1356dfccfeda76232d49d66a9609a /src/lib/screen.h
parent57cbdbed89e6432049fec50ecef28b5b57bcf301 (diff)
Warn/error on making KDMs using recipient certs whose validity periods
lie outside those of the KDMs (#2423).
Diffstat (limited to 'src/lib/screen.h')
-rw-r--r--src/lib/screen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/screen.h b/src/lib/screen.h
index 84cecb80b..7cbeb1d15 100644
--- a/src/lib/screen.h
+++ b/src/lib/screen.h
@@ -25,6 +25,7 @@
#include "kdm_with_metadata.h"
#include "kdm_recipient.h"
+#include "kdm_util.h"
#include "trusted_device.h"
#include <dcp/certificate.h>
#include <libcxml/cxml.h>
@@ -81,7 +82,8 @@ kdm_for_screen (
boost::posix_time::ptime valid_to,
dcp::Formulation formulation,
bool disable_forensic_marking_picture,
- boost::optional<int> disable_forensic_marking_audio
+ boost::optional<int> disable_forensic_marking_audio,
+ std::vector<KDMCertificatePeriod>& period_checks
);