Session.h
Go to the documentation of this file.
58 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:118
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:34
Definition: TcpConnection.h:39
String hostName
Used for SNI https://en.wikipedia.org/wiki/Server_Name_Indication.
Definition: Session.h:84
KeyCertPair keyCert
Required for server, optional for client.
Definition: Session.h:89
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.
bool sessionResume
Keep a note of session ID for later re-use.
Definition: Session.h:53
bool verifyLater
Allow handshake to complete before verifying certificate.
Definition: Session.h:55
Implemented by SSL adapter to create and manage SSL connections.
Definition: Context.h:28
Let SSL implementation decide.
1024 bytes