SNode.C
Loading...
Searching...
No Matches
ssl_utils.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  core
 
namespace  core::socket
 
namespace  core::socket::stream
 
namespace  core::socket::stream::tls
 

Functions

static int core::socket::stream::tls::password_callback (char *buf, int size, int a, void *u)
 
static int core::socket::stream::tls::verify_callback (int preverify_ok, X509_STORE_CTX *ctx)
 
SSL_CTX * core::socket::stream::tls::ssl_ctx_new (const SslConfig &sslConfig)
 
std::map< std::string, SSL_CTX * > core::socket::stream::tls::ssl_get_sans (SSL_CTX *sslCtx)
 
void core::socket::stream::tls::ssl_set_sni (SSL *ssl, const std::string &sni)
 
SSL_CTX * core::socket::stream::tls::ssl_set_ssl_ctx (SSL *ssl, SSL_CTX *sslCtx)
 
void core::socket::stream::tls::ssl_ctx_free (SSL_CTX *ctx)
 
std::string core::socket::stream::tls::ssl_get_servername_from_client_hello (SSL *ssl)
 
void core::socket::stream::tls::ssl_log (const std::string &message, int sslErr)
 
void core::socket::stream::tls::ssl_log_error (const std::string &message)
 
void core::socket::stream::tls::ssl_log_warning (const std::string &message)
 
void core::socket::stream::tls::ssl_log_info (const std::string &message)
 
bool core::socket::stream::tls::match (const char *first, const char *second)