HTTPS server backend that adds Sunshine's client-certificate verification.
More...
|
| | SunshineHTTPSServer (const std::string &certification_file, const std::string &private_key_file) |
| | Initialize the HTTPS server with Sunshine's certificate and key files.
|
| |
|
|
std::function< void(std::shared_ptr< Response >, std::shared_ptr< Request >)> | on_verify_failed |
| | Handler used to return the pairing challenge when client verification fails.
|
| |
|
std::function< int(SSL *)> | verify |
| | Callback that validates a client's TLS certificate after handshake.
|
| |
|
|
void | accept () override |
| | Accept a pending connection and arm the server for the next client.
|
| |
|
void | after_bind () override |
| | Enable client-certificate verification after the listening socket is bound.
|
| |
|
|
boost::asio::ssl::context | context |
| | TLS server context configured with Sunshine's certificate and protocol policy.
|
| |
HTTPS server backend that adds Sunshine's client-certificate verification.
◆ SunshineHTTPSServer()
| nvhttp::SunshineHTTPSServer::SunshineHTTPSServer |
( |
const std::string & | certification_file, |
|
|
const std::string & | private_key_file ) |
|
inline |
Initialize the HTTPS server with Sunshine's certificate and key files.
- Parameters
-
| certification_file | Path to the server certificate file. |
| private_key_file | Path to the matching private key file. |
The documentation for this class was generated from the following file: