SSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c.
More...
#include <NetworkClientSecure.h>
|
| size_t | available () override |
| void | close () override |
| int | connect (const char *address, uint16_t port) override |
| int | connect (const char *address, uint16_t port) override |
| int | connect (const char *address, uint16_t port, int32_t timeout_ms) override |
| int | connect (const char *address, uint16_t port, int32_t timeout_ms) override |
| uint8_t | connected () override |
| int | peek () override |
| int | read (uint8_t *buffer, size_t len) override |
| int | read (uint8_t *buffer, size_t len) override |
| void | setCACert (const char *cert) override |
| void | setCACert (const char *cert) override |
| void | setHostname (const char *name) override |
| void | setInsecure () |
| void | setInsecure () override |
| size_t | write (const uint8_t *str, size_t len) |
| size_t | write (const uint8_t *str, size_t len) override |
|
| SocketImpl (SocketHandle socket) |
|
| SocketImpl (SocketHandle socket, struct sockaddr_in *address) |
|
SocketHandle | fd () |
|
const char * | getIPAddress () |
|
const char * | getIPAddress (const char *validEntries[]) |
|
|
static constexpr uint32_t | DEFAULT_HANDSHAKE_TIMEOUT_MS = 15000 |
|
|
bool | is_insecure = false |
|
WOLFSSL * | ssl = nullptr |
|
bool | is_connected = false |
|
struct sockaddr_in | serv_addr |
|
SocketHandle | sock = INVALID_SOCKET_HANDLE |
|
int | valread = 0 |
SSL Socket using wolf ssl. For error codes see https://wolfssl.jp/docs-3/wolfssl-manual/appendix-c.
SSL Socket using TinyTLS (TLS 1.3 client). The TLS session runs over the plain TCP connection of this socket.
◆ available()
| size_t arduino::SocketImplSecure::available |
( |
| ) |
|
|
inlineoverridevirtual |
◆ close()
| void arduino::SocketImplSecure::close |
( |
| ) |
|
|
inlineoverridevirtual |
◆ connect() [1/4]
| int arduino::SocketImplSecure::connect |
( |
const char * | address, |
|
|
uint16_t | port ) |
|
inlineoverridevirtual |
◆ connect() [2/4]
| int arduino::SocketImplSecure::connect |
( |
const char * | address, |
|
|
uint16_t | port ) |
|
inlineoverridevirtual |
◆ connect() [3/4]
| int arduino::SocketImplSecure::connect |
( |
const char * | address, |
|
|
uint16_t | port, |
|
|
int32_t | timeout_ms ) |
|
inlineoverridevirtual |
◆ connect() [4/4]
| int arduino::SocketImplSecure::connect |
( |
const char * | address, |
|
|
uint16_t | port, |
|
|
int32_t | timeout_ms ) |
|
inlineoverridevirtual |
◆ connected()
| uint8_t arduino::SocketImplSecure::connected |
( |
| ) |
|
|
inlineoverridevirtual |
◆ peek()
| int arduino::SocketImplSecure::peek |
( |
| ) |
|
|
inlineoverridevirtual |
◆ read() [1/2]
| int arduino::SocketImplSecure::read |
( |
uint8_t * | buffer, |
|
|
size_t | len ) |
|
inlineoverridevirtual |
◆ read() [2/2]
| int arduino::SocketImplSecure::read |
( |
uint8_t * | buffer, |
|
|
size_t | len ) |
|
inlineoverridevirtual |
◆ setCACert() [1/2]
| void arduino::SocketImplSecure::setCACert |
( |
const char * | cert | ) |
|
|
inlineoverridevirtual |
◆ setCACert() [2/2]
| void arduino::SocketImplSecure::setCACert |
( |
const char * | cert | ) |
|
|
inlineoverridevirtual |
◆ setHostname()
| void arduino::SocketImplSecure::setHostname |
( |
const char * | name | ) |
|
|
inlineoverridevirtual |
◆ setInsecure() [1/2]
| void arduino::SocketImplSecure::setInsecure |
( |
| ) |
|
|
inlinevirtual |
◆ setInsecure() [2/2]
| void arduino::SocketImplSecure::setInsecure |
( |
| ) |
|
|
inlineoverridevirtual |
◆ write() [1/2]
| size_t arduino::SocketImplSecure::write |
( |
const uint8_t * | str, |
|
|
size_t | len ) |
|
inlinevirtual |
◆ write() [2/2]
| size_t arduino::SocketImplSecure::write |
( |
const uint8_t * | str, |
|
|
size_t | len ) |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: