|
| SSL_CTX * | getSslCtx () |
| SSL_CTX * | getSniCtx (const std::string &serverNameIndication) |
| | ConfigInstance (ConfigInstance &)=delete |
| | ConfigInstance (ConfigInstance &&)=delete |
| ConfigInstance & | operator= (ConfigInstance &)=delete |
| ConfigInstance & | operator= (ConfigInstance &&)=delete |
| Role | getRole () |
| const std::string & | getInstanceName () const |
| void | setInstanceName (const std::string &instanceName) |
| bool | getDisabled () const |
| void | setDisabled (bool disabled=true) |
| CLI::App * | newSection (std::shared_ptr< CLI::App > appWithPtr, const std::string &group) |
| net::config::ConfigSection * | addSection (std::shared_ptr< net::config::ConfigSection > &&configSection) |
| template<typename ConcreteConfigSection, typename... Args> |
| ConcreteConfigSection * | addSection (Args &&... args) |
| template<typename SectionTypeT> |
| SectionTypeT * | getSection () const |
| bool | gotSection (const std::string &name, bool recursive=false) const |
| void | required (bool required=true) |
| void | required (CLI::App *section, bool req=true) |
| bool | getRequired () const |
| CLI::App * | get () const |
| void | configurable (bool configurable=true) |
| template<typename SectionType> |
| SectionType * | getSection () const |
| ConfigTlsServer & | setForceSni (bool forceSni=true) |
| bool | getForceSni () const |
| ConfigTlsServer & | addSniCerts (const std::map< std::string, std::map< std::string, std::variant< std::string, bool, ssl_option_t > > > &sniCerts) |
| ConfigTlsServer & | addSniCert (const std::string &domain, const std::map< std::string, std::variant< std::string, bool, ssl_option_t > > &sniCert) |
| const std::map< std::string, std::map< std::string, std::variant< std::string, bool, ssl_option_t > > > & | getSniCerts () |
| ConfigTls & | setInitTimeout (const utils::Timeval &newInitTimeout) |
| utils::Timeval | getInitTimeout () const |
| ConfigTls & | setShutdownTimeout (const utils::Timeval &newShutdownTimeout) |
| utils::Timeval | getShutdownTimeout () const |
| ConfigTls & | setCert (const std::string &cert) |
| std::string | getCert () const |
| ConfigTls & | setCertKey (const std::string &certKey) |
| std::string | getCertKey () const |
| ConfigTls & | setCertKeyPassword (const std::string &certKeyPassword) |
| std::string | getCertKeyPassword () const |
| ConfigTls & | setCaCert (const std::string &caCert) |
| std::string | getCaCert () const |
| ConfigTls & | setCaCertDir (const std::string &caCertDir) |
| std::string | getCaCertDir () const |
| ConfigTls & | setCaCertUseDefaultDir (bool set=true) |
| bool | getCaCertUseDefaultDir () const |
| ConfigTls & | setCaCertAcceptUnknown (bool set=true) |
| bool | getCaCertAcceptUnknown () const |
| ConfigTls & | setCipherList (const std::string &cipherList) |
| std::string | getCipherList () const |
| ConfigTls & | setSslOptions (ssl_option_t sslOptions) |
| ssl_option_t | getSslOptions () const |
| ConfigTls & | setNoCloseNotifyIsEOF (bool noCloseNotifyIsEOF=true) |
| bool | getNoCloseNotifyIsEOF () const |
template<typename ConfigSocketServerBaseT>
class net::config::stream::tls::ConfigSocketServer< ConfigSocketServerBaseT >
Definition at line 59 of file ConfigSocketServer.h.
template<typename ConfigSocketServerBase>
Definition at line 78 of file ConfigSocketServer.hpp.
78 {
81
83
93
95 }
96
99
101
104 }
105
109
111
115 }
else if (
key ==
"CertKey") {
117 }
else if (
key ==
"CertKeyPassword") {
119 }
else if (
key ==
"CaCert") {
121 }
else if (
key ==
"CaCertDir") {
123 }
else if (
key ==
"CaCertUseDefaultDir") {
125 }
else if (
key ==
"CaCertAcceptUnknown") {
127 }
else if (
key ==
"CipherList") {
129 }
else if (
key ==
"SslOptions") {
131 }
132 }
133
135
139
141
144
146 }
147 } else {
149 }
150 }
151 }
155 }
156 }
157
159 }
const std::map< std::string, std::map< std::string, std::variant< std::string, bool, ssl_option_t > > > & getSniCerts()
std::string getCaCertDir() const
std::string getCaCert() const
std::string getCipherList() const
ssl_option_t getSslOptions() const
bool getCaCertAcceptUnknown() const
bool getCaCertUseDefaultDir() const
std::string getCertKey() const
std::string getCert() const
std::string getCertKeyPassword() const
std::map< std::string, SSL_CTX * > ssl_get_sans(SSL_CTX *sslCtx)
SSL_CTX * ssl_ctx_new(const SslConfig &sslConfig)
References core::socket::stream::tls::SslConfig::caCert, core::socket::stream::tls::SslConfig::caCertAcceptUnknown, core::socket::stream::tls::SslConfig::caCertDir, core::socket::stream::tls::SslConfig::caCertUseDefaultDir, core::socket::stream::tls::SslConfig::cert, core::socket::stream::tls::SslConfig::certKey, core::socket::stream::tls::SslConfig::cipherList, net::config::ConfigTls::getCaCert(), net::config::ConfigTls::getCaCertAcceptUnknown(), net::config::ConfigTls::getCaCertDir(), net::config::ConfigTls::getCaCertUseDefaultDir(), net::config::ConfigTls::getCert(), net::config::ConfigTls::getCertKey(), net::config::ConfigTls::getCertKeyPassword(), net::config::ConfigTls::getCipherList(), net::config::ConfigInstance::getInstanceName(), net::config::ConfigTlsServer::getSniCerts(), net::config::ConfigTls::getSslOptions(), core::socket::stream::tls::SslConfig::instanceName, core::socket::stream::tls::SslConfig::password, sniCtxMap, sniCtxs, core::socket::stream::tls::ssl_ctx_new(), core::socket::stream::tls::ssl_get_sans(), core::socket::stream::tls::SslConfig::SslConfig(), sslCtx, and core::socket::stream::tls::SslConfig::sslOptions.