E-MailRelay
|
An implementation of the GSsl::Profile interface for OpenSSL. More...
#include <gssl_openssl.h>
Public Types | |
using | Error = OpenSSL::Error |
Public Member Functions | |
ProfileImp (const LibraryImp &, bool is_server_profile, const std::string &key_file, const std::string &cert_file, const std::string &ca_file, const std::string &default_peer_certificate_name, const std::string &default_peer_host_name, const std::string &profile_config) | |
SSL_CTX * | p () const |
const LibraryImp & | lib () const |
const std::string & | defaultPeerCertificateName () const |
const std::string & | defaultPeerHostName () const |
void | apply (const Config &) |
ProfileImp (const ProfileImp &)=delete | |
ProfileImp (ProfileImp &&)=delete | |
void | operator= (const ProfileImp &)=delete |
void | operator= (ProfileImp &&)=delete |
![]() | |
virtual | ~Profile ()=default |
Destructor. | |
virtual std::unique_ptr< ProtocolImpBase > | newProtocol (const std::string &, const std::string &) const =0 |
Factory method for a new Protocol object on the heap. | |
An implementation of the GSsl::Profile interface for OpenSSL.
Definition at line 141 of file gssl_openssl.h.
Definition at line 144 of file gssl_openssl.h.
GSsl::OpenSSL::ProfileImp::ProfileImp | ( | const LibraryImp & | library_imp, |
bool | is_server_profile, | ||
const std::string & | key_file, | ||
const std::string & | cert_file, | ||
const std::string & | ca_file, | ||
const std::string & | default_peer_certificate_name, | ||
const std::string & | default_peer_host_name, | ||
const std::string & | profile_config | ||
) |
Definition at line 319 of file gssl_openssl.cpp.
void GSsl::OpenSSL::ProfileImp::apply | ( | const Config & | config | ) |
Definition at line 455 of file gssl_openssl.cpp.
const std::string & GSsl::OpenSSL::ProfileImp::defaultPeerCertificateName | ( | ) | const |
Definition at line 436 of file gssl_openssl.cpp.
const std::string & GSsl::OpenSSL::ProfileImp::defaultPeerHostName | ( | ) | const |
Definition at line 441 of file gssl_openssl.cpp.
const GSsl::OpenSSL::LibraryImp & GSsl::OpenSSL::ProfileImp::lib | ( | ) | const |
Definition at line 431 of file gssl_openssl.cpp.
SSL_CTX * GSsl::OpenSSL::ProfileImp::p | ( | ) | const |
Definition at line 426 of file gssl_openssl.cpp.