crtd_message.h
Go to the documentation of this file.
33 };
37 };
98 };
Definition: gadgets.h:229
Definition: crtd_message.h:25
void setCode(std::string const &aCode)
Set new request/reply code to compose.
Definition: crtd_message.cc:126
static const std::string param_SetCommonName
Parameter name for passing SetCommonName cert adaptation variable.
Definition: crtd_message.h:84
void composeBody(BodyParams const &map, std::string const &other_part)
Definition: crtd_message.cc:168
static const std::string param_SetValidBefore
Parameter name for passing SetValidBefore cert adaptation variable.
Definition: crtd_message.h:82
static const std::string param_SetValidAfter
Parameter name for passing SetValidAfter cert adaptation variable.
Definition: crtd_message.h:80
static const std::string code_new_certificate
String code for "new_certificate" messages.
Definition: crtd_message.h:76
std::string const & getBody() const
Current body. If parsing is not finished the method returns incompleted body.
Definition: crtd_message.cc:120
void parseBody(BodyParams &map, std::string &other_part) const
Definition: crtd_message.cc:145
static const std::string param_host
Parameter name for passing hostname.
Definition: crtd_message.h:78
std::string const & getCode() const
Current response/request code. If parsing is not finished the method may return incompleted code.
Definition: crtd_message.cc:122
ParseResult parse(const char *buffer, size_t len)
Definition: crtd_message.cc:23
void parseRequest(CertificateProperties &)
orchestrates entire request parsing
Definition: crtd_message.cc:181
std::map< std::string, std::string > BodyParams
Definition: crtd_message.h:27
static const std::string param_Sign
Parameter name for passing signing algorithm.
Definition: crtd_message.h:86
void composeRequest(Ssl::CertificateProperties const &)
Definition: crtd_message.cc:235
Definition: Xaction.cc:40