summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-02 12:56:14 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-02 12:56:14 +0100
commit37a00950acd0df2796345005cf5a1973eeca1136 (patch)
treee846b7b18d1265f6491d4faa4aab902da3f2506f /src
parent938f413bb4ebecd51c805027e331cb7eb0ca9502 (diff)
Missing file.
Diffstat (limited to 'src')
-rw-r--r--src/encryption.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/encryption.h b/src/encryption.h
new file mode 100644
index 00000000..f143f0df
--- /dev/null
+++ b/src/encryption.h
@@ -0,0 +1,37 @@
+/*
+ Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#include <string>
+#include "certificates.h"
+
+namespace libdcp {
+
+class Encryption
+{
+public:
+ Encryption (CertificateChain c, std::string const & k)
+ : certificates (c)
+ , signer_key (k)
+ {}
+
+ CertificateChain certificates;
+ std::string signer_key;
+};
+
+}