Websocket Authenticator.
More...
#include <WebsocketAuthenticator.h>
|
static std::pair< std::unique_ptr< char[]>, std::unique_ptr< char[]> > | generateKeyPair () noexcept |
|
static bool | verify (const char *key, const char *result) noexcept |
|
static std::unique_ptr< char[]> | toResult (const char *key) noexcept |
|
|
static void | generateKey (uint8_t key[16]) |
| Generate a binary key.
|
|
|
static const char * | append_string = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" |
|
◆ WebsocketAuthenticator()
sese::net::ws::WebsocketAuthenticator::WebsocketAuthenticator |
( |
| ) |
|
|
delete |
◆ generateKey()
void sese::net::ws::WebsocketAuthenticator::generateKey |
( |
uint8_t | key[16] | ) |
|
|
staticprivate |
◆ generateKeyPair()
std::pair< std::unique_ptr< char[]>, std::unique_ptr< char[]> > sese::net::ws::WebsocketAuthenticator::generateKeyPair |
( |
| ) |
|
|
staticnoexcept |
◆ toResult()
std::unique_ptr< char[]> sese::net::ws::WebsocketAuthenticator::toResult |
( |
const char * | key | ) |
|
|
staticnoexcept |
◆ verify()
bool sese::net::ws::WebsocketAuthenticator::verify |
( |
const char * | key, |
|
|
const char * | result ) |
|
staticnoexcept |
◆ append_string
const char * sese::net::ws::WebsocketAuthenticator::append_string = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" |
|
staticprivate |
The documentation for this class was generated from the following files: