Program Listing for File PSKPipe.cpp
↰ Return to documentation for file (include/global/Crypto/Linux/PSKPipe.cpp)
#include "PSKPipe.hpp"
namespace PDJE_CRYPTO {
static std::string
GetTokenFromSTDPipe()
{
return {}; // todo -- impl
}
void *
PSKPipe::Gen() // todo -- Linux PSK Exchange: FD fixed socket + IPC shmem
// exchange
{
try {
return nullptr; // todo -- impl
} catch (const std::exception &e) {
critlog("failed to generate token pipe. WHY: ");
critlog(e.what());
return nullptr;
}
}
void
PSKPipe::Send(const std::string &msg)
{
try {
return; // todo -- impl
} catch (const std::exception &e) {
critlog("failed to Send Token. Why: ");
critlog(e.what());
}
}
PSKPipe::~PSKPipe()
{
// todo -- impl
}
}; // namespace PDJE_CRYPTO