Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GraySSL::cSSLDebug Class Reference

#include <cSSLDebug.h>

Inheritance diagram for GraySSL::cSSLDebug:
Gray::cSingleton< cSSLDebug > Gray::cSingletonStatic< TYPE > Gray::cSingletonRegister Gray::CObject Gray::cHeapObject Gray::IHeapObject

Public Member Functions

 cSSLDebug ()
 
void debug_print_msg (LOGLEV_TYPE level, cDebugSourceLine src, const char *text) const
 
void debug_print_ret (LOGLEV_TYPE level, cDebugSourceLine src, const char *text, HRESULT hRes) const
 
void debug_print_buf (LOGLEV_TYPE level, cDebugSourceLine src, const char *text, const BYTE *buf, size_t len) const
 
void debug_print_mpi (LOGLEV_TYPE level, cDebugSourceLine src, const char *text, const cBigUnsigned &X) const
 
void debug_print_ecp (LOGLEV_TYPE level, cDebugSourceLine src, const char *text, const cECPPoint *X) const
 
void debug_print_pk (LOGLEV_TYPE level, cDebugSourceLine src, const char *text, const cKeyWrap *pk) const
 
void debug_print_crt (LOGLEV_TYPE level, cDebugSourceLine src, const char *text, const cX509Crt *crt) const
 
- Public Member Functions inherited from Gray::CObject
virtual ~CObject ()
 
virtual bool isValidCheck () const noexcept
 < memory allocation and structure definitions are valid. More...
 
virtual void AssertValid () const
 < memory allocation and structure definitions are valid. More...
 
virtual void Serialize (cArchive &a)
 
- Public Member Functions inherited from Gray::cHeapObject
 cHeapObject ()
 
virtual ~cHeapObject ()
 
bool IsValidInsideN (INT_PTR index) const
 
bool IsValidInsidePtr (void const *pTest) const
 
virtual size_t GetHeapStatsThis (OUT ITERATE_t &iAllocCount) const
 
virtual bool isValidCheck () const noexcept
 

Static Public Member Functions

static const char * debug_fmt (const char *format,...)
 
- Static Public Member Functions inherited from Gray::cSingleton< cSSLDebug >
static cSSLDebug *__stdcall get_Single ()
 
static TYPE2 *__stdcall get_SingleT ()
 
static cSSLDebug &__stdcall I ()
 
- Static Public Member Functions inherited from Gray::cSingletonStatic< TYPE >
static bool isSingleCreated () noexcept
 
static TYPEget_SingleU () noexcept
 
static TYPEget_Single ()
 
template<class TYPE2 >
static TYPE2 *__stdcall get_SingleCast ()
 
static TYPEI () noexcept
 
- Static Public Member Functions inherited from Gray::cSingletonRegister
static void __stdcall ReleaseModule (HMODULE hMod)
 

Public Attributes

bool m_bUseLineNumbers
 
LOGLEV_TYPE m_eThreshold
 

Static Public Attributes

static const char * k_pszPrefix
 
- Static Public Attributes inherited from Gray::cSingletonRegister
static cThreadLockFast sm_LockSingle
 common lock for all cSingleton. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Gray::cSingleton< cSSLDebug >
 cSingleton (cSSLDebug *pObject, const TYPEINFO_t &rAddrCode=typeid(cSSLDebug)) noexcept
 
virtual ~cSingleton ()
 
- Protected Member Functions inherited from Gray::cSingletonStatic< TYPE >
 cSingletonStatic (TYPE *pObject) noexcept
 
virtual ~cSingletonStatic () noexcept
 
- Protected Member Functions inherited from Gray::cSingletonRegister
 cSingletonRegister (const TYPEINFO_t &rAddrCode) noexcept
 
virtual ~cSingletonRegister ()
 
void RegisterSingleton ()
 
- Protected Member Functions inherited from Gray::cHeapObject
const void * get_HeapPtr () const noexcept override
 Get the top level (outermost, freeable) class pointer. I can delete get_HeapPtr(). More...
 
- Protected Attributes inherited from Gray::cSingletonRegister
HMODULE m_hModuleLoaded
 What modules loaded this ? So singletons can be destroyed if DLL/SO unloads. More...
 
- Static Protected Attributes inherited from Gray::cSingletonStatic< TYPE >
static TYPEsm_pThe = nullptr
 pointer to the one and only object of this TYPE. ASSUME automatically init to = nullptr. More...
 

Detailed Description

cLogSubject

Constructor & Destructor Documentation

◆ cSSLDebug()

GraySSL::cSSLDebug::cSSLDebug ( )

Member Function Documentation

◆ debug_fmt()

static const char* GraySSL::cSSLDebug::debug_fmt ( const char *  format,
  ... 
)
static

◆ debug_print_buf()

void GraySSL::cSSLDebug::debug_print_buf ( LOGLEV_TYPE  level,
cDebugSourceLine  src,
const char *  text,
const BYTE *  buf,
size_t  len 
) const

◆ debug_print_crt()

void GraySSL::cSSLDebug::debug_print_crt ( LOGLEV_TYPE  level,
cDebugSourceLine  src,
const char *  text,
const cX509Crt crt 
) const

◆ debug_print_ecp()

void GraySSL::cSSLDebug::debug_print_ecp ( LOGLEV_TYPE  level,
cDebugSourceLine  src,
const char *  text,
const cECPPoint X 
) const

◆ debug_print_mpi()

void GraySSL::cSSLDebug::debug_print_mpi ( LOGLEV_TYPE  level,
cDebugSourceLine  src,
const char *  text,
const cBigUnsigned X 
) const

◆ debug_print_msg()

void GraySSL::cSSLDebug::debug_print_msg ( LOGLEV_TYPE  level,
cDebugSourceLine  src,
const char *  text 
) const

◆ debug_print_pk()

void GraySSL::cSSLDebug::debug_print_pk ( LOGLEV_TYPE  level,
cDebugSourceLine  src,
const char *  text,
const cKeyWrap pk 
) const

◆ debug_print_ret()

void GraySSL::cSSLDebug::debug_print_ret ( LOGLEV_TYPE  level,
cDebugSourceLine  src,
const char *  text,
HRESULT  hRes 
) const

Member Data Documentation

◆ k_pszPrefix

const char* GraySSL::cSSLDebug::k_pszPrefix
static

◆ m_bUseLineNumbers

bool GraySSL::cSSLDebug::m_bUseLineNumbers

◆ m_eThreshold

LOGLEV_TYPE GraySSL::cSSLDebug::m_eThreshold

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