|
Botan 1.10.17
|
#include <tls_server.h>
Public Member Functions | |
| void | close () |
| bool | is_closed () const |
| std::vector< X509_Certificate > | peer_cert_chain () const |
| size_t | read (byte &in) |
| size_t | read (byte buf[], size_t buf_len) |
| std::string | requested_hostname () const |
| TLS_Server (std::tr1::function< size_t(byte[], size_t)> input_fn, std::tr1::function< void(const byte[], size_t)> output_fn, const TLS_Policy &policy, RandomNumberGenerator &rng, const X509_Certificate &cert, const Private_Key &cert_key) | |
| void | write (byte out) |
| void | write (const byte buf[], size_t buf_len) |
| ~TLS_Server () | |
TLS Server
Definition at line 21 of file tls_server.h.
| Botan::TLS_Server::TLS_Server | ( | std::tr1::function< size_t(byte[], size_t)> | input_fn, |
| std::tr1::function< void(const byte[], size_t)> | output_fn, | ||
| const TLS_Policy & | policy, | ||
| RandomNumberGenerator & | rng, | ||
| const X509_Certificate & | cert, | ||
| const Private_Key & | cert_key ) |
Definition at line 88 of file tls_server.cpp.
References Botan::PKCS8::copy_key(), Botan::FATAL, Botan::HANDSHAKE_FAILURE, Botan::Stream_IO_Error::Stream_IO_Error(), and Botan::TLS_V10.
| Botan::TLS_Server::~TLS_Server | ( | ) |
Definition at line 127 of file tls_server.cpp.
References close().
|
virtual |
Implements Botan::TLS_Connection.
Definition at line 188 of file tls_server.cpp.
References close(), Botan::CLOSE_NOTIFY, and Botan::WARNING.
Referenced by close(), and ~TLS_Server().
| bool Botan::TLS_Server::is_closed | ( | ) | const |
Definition at line 178 of file tls_server.cpp.
|
virtual |
Implements Botan::TLS_Connection.
Definition at line 137 of file tls_server.cpp.
|
inlineinherited |
Definition at line 24 of file tls_connection.h.
References read().
Referenced by read().
|
virtual |
Implements Botan::TLS_Connection.
Definition at line 156 of file tls_server.cpp.
References Botan::Internal_Error::Internal_Error().
|
inline |
Definition at line 29 of file tls_server.h.
|
inlineinherited |
Definition at line 25 of file tls_connection.h.
References write().
Referenced by write().
|
virtual |
Implements Botan::TLS_Connection.
Definition at line 145 of file tls_server.cpp.
References Botan::APPLICATION_DATA, and Botan::Internal_Error::Internal_Error().