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

#include <cSSLMsg.h>

Inheritance diagram for GrayLib::cSSLMsgHandshake:
GrayLib::cSSL

Public Member Functions

SSL_HAND_TYPE get_HandType () const
 
void put_HandType (SSL_HAND_TYPE eHandType)
 
DWORD get_Length () const
 
void put_Length (DWORD len)
 
const BYTE * get_DataPtr () const
 
BYTE * get_DataPtr ()
 

Public Attributes

BYTE m_nHandType
 SSL_HAND_TYPE. sub message type. e.g. SSL_HAND_ClientHello. More...
 
BYTE m_aLen [3]
 [0] = high byte (always 0), [2] = low byte. More...
 

Additional Inherited Members

- Static Public Attributes inherited from GrayLib::cSSL
static const size_t k_PSK_Size_Max = 32
 256 bits More...
 
static const size_t k_MAC_Size_Max = 48
 16 to 48. SHA-384 used for HMAC. like k_HashSizeMax More...
 
static const size_t k_Number_Size_Max = 1024
 Max reasonable size of a big number used for crypt purposes. 8k bits. like cBigInteger::k_SIZE_MAX. More...
 
static const size_t k_Content_Size_Max = 16384
 Size of content. >= k_MaxFragLens[MAX]. More...
 
static const WORD k_MaxFragLens [SSL_MAX_FRAG_LEN_QTY]
 

Detailed Description

cSSLMsgHeader.m_nMsgType = SSL_MSG_HANDSHAKE = 0x16 content can repeat inside the cSSLMsg up to m_wLength.

Member Function Documentation

◆ get_DataPtr() [1/2]

BYTE* GrayLib::cSSLMsgHandshake::get_DataPtr ( )
inline

◆ get_DataPtr() [2/2]

const BYTE* GrayLib::cSSLMsgHandshake::get_DataPtr ( ) const
inline

◆ get_HandType()

SSL_HAND_TYPE GrayLib::cSSLMsgHandshake::get_HandType ( ) const
inline

◆ get_Length()

DWORD GrayLib::cSSLMsgHandshake::get_Length ( ) const
inline

Cont_Handshake data length

◆ put_HandType()

void GrayLib::cSSLMsgHandshake::put_HandType ( SSL_HAND_TYPE  eHandType)
inline

◆ put_Length()

void GrayLib::cSSLMsgHandshake::put_Length ( DWORD  len)
inline

Member Data Documentation

◆ m_aLen

BYTE GrayLib::cSSLMsgHandshake::m_aLen[3]

[0] = high byte (always 0), [2] = low byte.

◆ m_nHandType

BYTE GrayLib::cSSLMsgHandshake::m_nHandType

SSL_HAND_TYPE. sub message type. e.g. SSL_HAND_ClientHello.


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