ot::ssl
class HandshakeCompletedEvent
#include "ot/ssl/HandshakeCompletedEvent.h"
Encapsulates the SSL socket and session involved in a completed SSL handshake.
An instance of this class is used to communicate a completed SSL handshake to registered HandshakeCompletedListener objects.
| Constructor/Destructor Detail |
HandshakeCompletedEvent
HandshakeCompletedEvent(SSLSocket* pSocket,
SSLSession* pSession)
-
Constructor which creates a HandshakeCompletedEvent for the provided SSLSocket and SSLSession.
- Exceptions:
NullPointerException -
if pSocket or pSession are null.
getSession
RefPtr< SSLSession > getSession() const
-
Returns the SSLSession involved in the SSL handshake which has completed.
This method returns the same SSLSession which was passed to the constructor.
getSocket
RefPtr< SSLSocket > getSocket() const
-
Returns the SSLSocket involved in the SSL handshake which has completed.
This method returns the same SSLSocket which was passed to the constructor.
Found a bug or missing feature? Please email us at support@elcel.com