42#ifndef _DWMCREDENCESIGNER_HH_
43#define _DWMCREDENCESIGNER_HH_
62 static bool Sign(
const std::string & message,
63 const std::string & signingKey,
64 std::string & signedMessage);
72 static bool Open(
const std::string & signedMessage,
73 const std::string & publicKey,
74 std::string & message);
Encapsulates message signing and opening of signed messages.
Definition DwmCredenceSigner.hh:55
static bool Sign(const std::string &message, const std::string &signingKey, std::string &signedMessage)
Signs the given message with the given signingKey, storing the signed message in signedMessage.
static bool Open(const std::string &signedMessage, const std::string &publicKey, std::string &message)
Opens the given signedMessage that must have been signed by the owner of the given publicKey,...