The C++ framework for developing highly scalable, high performance servers on Windows platforms.

SSLStreamValidator.cpp File Reference


Namespaces

namespace  JetByteTools
namespace  JetByteTools::OpenSSL

Defines

#define STD_MESSAGE_FMT(_msg)   m_identifier + _msg
#define LOG_SUB(_sub, _cls, _msg)   { if (CDebugLog::ShouldLog(_sub, _cls)) { CDebugLog::Instance().LogMessage(_sub, _cls, _msg); } }
#define LOG(_cls, _msg)   LOG_SUB(CDebugLog::OpenSSLToolsStreamAsyncConnector, _cls, STD_MESSAGE_FMT(_msg))
#define TRACE(_msg)   LOG(CDebugLog::Trace, _msg)
#define VERBOSE(_msg)   LOG(CDebugLog::Verbose, _msg)
#define WARN(_msg)   LOG(CDebugLog::Warning, _msg)
#define ERROR(_msg)   LOG(CDebugLog::Error, _msg)
#define DUMP(_msg)   LOG(CDebugLog::Dump, _msg)
#define ALWAYS(_msg)   LOG(CDebugLog::Always, _msg)

Enumerations

enum  SSLContentType {
  ChangeCipherSpec = 20, ChangeCipherSpec = 20, Alert = 21, Alert = 21,
  Handshake = 22, Handshake = 22, ApplicationData = 23, ApplicationData = 23
}
enum  DTLSHandshakeType {
  DTLSHandshakeType_hello = 0, DTLSHandshakeType_hello = 0, DTLSHandshakeType_clienthello = 1, DTLSHandshakeType_clienthello = 1,
  DTLSHandshakeType_serverhello = 2, DTLSHandshakeType_serverhello = 2, DTLSHandshakeType_helloverifyrequest = 3, DTLSHandshakeType_newsessionticket = 4,
  DTLSHandshakeType_endofearlydata = 5, DTLSHandshakeType_helloretryrequest = 6, DTLSHandshakeType_encryptedextension = 8, DTLSHandshakeType_certificate = 11,
  DTLSHandshakeType_certificate = 11, DTLSHandshakeType_serverkeyexchange = 12, DTLSHandshakeType_serverkeyexchange = 12, DTLSHandshakeType_certificaterequest = 13,
  DTLSHandshakeType_certificaterequest = 13, DTLSHandshakeType_serverhellodone = 14, DTLSHandshakeType_serverhellodone = 14, DTLSHandshakeType_certificateverify = 15,
  DTLSHandshakeType_certificateverify = 15, DTLSHandshakeType_clientkeyexchange = 16, DTLSHandshakeType_clientkeyexchange = 16, DTLSHandshakeType_finished = 20,
  DTLSHandshakeType_finished = 20, DTLSHandshakeType_hello = 0, DTLSHandshakeType_hello = 0, DTLSHandshakeType_clienthello = 1,
  DTLSHandshakeType_clienthello = 1, DTLSHandshakeType_serverhello = 2, DTLSHandshakeType_serverhello = 2, DTLSHandshakeType_certificate = 11,
  DTLSHandshakeType_certificate = 11, DTLSHandshakeType_serverkeyexchange = 12, DTLSHandshakeType_serverkeyexchange = 12, DTLSHandshakeType_certificaterequest = 13,
  DTLSHandshakeType_certificaterequest = 13, DTLSHandshakeType_serverhellodone = 14, DTLSHandshakeType_serverhellodone = 14, DTLSHandshakeType_certificateverify = 15,
  DTLSHandshakeType_certificateverify = 15, DTLSHandshakeType_clientkeyexchange = 16, DTLSHandshakeType_clientkeyexchange = 16, DTLSHandshakeType_finished = 20,
  DTLSHandshakeType_finished = 20
}

Functions

static void TLS_HandshakeDebug (const void *pData, DWORD dataLength)
 m_accumulated (0)


Define Documentation

#define ALWAYS ( _msg   )     LOG(CDebugLog::Always, _msg)

#define DUMP ( _msg   )     LOG(CDebugLog::Dump, _msg)

#define ERROR ( _msg   )     LOG(CDebugLog::Error, _msg)

#define LOG ( _cls,
_msg   )     LOG_SUB(CDebugLog::OpenSSLToolsStreamAsyncConnector, _cls, STD_MESSAGE_FMT(_msg))

#define LOG_SUB ( _sub,
_cls,
_msg   )     { if (CDebugLog::ShouldLog(_sub, _cls)) { CDebugLog::Instance().LogMessage(_sub, _cls, _msg); } }

#define STD_MESSAGE_FMT ( _msg   )     m_identifier + _msg

#define TRACE ( _msg   )     LOG(CDebugLog::Trace, _msg)

#define VERBOSE ( _msg   )     LOG(CDebugLog::Verbose, _msg)

#define WARN ( _msg   )     LOG(CDebugLog::Warning, _msg)


Generated on Sun Sep 12 19:06:44 2021 for The Server Framework - v7.4 by doxygen 1.5.3