Public Member Functions | Private Member Functions | Private Attributes | List of all members
tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger Class Reference

#include <ssl_key_logging.h>

Inheritance diagram for tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger:
Inheritance graph
[legend]

Public Member Functions

void LogSessionKeys (SSL_CTX *ssl_context, const std::string &session_keys_info)
 
TlsSessionKeyLoggeroperator= (const TlsSessionKeyLogger &)=delete
 
 TlsSessionKeyLogger (const TlsSessionKeyLogger &)=delete
 
 TlsSessionKeyLogger (std::string tls_session_key_log_file_path, grpc_core::RefCountedPtr< TlsSessionKeyLoggerCache > cache)
 
 ~TlsSessionKeyLogger () override
 
- Public Member Functions inherited from grpc_core::RefCounted< TlsSessionKeyLogger >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< TlsSessionKeyLoggerRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< TlsSessionKeyLoggerRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< TlsSessionKeyLoggerRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< TlsSessionKeyLoggerRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Private Member Functions

FILE *fd_ ABSL_GUARDED_BY (lock_)
 

Private Attributes

grpc_core::RefCountedPtr< TlsSessionKeyLoggerCachecache_
 
grpc_core::Mutex lock_
 
std::string tls_session_key_log_file_path_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< TlsSessionKeyLogger >
using RefCountedChildType = TlsSessionKeyLogger
 
- Protected Member Functions inherited from grpc_core::RefCounted< TlsSessionKeyLogger >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 46 of file ssl_key_logging.h.

Constructor & Destructor Documentation

◆ TlsSessionKeyLogger() [1/2]

tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::TlsSessionKeyLogger ( std::string  tls_session_key_log_file_path,
grpc_core::RefCountedPtr< TlsSessionKeyLoggerCache cache 
)

Definition at line 45 of file ssl_key_logging.cc.

◆ ~TlsSessionKeyLogger()

tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::~TlsSessionKeyLogger ( )
override

Definition at line 64 of file ssl_key_logging.cc.

◆ TlsSessionKeyLogger() [2/2]

tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::TlsSessionKeyLogger ( const TlsSessionKeyLogger )
delete

Member Function Documentation

◆ ABSL_GUARDED_BY()

FILE* fd_ tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::ABSL_GUARDED_BY ( lock_  )
private

◆ LogSessionKeys()

void tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::LogSessionKeys ( SSL_CTX ssl_context,
const std::string &  session_keys_info 
)

Definition at line 79 of file ssl_key_logging.cc.

◆ operator=()

TlsSessionKeyLogger& tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::operator= ( const TlsSessionKeyLogger )
delete

Member Data Documentation

◆ cache_

grpc_core::RefCountedPtr<TlsSessionKeyLoggerCache> tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::cache_
private

Definition at line 69 of file ssl_key_logging.h.

◆ lock_

grpc_core::Mutex tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::lock_
private

Definition at line 66 of file ssl_key_logging.h.

◆ tls_session_key_log_file_path_

std::string tsi::TlsSessionKeyLoggerCache::TlsSessionKeyLogger::tls_session_key_log_file_path_
private

Definition at line 68 of file ssl_key_logging.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:53