Class MbedTLSClient
Inherits the following classes: LwIPClient, IWiFiClientSecure
Public Functions
Type | Name |
---|---|
MbedTLSClient () |
|
MbedTLSClient (int sock) |
|
int | available () |
virtual int | connect (IPAddress ip, uint16_t port, int32_t timeout) |
virtual int | connect (const char * host, uint16_t port, int32_t timeout) |
virtual int | connect (IPAddress ip, uint16_t port, const char * rootCABuf, const char * clientCert, const char * clientKey) |
virtual int | connect (const char * host, uint16_t port, const char * rootCABuf, const char * clientCert, const char * clientKey) |
virtual int | connect (IPAddress ip, uint16_t port, const char * pskIdent, const char * psk) |
virtual int | connect (const char * host, uint16_t port, const char * pskIdent, const char * psk) |
int | connect (IPAddress ip, uint16_t port) |
int | connect (const char * host, uint16_t port) |
virtual int | connect (IPAddress ip, uint16_t port, int32_t timeout) |
virtual int | connect (const char * host, uint16_t port, int32_t timeout) |
void | flush () |
virtual bool | getFingerprintSHA256 (uint8_t result) |
virtual int | lastError (char * buf, const size_t size) |
virtual bool | loadCACert (Stream & stream, size_t size) |
virtual bool | loadCertificate (Stream & stream, size_t size) |
virtual bool | loadPrivateKey (Stream & stream, size_t size) |
int | peek () |
int | read (uint8_t * buf, size_t size) |
int | read () |
int | read (uint8_t * buf, size_t size) |
virtual void | setAlpnProtocols (const char ** alpnProtocols) |
virtual void | setCACert (const char * rootCA) |
virtual void | setCertificate (const char * clientCA) |
virtual void | setHandshakeTimeout (unsigned long handshakeTimeout) |
virtual void | setInsecure () |
virtual void | setPreSharedKey (const char * pskIdent, const char * psk) |
virtual void | setPrivateKey (const char * privateKey) |
void | stop () |
virtual bool | verify (const char * fingerprint, const char * domainName) |
size_t | write (const uint8_t * buf, size_t size) |
~MbedTLSClient () |
Public Functions inherited from LwIPClient
See LwIPClient
Type | Name |
---|---|
LwIPClient () |
|
LwIPClient (int sock) |
|
int | available () |
int | connect (IPAddress ip, uint16_t port) |
int | connect (const char * host, uint16_t port) |
virtual int | connect (IPAddress ip, uint16_t port, int32_t timeout) |
virtual int | connect (const char * host, uint16_t port, int32_t timeout) |
uint8_t | connected () |
virtual int | fd () const |
void | flush () |
virtual IPAddress | localIP () const |
virtual IPAddress | localIP (int sock) const |
virtual uint16_t | localPort () const |
virtual uint16_t | localPort (int sock) const |
LwIPClient & | operator= (const LwIPClient & other) |
int | peek () |
int | read () |
int | read (uint8_t * buf, size_t size) |
virtual IPAddress | remoteIP () const |
virtual IPAddress | remoteIP (int sock) const |
virtual uint16_t | remotePort () const |
virtual uint16_t | remotePort (int sock) const |
virtual int | setTimeout (uint32_t seconds) |
virtual int | socket () |
void | stop () |
size_t | write (uint8_t data) |
size_t | write (const uint8_t * buf, size_t size) |
virtual size_t | write (Stream & stream) |
~LwIPClient () |
Public Functions inherited from IWiFiClient
See IWiFiClient
Type | Name |
---|---|
IWiFiClient () |
|
IWiFiClient (int sock) |
|
virtual int | connect (IPAddress ip, uint16_t port, int32_t timeout) = 0 |
virtual int | connect (const char * host, uint16_t port, int32_t timeout) = 0 |
virtual int | fd () const = 0 |
virtual IPAddress | localIP () const = 0 |
virtual IPAddress | localIP (int sock) const = 0 |
virtual uint16_t | localPort () const = 0 |
virtual uint16_t | localPort (int sock) const = 0 |
operator bool () |
|
virtual bool | operator!= (const bool value) |
virtual bool | operator!= (const IWiFiClient & other) |
bool | operator== (const IWiFiClient & other) const |
virtual bool | operator== (const bool value) |
virtual IPAddress | remoteIP () const = 0 |
virtual IPAddress | remoteIP (int sock) const = 0 |
virtual uint16_t | remotePort () const = 0 |
virtual uint16_t | remotePort (int sock) const = 0 |
virtual int | setTimeout (uint32_t seconds) = 0 |
virtual int | socket () = 0 |
virtual size_t | write (Stream & stream) = 0 |
size_t | write_P (PGM_P buffer, size_t size) |
~IWiFiClient () |
Public Functions inherited from IWiFiClientSecure
Type | Name |
---|---|
virtual int | connect (IPAddress ip, uint16_t port, const char * rootCABuf, const char * clientCert, const char * clientKey) = 0 |
virtual int | connect (const char * host, uint16_t port, const char * rootCABuf, const char * clientCert, const char * clientKey) = 0 |
virtual int | connect (IPAddress ip, uint16_t port, const char * pskIdent, const char * psk) = 0 |
virtual int | connect (const char * host, uint16_t port, const char * pskIdent, const char * psk) = 0 |
virtual bool | getFingerprintSHA256 (uint8_t result) = 0 |
virtual int | lastError (char * buf, const size_t size) = 0 |
virtual bool | loadCACert (Stream & stream, size_t size) = 0 |
virtual bool | loadCertificate (Stream & stream, size_t size) = 0 |
virtual bool | loadPrivateKey (Stream & stream, size_t size) = 0 |
virtual void | setAlpnProtocols (const char ** alpnProtocols) = 0 |
virtual void | setCACert (const char * rootCA) = 0 |
virtual void | setCertificate (const char * clientCA) = 0 |
virtual void | setHandshakeTimeout (unsigned long handshakeTimeout) = 0 |
virtual void | setInsecure () = 0 |
virtual void | setPreSharedKey (const char * pskIdent, const char * psk) = 0 |
virtual void | setPrivateKey (const char * privateKey) = 0 |
virtual bool | verify (const char * fingerprint, const char * domainName) = 0 |
Public Functions Documentation
function MbedTLSClient [1/2]
function MbedTLSClient [2/2]
function available
function connect [2/11]
Implements LwIPClient::connect
function connect [3/11]
Implements LwIPClient::connect
function connect [4/11]
virtual int MbedTLSClient::connect (
IPAddress ip,
uint16_t port,
const char * rootCABuf,
const char * clientCert,
const char * clientKey
)
Implements IWiFiClientSecure::connect
function connect [5/11]
virtual int MbedTLSClient::connect (
const char * host,
uint16_t port,
const char * rootCABuf,
const char * clientCert,
const char * clientKey
)
Implements IWiFiClientSecure::connect
function connect [6/11]
virtual int MbedTLSClient::connect (
IPAddress ip,
uint16_t port,
const char * pskIdent,
const char * psk
)
Implements IWiFiClientSecure::connect
function connect [7/11]
virtual int MbedTLSClient::connect (
const char * host,
uint16_t port,
const char * pskIdent,
const char * psk
)
Implements IWiFiClientSecure::connect
function connect [8/11]
function connect [9/11]
function connect [10/11]
Implements LwIPClient::connect
function connect [11/11]
Implements LwIPClient::connect
function flush
function getFingerprintSHA256
Implements IWiFiClientSecure::getFingerprintSHA256
function lastError
Implements IWiFiClientSecure::lastError
function loadCACert
Implements IWiFiClientSecure::loadCACert
function loadCertificate
Implements IWiFiClientSecure::loadCertificate
function loadPrivateKey
Implements IWiFiClientSecure::loadPrivateKey
function peek
function read [1/3]
function read [2/3]
function read [3/3]
function setAlpnProtocols
Implements IWiFiClientSecure::setAlpnProtocols
function setCACert
Implements IWiFiClientSecure::setCACert
function setCertificate
Implements IWiFiClientSecure::setCertificate
function setHandshakeTimeout
Implements IWiFiClientSecure::setHandshakeTimeout
function setInsecure
Implements IWiFiClientSecure::setInsecure
function setPreSharedKey
Implements IWiFiClientSecure::setPreSharedKey
function setPrivateKey
Implements IWiFiClientSecure::setPrivateKey
function stop
function verify
Implements IWiFiClientSecure::verify
function write
function ~MbedTLSClient
The documentation for this class was generated from the following file cores/common/arduino/libraries/common/WiFiClient/MbedTLSClient.h