E-MailRelay
|
An implementation of the GSsl::ProtocolImpBase interface for OpenSSL. More...
#include <gssl_openssl.h>
Public Types | |
using | Result = Protocol::Result |
using | Error = OpenSSL::Error |
using | Certificate = OpenSSL::Certificate |
using | CertificateChain = OpenSSL::CertificateChain |
Public Member Functions | |
ProtocolImp (const ProfileImp &, const std::string &, const std::string &) | |
std::string | requiredPeerCertificateName () const |
ProtocolImp (const ProtocolImp &)=delete | |
ProtocolImp (ProtocolImp &&)=delete | |
void | operator= (const ProtocolImp &)=delete |
void | operator= (ProtocolImp &&)=delete |
![]() | |
virtual | ~ProtocolImpBase ()=default |
Destructor. | |
virtual Protocol::Result | connect (G::ReadWrite &)=0 |
Implements Protocol::connect(). | |
virtual Protocol::Result | accept (G::ReadWrite &)=0 |
Implements Protocol::accept(). | |
virtual Protocol::Result | shutdown ()=0 |
Implements Protocol::shutdown(). | |
virtual Protocol::Result | read (char *, std::size_t, ssize_t &)=0 |
Implements Protocol::read(). | |
virtual Protocol::Result | write (const char *, std::size_t, ssize_t &)=0 |
Implements Protocol::write(). | |
virtual std::string | peerCertificate () const =0 |
Implements Protocol::peerCertificate(). | |
virtual std::string | peerCertificateChain () const =0 |
Implements Protocol::peerCertificateChain(). | |
virtual std::string | cipher () const =0 |
Implements Protocol::cipher(). | |
virtual std::string | protocol () const =0 |
Implements Protocol::protocol(). | |
virtual bool | verified () const =0 |
Implements Protocol::verified(). | |
An implementation of the GSsl::ProtocolImpBase interface for OpenSSL.
Definition at line 234 of file gssl_openssl.h.
Definition at line 239 of file gssl_openssl.h.
Definition at line 240 of file gssl_openssl.h.
Definition at line 238 of file gssl_openssl.h.
using GSsl::OpenSSL::ProtocolImp::Result = Protocol::Result |
Definition at line 237 of file gssl_openssl.h.
GSsl::OpenSSL::ProtocolImp::ProtocolImp | ( | const ProfileImp & | profile, |
const std::string & | required_peer_certificate_name, | ||
const std::string & | target_peer_host_name | ||
) |
Definition at line 525 of file gssl_openssl.cpp.
std::string GSsl::OpenSSL::ProtocolImp::requiredPeerCertificateName | ( | ) | const |
Definition at line 772 of file gssl_openssl.cpp.