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

#include <SSLTypes.h>

Inheritance diagram for GrayLib::cSSL:
GrayLib::cSSLMsgAlert GrayLib::cSSLMsgChangeCipherSpec GrayLib::cSSLMsgHandCert GrayLib::cSSLMsgHandExt GrayLib::cSSLMsgHandHello GrayLib::cSSLMsgHandshake GrayLib::cSSLMsgHeader GrayLib::cSSLMsgX GraySSL::cSSLCommon GraySSL::cSSLConfig GraySSL::cSSLHandshake GraySSL::cSSLTransform

Static Public Attributes

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

Common constants.

Member Data Documentation

◆ k_Content_Size_Max

const size_t GrayLib::cSSL::k_Content_Size_Max = 16384
static

Size of content. >= k_MaxFragLens[MAX].

Note
: the RFC defines the default max size of SSL / TLS messages. May change if you're using the Max Fragment Length extension and you know all your peers are using it too!

◆ k_MAC_Size_Max

const size_t GrayLib::cSSL::k_MAC_Size_Max = 48
static

16 to 48. SHA-384 used for HMAC. like k_HashSizeMax

◆ k_MaxFragLens

const WORD GrayLib::cSSL::k_MaxFragLens
static
Initial value:
=
{
512,
1024,
2048,
4096,
}
static const size_t k_Content_Size_Max
Size of content. >= k_MaxFragLens[MAX].
Definition: SSLTypes.h:280

◆ k_Number_Size_Max

const size_t GrayLib::cSSL::k_Number_Size_Max = 1024
static

Max reasonable size of a big number used for crypt purposes. 8k bits. like cBigInteger::k_SIZE_MAX.

◆ k_PSK_Size_Max

const size_t GrayLib::cSSL::k_PSK_Size_Max = 32
static

256 bits


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