Class used to test the TLS socket API.
More...
|
| void | SetUp () override |
| | Sets up the test fixture.
|
| |
| void | TearDown () override |
| | Tears down the test fixture.
|
| |
| virtual void | onReceive () override |
| | method called when data are ready to be read on handle.
|
| |
|
| static const std::string | _hostv4 = "127.0.0.1" |
| | host.
|
| |
| static const std::string | _hostv6 = "::1" |
| |
| static const uint16_t | _port = 5000 |
| | port.
|
| |
| static const uint16_t | _invalid_port = 5032 |
| |
| static const int | _timeout = 1000 |
| | timeout.
|
| |
| static const std::string | _rootcert = "/tmp/tlssocket_test_root.cert" |
| | root certificate.
|
| |
| static const std::string | _certPath = "/tmp/certs" |
| | certificate path.
|
| |
| static const std::string | _certFile = _certPath + "/tlssocket_test.cert" |
| | certificate file.
|
| |
| static const std::string | _key = "/tmp/tlssocket_test.key" |
| | private key.
|
| |
| static const std::string | _invalidKey = "/tmp/tlssocket_test_invalid.key" |
| | invalid private key.
|
| |
Class used to test the TLS socket API.
◆ onReceive()
| virtual void TlsSocket::onReceive |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
method called when data are ready to be read on handle.
◆ SetUp()
| void TlsSocket::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
Sets up the test fixture.
◆ SetUpTestCase()
| static void TlsSocket::SetUpTestCase |
( |
| ) |
|
|
inlinestatic |
◆ TearDown()
| void TlsSocket::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
Tears down the test fixture.
◆ TearDownTestCase()
| static void TlsSocket::TearDownTestCase |
( |
| ) |
|
|
inlinestatic |
◆ _certFile
| const std::string TlsSocket::_certFile = _certPath + "/tlssocket_test.cert" |
|
staticprotected |
◆ _certPath
| const std::string TlsSocket::_certPath = "/tmp/certs" |
|
staticprotected |
◆ _hostv4
| const std::string TlsSocket::_hostv4 = "127.0.0.1" |
|
staticprotected |
◆ _hostv6
| const std::string TlsSocket::_hostv6 = "::1" |
|
staticprotected |
◆ _invalid_port
| const uint16_t TlsSocket::_invalid_port = 5032 |
|
staticprotected |
◆ _invalidKey
| const std::string TlsSocket::_invalidKey = "/tmp/tlssocket_test_invalid.key" |
|
staticprotected |
◆ _key
| const std::string TlsSocket::_key = "/tmp/tlssocket_test.key" |
|
staticprotected |
◆ _port
| const uint16_t TlsSocket::_port = 5000 |
|
staticprotected |
◆ _rootcert
| const std::string TlsSocket::_rootcert = "/tmp/tlssocket_test_root.cert" |
|
staticprotected |
◆ _timeout
| const int TlsSocket::_timeout = 1000 |
|
staticprotected |
The documentation for this class was generated from the following file: