GRPC Core  9.0.0
Public Member Functions | Static Public Member Functions | Protected Member Functions
tsi::SslCachedSession Class Referenceabstract

SslCachedSession is an immutable thread-safe storage for single session representation. More...

#include <ssl_session.h>

Public Member Functions

 SslCachedSession (const SslCachedSession &)=delete
 
SslCachedSessionoperator= (const SslCachedSession &)=delete
 
virtual ~SslCachedSession ()=default
 
virtual SslSessionPtr CopySession () const =0
 Returns a copy of previously cached session. More...
 

Static Public Member Functions

static std::unique_ptr< SslCachedSessionCreate (SslSessionPtr session)
 Create single cached instance of session. More...
 

Protected Member Functions

 SslCachedSession ()=default
 

Detailed Description

SslCachedSession is an immutable thread-safe storage for single session representation.

It provides means to share SSL session data (e.g. TLS ticket) between encrypted connections regardless of SSL context lifetime.

Constructor & Destructor Documentation

◆ SslCachedSession() [1/2]

tsi::SslCachedSession::SslCachedSession ( const SslCachedSession )
delete

◆ ~SslCachedSession()

virtual tsi::SslCachedSession::~SslCachedSession ( )
virtualdefault

◆ SslCachedSession() [2/2]

tsi::SslCachedSession::SslCachedSession ( )
protecteddefault

Member Function Documentation

◆ CopySession()

virtual SslSessionPtr tsi::SslCachedSession::CopySession ( ) const
pure virtual

Returns a copy of previously cached session.

◆ Create()

std::unique_ptr< SslCachedSession > tsi::SslCachedSession::Create ( SslSessionPtr  session)
static

Create single cached instance of session.

◆ operator=()

SslCachedSession& tsi::SslCachedSession::operator= ( const SslCachedSession )
delete

The documentation for this class was generated from the following files: