From 781982ea9a78f88fef130dc08cd028b7e5f47937 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 18 Sep 2013 18:46:58 +0100 Subject: A few encryption-related fixes and comments. --- src/util.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 80015593..4f590198 100644 --- a/src/util.h +++ b/src/util.h @@ -28,6 +28,8 @@ #include #include #include +#include +#include #include #include "types.h" @@ -69,14 +71,15 @@ extern boost::shared_ptr decompress_j2k (uint8_t* data, int64_t size, extern void init (); -extern void sign (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & signer_key, bool interop); -extern void add_signature_value (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & signer_key, std::string const & ns); +extern void sign (xmlpp::Element* parent, CertificateChain const & certificates, boost::filesystem::path signer_key, bool interop); +extern void add_signature_value (xmlpp::Element* parent, CertificateChain const & certificates, boost::filesystem::path signer_key, std::string const & ns); extern void add_signer (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & ns); extern int base64_decode (std::string const & in, unsigned char* out, int out_length); extern std::string tm_to_string (struct tm *); extern std::string utc_offset_to_string (int); +extern std::string ptime_to_string (boost::posix_time::ptime); } -- cgit v1.2.3