6 #ifndef _INC_cKeyTypeDef_H
7 #define _INC_cKeyTypeDef_H
32 : m_eKeyType(eKeyType)
43 return this->m_eKeyType;
64 void LoadAllKeyTypes();
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
Definition: cKeyBase.h:56
Definition: cKeyTypeDef.h:22
SSL_Key_TYPE const m_eKeyType
Public key type.
Definition: cKeyTypeDef.h:27
virtual cKeyBase * AllocKey(void) const =0
Allocate a new context.
virtual ~cKeyTypeDef()
Definition: cKeyTypeDef.h:36
const char *const m_pszName
Type name.
Definition: cKeyTypeDef.h:28
UNITTEST_FRIEND(cKeyTypeDef)
virtual bool HasKeyType(SSL_Key_TYPE eKeyType) const noexcept=0
Tell if the context implements this type (e.g. ECKEY can do ECDSA)
SSL_Key_TYPE get_HashCode() const noexcept
Definition: cKeyTypeDef.h:40
cKeyTypeDef(SSL_Key_TYPE eKeyType, const char *pszName) noexcept
Definition: cKeyTypeDef.h:31
Definition: cKeyTypeDef.h:56
void AddKeyType(const cKeyTypeDef *pDef)
Definition: cKeyTypeDef.h:66
const cKeyTypeDef * GetKeyType(SSL_Key_TYPE e) const
Definition: cKeyTypeDef.h:70
TYPE_PTR FindArgForKey(TYPE_KEY key1) const noexcept
Definition: cArraySort.h:455
Definition: cArraySort.h:613
ITERATE_t Add(TYPE_ARG pNew)
Definition: cArraySort.h:186
Definition: cSingleton.h:127
UNITTEST2_PREDEF(cQuadtree)
SSL_Key_TYPE
Definition: cKeyBase.h:24