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

#include <cKeyECPPair.h>

Inheritance diagram for GrayLib::cKeyTypeEC:
GrayLib::cKeyTypeDef GrayLib::cKeyTypeECDH

Public Member Functions

 cKeyTypeEC () noexcept
 
 cKeyTypeEC (SSL_Key_TYPE eKeyType, const char *name)
 
virtual bool HasKeyType (SSL_Key_TYPE eKeyType) const noexcept
 Tell if the context implements this type (e.g. ECKEY can do ECDSA) More...
 
virtual cKeyBaseAllocKey () const
 Allocate a new context. More...
 
- Public Member Functions inherited from GrayLib::cKeyTypeDef
 cKeyTypeDef (SSL_Key_TYPE eKeyType, const char *pszName) noexcept
 
virtual ~cKeyTypeDef ()
 
SSL_Key_TYPE get_HashCode () const noexcept
 
 UNITTEST_FRIEND (cKeyTypeDef)
 

Additional Inherited Members

- Public Attributes inherited from GrayLib::cKeyTypeDef
SSL_Key_TYPE const m_eKeyType
 Public key type. More...
 
const char *const m_pszName
 Type name. More...
 

Detailed Description

Generic EC key

Constructor & Destructor Documentation

◆ cKeyTypeEC() [1/2]

GrayLib::cKeyTypeEC::cKeyTypeEC ( )
inlinenoexcept

◆ cKeyTypeEC() [2/2]

GrayLib::cKeyTypeEC::cKeyTypeEC ( SSL_Key_TYPE  eKeyType,
const char *  name 
)
inline

Member Function Documentation

◆ AllocKey()

virtual cKeyBase* GrayLib::cKeyTypeEC::AllocKey ( ) const
inlinevirtual

Allocate a new context.

Implements GrayLib::cKeyTypeDef.

◆ HasKeyType()

virtual bool GrayLib::cKeyTypeEC::HasKeyType ( SSL_Key_TYPE  eKeyType) const
inlinevirtualnoexcept

Tell if the context implements this type (e.g. ECKEY can do ECDSA)

Implements GrayLib::cKeyTypeDef.

Reimplemented in GrayLib::cKeyTypeECDH.


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