2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "net/config/ConfigTls.h"
44#ifndef DOXYGEN_SHOULD_SKIP_THIS
60 return certOpt->as<std::string>();
ConfigTls & setCaCert(const std::string &caCert)
CLI::Option * caCertUseDefaultDirOpt
static float tlsInitTimeout
CLI::Option * shutdownTimeoutOpt
CLI::Option * caCertDirOpt
CLI::Option * caCertAcceptUnknownOpt
utils::Timeval getShutdownTimeout() const
std::string getCaCertDir() const
bool getNoCloseNotifyIsEOF() const
ConfigTls & setCert(const std::string &cert)
static float tlsShutdownTimeout
ConfigTls & setCaCertUseDefaultDir(bool set=true)
std::string getCaCert() const
ConfigTls & setCertKey(const std::string &certKey)
ConfigTls & setInitTimeout(const utils::Timeval &newInitTimeout)
CLI::Option * initTimeoutOpt
CLI::Option * sslOptionsOpt
std::string getCipherList() const
ssl_option_t getSslOptions() const
bool getCaCertAcceptUnknown() const
bool getCaCertUseDefaultDir() const
ConfigTls & setSslOptions(ssl_option_t sslOptions)
std::string getCertKey() const
ConfigTls & setCaCertAcceptUnknown(bool set=true)
CLI::Option * certKeyPasswordOpt
ConfigTls & setNoCloseNotifyIsEOF(bool noCloseNotifyIsEOF=true)
ConfigTls & setCipherList(const std::string &cipherList)
ConfigTls & setCaCertDir(const std::string &caCertDir)
std::string getCert() const
CLI::Option * cipherListOpt
std::string getCertKeyPassword() const
ConfigTls & setShutdownTimeout(const utils::Timeval &newShutdownTimeout)
ConfigTls & setCertKeyPassword(const std::string &certKeyPassword)
bool noCloseNotifyIsEOFOpt
utils::Timeval getInitTimeout() const
CLI::Option * setDefaultValue(CLI::Option *option, const ValueTypeT &value, bool clear=true) const