Monero
Loading...
Searching...
No Matches
net_ssl.cpp File Reference
#include <string.h>
#include <thread>
#include <boost/asio/post.hpp>
#include <boost/asio/ssl.hpp>
#include <boost/cerrno.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/asio/strand.hpp>
#include <condition_variable>
#include <boost/lambda/lambda.hpp>
#include <openssl/ssl.h>
#include <openssl/pem.h>
#include "misc_log_ex.h"
#include "net/net_helper.h"
#include "net/net_ssl.h"
#include "file_io_utils.h"
Include dependency graph for net_ssl.cpp:

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.
namespace  epee::net_utils

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "net.ssl"
#define MONERO_HOSTNAME_VERIFY   boost::asio::ssl::rfc2818_verification

Functions

bool epee::net_utils::create_rsa_ssl_certificate (EVP_PKEY *&pkey, X509 *&cert)
bool epee::net_utils::create_ec_ssl_certificate (EVP_PKEY *&pkey, X509 *&cert, int type)
bool epee::net_utils::is_ssl (const unsigned char *data, size_t len)
bool epee::net_utils::ssl_support_from_string (ssl_support_t &ssl, boost::string_ref s)
boost::system::error_code epee::net_utils::store_ssl_keys (boost::asio::ssl::context &ssl, const boost::filesystem::path &base)
 Store private key for ssl at base + ".key" unencrypted and certificate for ssl at base + ".crt".

Macro Definition Documentation

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "net.ssl"

◆ MONERO_HOSTNAME_VERIFY

#define MONERO_HOSTNAME_VERIFY   boost::asio::ssl::rfc2818_verification