OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::SSLConst Namespace Reference

Enumerations

enum  { SHOULD_RETRY = -1 , PEER_CLOSE_NOTIFY = -2 }
 
enum  {
  LOG_VERIFY_STATUS = (1 << 0) , NO_VERIFY_PEER = (1 << 1) , ENABLE_CLIENT_SNI = (1 << 2) , NO_VERIFY_HOSTNAME = (1 << 3) ,
  DEFERRED_CERT_VERIFY = (1 << 4) , SERVER_TO_SERVER = (1 << 5) , PEER_CERT_OPTIONAL = (1 << 6) , SEND_CLIENT_CA_LIST = (1 << 7) ,
  VERIFY_PEER_FINGERPRINT = (1 << 8) , LAST = (1 << 9)
}
 

Functions

unsigned int ssl_flags (const unsigned int flags)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SHOULD_RETRY 
PEER_CLOSE_NOTIFY 

Definition at line 18 of file sslconsts.hpp.

◆ anonymous enum

anonymous enum
Enumerator
LOG_VERIFY_STATUS 
NO_VERIFY_PEER 
ENABLE_CLIENT_SNI 
NO_VERIFY_HOSTNAME 
DEFERRED_CERT_VERIFY 
SERVER_TO_SERVER 
PEER_CERT_OPTIONAL 
SEND_CLIENT_CA_LIST 
VERIFY_PEER_FINGERPRINT 
LAST 

Definition at line 30 of file sslconsts.hpp.

Function Documentation

◆ ssl_flags()

unsigned int openvpn::SSLConst::ssl_flags ( const unsigned int  flags)
inline

Definition at line 71 of file sslconsts.hpp.