24#ifndef XCOM_SSL_TRANSPORT_H
25#define XCOM_SSL_TRANSPORT_H
27#ifndef XCOM_WITHOUT_OPENSSL
33#include <openssl/err.h>
34#include <openssl/ssl.h>
153 const char *client_key_file,
const char *client_cert_file,
154 const char *ca_file,
const char *ca_path,
155 const char *crl_file,
const char *crl_path,
156 const char *cipher,
const char *tls_version,
157 const char *tls_ciphersuites);
constexpr value_type ssl
Definition: classic_protocol_constants.h:49
mode
Definition: file_handle.h:61
ssl_enum_fips_mode_options
Definition: network_provider.h:69
ssl_enum_mode_options
Definition: network_provider.h:55
int xcom_set_ssl_fips_mode(int mode)
int xcom_get_ssl_mode(const char *mode)
@ INVALID_SSL_FIPS_MODE
Definition: xcom_ssl_transport.h:60
@ SSL_FIPS_MODE_OFF
Definition: xcom_ssl_transport.h:61
@ SSL_FIPS_MODE_STRICT
Definition: xcom_ssl_transport.h:63
@ SSL_FIPS_MODE_ON
Definition: xcom_ssl_transport.h:62
@ LAST_SSL_FIPS_MODE
Definition: xcom_ssl_transport.h:64
int xcom_init_ssl(const char *server_key_file, const char *server_cert_file, const char *client_key_file, const char *client_cert_file, const char *ca_file, const char *ca_path, const char *crl_file, const char *crl_path, const char *cipher, const char *tls_version, const char *tls_ciphersuites)
int xcom_get_ssl_fips_mode(const char *mode)
int ssl_verify_server_cert(SSL *ssl, const char *server_hostname)
SSL_CTX * client_ctx
Definition: xcom_network_provider_ssl_native_lib.cc:173
@ LAST_SSL_MODE
Definition: xcom_ssl_transport.h:52
@ SSL_VERIFY_CA
Definition: xcom_ssl_transport.h:50
@ SSL_VERIFY_IDENTITY
Definition: xcom_ssl_transport.h:51
@ SSL_REQUIRED
Definition: xcom_ssl_transport.h:49
@ SSL_PREFERRED
Definition: xcom_ssl_transport.h:48
@ INVALID_SSL_MODE
Definition: xcom_ssl_transport.h:46
@ SSL_DISABLED
Definition: xcom_ssl_transport.h:47
int xcom_set_ssl_mode(int mode)
SSL_CTX * server_ctx
Definition: xcom_network_provider_ssl_native_lib.cc:172