Library: NetSSL_OpenSSL
Package: SSLCore
Header: Poco/Net/Session.h
This class encapsulates a SSL session object used with session caching on the client side.
For session caching to work, a client must save the session object from an existing connection, if it wants to reuse it with a future connection.
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Member Functions: sslSession
Inherited Functions: duplicate, referenceCount, release
typedef Poco::AutoPtr < Session > Ptr;
Session(
SSL_SESSION * pSession
);
Creates a new Session object, using the given SSL_SESSION object.
The SSL_SESSION's reference count is not changed.
~Session();
Destroys the Session.
Calls SSL_SESSION_free() on the stored SSL_SESSION object.
SSL_SESSION * sslSession() const;
Returns the stored OpenSSL SSL_SESSION object.