|
#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 );
|
|
}
|
|
|