CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tls::Server Class Reference

#include <server.h>

Inherits ccf::tls::Context.

Public Member Functions

 Server (const std::shared_ptr< Cert > &cert_, bool http2=false)
 
- Public Member Functions inherited from ccf::tls::Context
 Context (bool client)
 
virtual ~Context ()=default
 
virtual void set_bio (void *cb_obj, BIO_callback_fn_ex send, BIO_callback_fn_ex recv)
 
virtual int handshake ()
 
virtual int read (uint8_t *buf, size_t len)
 
virtual int write (const uint8_t *buf, size_t len)
 
virtual int close ()
 
virtual bool peer_cert_ok ()
 
virtual std::string get_verify_error ()
 
virtual std::string host ()
 
virtual std::vector< uint8_t > peer_cert ()
 

Additional Inherited Members

- Protected Attributes inherited from ccf::tls::Context
ccf::crypto::OpenSSL::Unique_SSL_CTX cfg
 
ccf::crypto::OpenSSL::Unique_SSL ssl
 

Constructor & Destructor Documentation

◆ Server()

tls::Server::Server ( const std::shared_ptr< Cert > &  cert_,
bool  http2 = false 
)
inline

The documentation for this class was generated from the following file: