#include <openssl/err.h>
#include <openssl/ssl.h>
Go to the source code of this file.
|
enum | ssl_enum_mode_options {
INVALID_SSL_MODE = -1
, SSL_DISABLED = 1
, SSL_PREFERRED
, SSL_REQUIRED
,
SSL_VERIFY_CA
, SSL_VERIFY_IDENTITY
, LAST_SSL_MODE
, INVALID_SSL_MODE = -1
,
SSL_DISABLED = 1
, SSL_PREFERRED
, SSL_REQUIRED
, SSL_VERIFY_CA
,
SSL_VERIFY_IDENTITY
, LAST_SSL_MODE
} |
|
enum | ssl_enum_fips_mode_options {
INVALID_SSL_FIPS_MODE = -1
, FIPS_MODE_OFF = 0
, FIPS_MODE_ON
, FIPS_MODE_STRICT
,
LAST_SSL_FIPS_MODE
, INVALID_SSL_FIPS_MODE = -1
, SSL_FIPS_MODE_OFF = 0
, SSL_FIPS_MODE_ON
,
SSL_FIPS_MODE_STRICT
, LAST_SSL_FIPS_MODE
} |
|
|
int | xcom_get_ssl_fips_mode (const char *mode) |
|
int | xcom_set_ssl_fips_mode (int mode) |
|
int | xcom_get_ssl_mode (const char *mode) |
|
int | xcom_set_ssl_mode (int mode) |
|
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) |
|
void | xcom_cleanup_ssl () |
|
void | xcom_destroy_ssl () |
|
int | xcom_use_ssl () |
|
int | ssl_verify_server_cert (SSL *ssl, const char *server_hostname) |
|
◆ SSL_ERROR
◆ SSL_SUCCESS
◆ ssl_enum_fips_mode_options
Enumerator |
---|
INVALID_SSL_FIPS_MODE | |
FIPS_MODE_OFF | |
FIPS_MODE_ON | |
FIPS_MODE_STRICT | |
LAST_SSL_FIPS_MODE | |
INVALID_SSL_FIPS_MODE | |
SSL_FIPS_MODE_OFF | |
SSL_FIPS_MODE_ON | |
SSL_FIPS_MODE_STRICT | |
LAST_SSL_FIPS_MODE | |
◆ ssl_enum_mode_options
Enumerator |
---|
INVALID_SSL_MODE | |
SSL_DISABLED | |
SSL_PREFERRED | |
SSL_REQUIRED | |
SSL_VERIFY_CA | |
SSL_VERIFY_IDENTITY | |
LAST_SSL_MODE | |
INVALID_SSL_MODE | |
SSL_DISABLED | |
SSL_PREFERRED | |
SSL_REQUIRED | |
SSL_VERIFY_CA | |
SSL_VERIFY_IDENTITY | |
LAST_SSL_MODE | |
◆ ssl_verify_server_cert()
int ssl_verify_server_cert |
( |
SSL * |
ssl, |
|
|
const char * |
server_hostname |
|
) |
| |
◆ xcom_cleanup_ssl()
void xcom_cleanup_ssl |
( |
| ) |
|
◆ xcom_destroy_ssl()
void xcom_destroy_ssl |
( |
| ) |
|
◆ xcom_get_ssl_fips_mode()
int xcom_get_ssl_fips_mode |
( |
const char * |
mode | ) |
|
◆ xcom_get_ssl_mode()
int xcom_get_ssl_mode |
( |
const char * |
mode | ) |
|
◆ xcom_init_ssl()
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 |
|
) |
| |
◆ xcom_set_ssl_fips_mode()
int xcom_set_ssl_fips_mode |
( |
int |
mode | ) |
|
◆ xcom_set_ssl_mode()
int xcom_set_ssl_mode |
( |
int |
mode | ) |
|
◆ xcom_use_ssl()
◆ client_ctx
◆ server_ctx