summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-09 23:45:07 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-09 23:45:07 +0000
commit9da0bac018e0e7dcad0c1aafaa7f6be6d434da96 (patch)
tree428c21ec79af0e5f910f61e692e717deb25d143c /src/lib/util.h
parent39e2134910fc916a45ebddf121664afcbd76cc19 (diff)
swaroop: store whole signer/decryption chains and private keys encrypted by machine UUID.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 94e9e3761..bdf2480fc 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -100,5 +100,9 @@ extern boost::shared_ptr<AudioBuffers> remap (boost::shared_ptr<const AudioBuffe
extern Eyes increment_eyes (Eyes e);
extern void checked_fread (void* ptr, size_t size, FILE* stream, boost::filesystem::path path);
extern void checked_fwrite (void const * ptr, size_t size, FILE* stream, boost::filesystem::path path);
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+extern boost::shared_ptr<dcp::CertificateChain> read_swaroop_chain (boost::filesystem::path path);
+extern void write_swaroop_chain (boost::shared_ptr<const dcp::CertificateChain> chain, boost::filesystem::path output);
+#endif
#endif