DBus interface in order to connect DBus applications to the p≡p engine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
550 B

#include "pep-dbus-adapter.h"
pEp::pEpDBusAdapter::pEpDBusAdapter() {}
pEp::pEpDBusAdapter::~pEpDBusAdapter() {}
void pEp::pEpDBusAdapter::decrypt_message(const std::string& src, int32_t& status, std::string& dst, std::vector< std::string >& keylist, int32_t& flags)
bool has_possible_pEp_msg;
std::cout << "Trying to decrypt the data" << std::endl;
message **srcm;
::mime_decode_message(src.c_str(), src.size(), srcm, &has_possible_pEp_msg );
//status = ::decrypt_message( mSession, srcm, dstm, keylist, rating, flags );