proxygen
|
#include <PskCache.h>
Public Member Functions | |
virtual | ~PskCache ()=default |
virtual folly::Optional< CachedPsk > | getPsk (const std::string &identity)=0 |
virtual void | putPsk (const std::string &identity, CachedPsk)=0 |
virtual void | removePsk (const std::string &identity)=0 |
Definition at line 39 of file PskCache.h.
|
virtualdefault |
|
pure virtual |
Retrieve a PSK for the specified identity.
Implemented in fizz::client::BasicPskCache, and fizz::client::SynchronizedLruPskCache.
|
pure virtual |
Add a new PSK for identity to the cache.
Implemented in fizz::client::BasicPskCache, and fizz::client::SynchronizedLruPskCache.
|
pure virtual |
Remove any PSKs associated with identity from the cache.
Implemented in fizz::client::BasicPskCache, and fizz::client::SynchronizedLruPskCache.