Session.h
Go to the documentation of this file.
59 Options() : sessionResume(false), clientAuthentication(false), verifyLater(false), freeKeyCertAfterHandshake(false)
Definition: Alert.h:15
ValidatorList validators
List of certificate validators used by Client.
Definition: Session.h:119
const SessionId * getSessionId() const
If available, return the current SSL Session ID.
Definition: Session.h:131
MaxBufferSize
Indicate to SSL how much memory (approximately) to commit for buffers.
Definition: Session.h:35
Definition: TcpConnection.h:39
String hostName
Used for SNI https://en.wikipedia.org/wiki/Server_Name_Indication.
Definition: Session.h:85
KeyCertPair keyCert
Required for server, optional for client.
Definition: Session.h:90
void setConnection(Connection *connection)
Called by TcpConnection to set the established SSL connection.
Definition: Session.h:148
Class to manage an SSL key certificate with optional password.
Definition: KeyCertPair.h:20
String toString() const
bool isConnected() const
Determine if an SSL connection has been fully established.
Definition: Session.h:174
512 bytes
Connection * getConnection()
Get the currently active SSL connection object.
Definition: Session.h:158
String toString(Certificate::RDN rdn)
Obtain a string describing the given name component.
Timer2Clock::Ticks< uint32_t > read()
Get elapsed watchdog time since last reset.
bool sessionResume
Keep a note of session ID for later re-use.
Definition: Session.h:54
bool verifyLater
Allow handshake to complete before verifying certificate.
Definition: Session.h:56
Let SSL implementation decide.
1024 bytes
1.8.13