summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-01 20:11:25 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-01 20:11:25 +0000
commit3adf49eea65c2c015ae0b5bc7f066a599faf3933 (patch)
tree93e571aea5eec12772cf39058b51ddcabd8f3ee9 /src/dcp.h
parent4f902db0ad994910a34ca845225635ceefcac96e (diff)
Some work on encryption / signing.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dcp.h b/src/dcp.h
index d4f6aff9..ca011c36 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -29,6 +29,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/signals2.hpp>
#include "types.h"
+#include "certificates.h"
namespace xmlpp {
class Node;
@@ -85,7 +86,7 @@ public:
bool equals (CPL const & other, EqualityOptions options, std::list<std::string>& notes) const;
- void write_xml () const;
+ void write_xml (bool, CertificateChain const &) const;
void write_to_assetmap (std::ostream& s) const;
void write_to_pkl (std::ostream& s) const;
@@ -182,6 +183,9 @@ private:
/** the directory that we are writing to */
std::string _directory;
std::list<boost::shared_ptr<const CPL> > _cpls;
+
+ bool _encrypted;
+ CertificateChain _certificates;
};
}