MySQL 9.1.0
Source Code Documentation
tls_context.h File Reference
#include "mysql/harness/tls_export.h"
#include <memory>
#include <string>
#include <system_error>
#include <vector>
#include <openssl/ssl.h>
#include "mysql/harness/stdx/expected.h"

Go to the source code of this file.

Classes

class  TlsLibraryContext
 
class  TlsContext
 wraps SSL_CTX. More...
 

Enumerations

enum class  TlsVersion {
  AUTO , SSL_3 , TLS_1_0 , TLS_1_1 ,
  TLS_1_2 , TLS_1_3
}
 TLS Versions. More...
 
enum class  TlsVerify { NONE , PEER }
 Verification of Cerifiticates. More...
 

Enumeration Type Documentation

◆ TlsVerify

enum class TlsVerify
strong

Verification of Cerifiticates.

NONE no certificate is verified PEER verify the cert of the peer

Enumerator
NONE 
PEER 

◆ TlsVersion

enum class TlsVersion
strong

TLS Versions.

used for set_min_version.

Note
for now own TLS1.2 is used, but others may be added later.
Enumerator
AUTO 
SSL_3 
TLS_1_0 
TLS_1_1 
TLS_1_2 
TLS_1_3