GRPC Core  18.0.0
Data Structures | Typedefs
tsi Namespace Reference

Cache for SSL sessions for sessions resumption. More...

Data Structures

struct  SslSessionDeleter
 
class  SslCachedSession
 SslCachedSession is an immutable thread-safe storage for single session representation. More...
 
class  SslSessionLRUCache
 

Typedefs

typedef std::unique_ptr< SSL_SESSION, SslSessionDeleterSslSessionPtr
 

Detailed Description

Cache for SSL sessions for sessions resumption.

Older sessions may be evicted from the cache using LRU policy if capacity limit is hit. All sessions are associated with some key, usually server name. Note that servers are required to share session ticket encryption keys in order for cache to be effective.

This class is thread safe.

Typedef Documentation

◆ SslSessionPtr

typedef std::unique_ptr<SSL_SESSION, SslSessionDeleter> tsi::SslSessionPtr