From 8c2f3517e868078b551bb01d975f2956cb692fbf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 27 Jan 2014 14:41:33 +0000 Subject: Various tinkerings. --- src/kdm.cc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/kdm.cc') diff --git a/src/kdm.cc b/src/kdm.cc index 3fd5d67c..c99fc21a 100644 --- a/src/kdm.cc +++ b/src/kdm.cc @@ -91,7 +91,9 @@ KDM::KDM (boost::filesystem::path kdm, boost::filesystem::path private_key) } KDM::KDM ( - shared_ptr cpl, shared_ptr signer, shared_ptr recipient_cert, + boost::shared_ptr cpl, + boost::shared_ptr signer, + boost::shared_ptr recipient_cert, boost::posix_time::ptime not_valid_before, boost::posix_time::ptime not_valid_after, string annotation_text, string issue_date ) @@ -206,7 +208,13 @@ KDM::as_xml () const } KDMKey::KDMKey ( - shared_ptr signer, string cpl_id, string key_type, string key_id, boost::posix_time::ptime from, boost::posix_time::ptime until, Key key + boost::shared_ptr signer, + string cpl_id, + string key_type, + string key_id, + boost::posix_time::ptime from, + boost::posix_time::ptime until, + Key key ) : _cpl_id (cpl_id) , _key_type (key_type) @@ -279,7 +287,7 @@ KDMKey::operator= (KDMKey const & other) } string -KDMKey::encrypted_base64 (shared_ptr recipient_cert) const +KDMKey::encrypted_base64 (boost::shared_ptr recipient_cert) const { assert (_key_type.length() == 4); assert (_not_valid_before.length() == 25); -- cgit v1.2.3