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.
 

27 lines
774 B

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "pep-server.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
static const char *ASYNC_SERVER_PATH = "/security/pep";
pEp::Server::Server(DBus::Connection &connection)
: DBus::ObjectAdaptor(connection, ASYNC_SERVER_PATH)
{
}
pEp::Server::~Server() {};
void pEp::Server::decryptMessage(const pEpDBusMessage& src, const pEpDBusStringList& keylist, const pEpDBusRating& rating,
const pEpDBusEncryptionFlags& flags, pEpDBusStatus& status, pEpDBusMessage& dst)
{
std::cout << "Trying to decrypt the data" << std::endl;
//status = decrypt_message( mSession, (message*)&src, (message**)&dst, (stringlist_t**)&keylist, (PEP_rating*)rating, (PEP_encrypt_flags_t*)&flags );
}