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

#include <cECPGroupDef.h>

Inheritance diagram for GrayLib::cECPGroupMgr:
Gray::cSingleton< cECPGroupMgr > Gray::cSingletonStatic< TYPE > Gray::cSingletonRegister Gray::CObject Gray::cHeapObject Gray::IHeapObject

Public Member Functions

 cECPGroupMgr ()
 
 ~cECPGroupMgr ()
 
const cECPGroupDefGetECPGroupDef (ECPGroup_TYPE e) const
 
const cECPGroupDef ** GetECPGroupDefs (void)
 
void AddECPGroupDef (const cECPGroupDef *pDef)
 
void LoadAllECPGroupDefs ()
 
- 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 ECPGroup_TYPE GRAYCALL FindMatchECPGroupId (const cECPGroupParams &g)
 
- Static Public Member Functions inherited from Gray::cSingleton< cECPGroupMgr >
static cECPGroupMgr *__stdcall get_Single ()
 
static TYPE2 *__stdcall get_SingleT ()
 
static cECPGroupMgr &__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)
 

Additional Inherited Members

- Static Public Attributes inherited from Gray::cSingletonRegister
static cThreadLockFast sm_LockSingle
 common lock for all cSingleton. More...
 
- Protected Member Functions inherited from Gray::cSingleton< cECPGroupMgr >
 cSingleton (cECPGroupMgr *pObject, const TYPEINFO_t &rAddrCode=typeid(cECPGroupMgr)) 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

Store the predefined curves we know how to use. ECPGroup_TYPE

Constructor & Destructor Documentation

◆ cECPGroupMgr()

GrayLib::cECPGroupMgr::cECPGroupMgr ( )

◆ ~cECPGroupMgr()

GrayLib::cECPGroupMgr::~cECPGroupMgr ( )

Member Function Documentation

◆ AddECPGroupDef()

void GrayLib::cECPGroupMgr::AddECPGroupDef ( const cECPGroupDef pDef)
inline

◆ FindMatchECPGroupId()

ECPGroup_TYPE GRAYCALL GrayLib::cECPGroupMgr::FindMatchECPGroupId ( const cECPGroupParams g)
static

Find the group id associated with an (almost filled) group parameters as generated by ReadSpecifiedECDomain(), or return ECPGroup_NONE if unknown.

◆ GetECPGroupDef()

const cECPGroupDef* GrayLib::cECPGroupMgr::GetECPGroupDef ( ECPGroup_TYPE  e) const
inline

Brute force search for ECPGroup_TYPE.

◆ GetECPGroupDefs()

const cECPGroupDef** GrayLib::cECPGroupMgr::GetECPGroupDefs ( void  )
inline

Get the list of ALL supported curves in order of preference (full information)

Returns
A statically allocated array, the last entry is ECPGroup_NONE.

◆ LoadAllECPGroupDefs()

void GrayLib::cECPGroupMgr::LoadAllECPGroupDefs ( )

List of supported ECP curves in order of security:


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