Electroneum
Loading...
Searching...
No Matches
epee::net_utils::ssl_authentication_t Struct Reference

#include <net_ssl.h>

Collaboration diagram for epee::net_utils::ssl_authentication_t:

Public Member Functions

void use_ssl_certificate (boost::asio::ssl::context &ssl_context) const
 Load private_key_path and certificate_path into ssl_context.

Public Attributes

std::string private_key_path
 Private key used for authentication.
std::string certificate_path
 Certificate used for authentication to peer.

Detailed Description

Definition at line 60 of file net_ssl.h.

Member Function Documentation

◆ use_ssl_certificate()

void epee::net_utils::ssl_authentication_t::use_ssl_certificate ( boost::asio::ssl::context & ssl_context) const

Load private_key_path and certificate_path into ssl_context.

Definition at line 376 of file net_ssl.cpp.

377{
378 ssl_context.use_private_key_file(private_key_path, boost::asio::ssl::context::pem);
379 ssl_context.use_certificate_chain_file(certificate_path);
380}
std::string certificate_path
Certificate used for authentication to peer.
Definition net_ssl.h:63
std::string private_key_path
Private key used for authentication.
Definition net_ssl.h:62

Member Data Documentation

◆ certificate_path

std::string epee::net_utils::ssl_authentication_t::certificate_path

Certificate used for authentication to peer.

Definition at line 63 of file net_ssl.h.

◆ private_key_path

std::string epee::net_utils::ssl_authentication_t::private_key_path

Private key used for authentication.

Definition at line 62 of file net_ssl.h.


The documentation for this struct was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/net/net_ssl.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/src/net_ssl.cpp