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.

34 lines
763 B

#include <pep-client.h>
DBus::BusDispatcher dispatcher;
int main()
{
DBus::default_dispatcher = &dispatcher;
DBus::Connection conn = DBus::Connection::SessionBus();
pEp::Client client(conn, "/security/pep", "security.pep");
/*message m;
m.dir=PEP_dir_outgoing;
m.id="test";
pEp_identity from;
from.address="leviathan@libresilicon.com";
m.from=&from;*/
/*pEpDBusMessage src, dst;
pEpDBusStringList keylist;
pEpDBusRating rating;
pEpDBusEncryptionFlags flags;
pEpDBusStatus status;
src.clear();*/
std::string src;
std::vector< std::string > keylist;
int32_t flags;
int32_t status;
std::string dst;
//client.decrypt_message(src, keylist, &flags, status, dst);
return 0;
}