|
Botan
2.13.0
Crypto and TLS for C++11
|
boost::asio compatible SSL/TLS stream More...
#include <asio_stream.h>
Classes | |
| class | StreamCore |
| Helper class that implements Botan::TLS::Callbacks. More... | |
Public Member Functions | |
construction | |
| template<typename... Args> | |
| Stream (Context &context, Args &&...args) | |
| Construct a new Stream. More... | |
| template<typename Arg > | |
| Stream (Arg &&arg, Context &context) | |
| Construct a new Stream. More... | |
| virtual | ~Stream ()=default |
| Stream (Stream &&other)=default | |
| Stream & | operator= (Stream &&other)=default |
| Stream (const Stream &other)=delete | |
| Stream & | operator= (const Stream &other)=delete |
configuration and callback setters | |
| void | set_verify_callback (Context::Verify_Callback callback) |
| Override the tls_verify_cert_chain callback. More... | |
| void | set_verify_callback (Context::Verify_Callback callback, boost::system::error_code &ec) |
| Compatibility overload of set_verify_callback. More... | |
| void | set_verify_depth (int depth) |
| void | set_verify_depth (int depth, boost::system::error_code &ec) |
| template<typename verify_mode > | |
| void | set_verify_mode (verify_mode v) |
| template<typename verify_mode > | |
| void | set_verify_mode (verify_mode v, boost::system::error_code &ec) |
shutdown methods | |
| void | shutdown (boost::system::error_code &ec) |
| Shut down SSL on the stream. More... | |
| void | shutdown () |
| Shut down SSL on the stream. More... | |
| template<typename ShutdownHandler > | |
| void | async_shutdown (ShutdownHandler &&handler) |
| Asynchronously shut down SSL on the stream. More... | |
I/O methods | |
| template<typename MutableBufferSequence > | |
| std::size_t | read_some (const MutableBufferSequence &buffers, boost::system::error_code &ec) |
| Read some data from the stream. More... | |
| template<typename MutableBufferSequence > | |
| std::size_t | read_some (const MutableBufferSequence &buffers) |
| Read some data from the stream. More... | |
| template<typename ConstBufferSequence > | |
| std::size_t | write_some (const ConstBufferSequence &buffers, boost::system::error_code &ec) |
| Write some data to the stream. More... | |
| template<typename ConstBufferSequence > | |
| std::size_t | write_some (const ConstBufferSequence &buffers) |
| Write some data to the stream. More... | |
| template<typename ConstBufferSequence , typename WriteHandler > | |
| auto | async_write_some (const ConstBufferSequence &buffers, WriteHandler &&handler) -> BOOST_ASIO_INITFN_RESULT_TYPE(WriteHandler, void(boost::system::error_code, std::size_t)) |
| Start an asynchronous write. The function call always returns immediately. More... | |
| template<typename MutableBufferSequence , typename ReadHandler > | |
| auto | async_read_some (const MutableBufferSequence &buffers, ReadHandler &&handler) -> BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler, void(boost::system::error_code, std::size_t)) |
| Start an asynchronous read. The function call always returns immediately. More... | |
Protected Member Functions | |
| void | consume_send_buffer (std::size_t bytesConsumed) |
| Mark bytes in the send buffer as consumed, removing them from the buffer. More... | |
| template<typename MutableBufferSequence > | |
| std::size_t | copy_received_data (MutableBufferSequence buffers) |
| Copy decrypted data into the user-provided buffer. More... | |
| bool | has_data_to_send () const |
| Check if encrypted data is available in the send buffer. More... | |
| bool | has_received_data () const |
| Check if decrypted data is available in the receive buffer. More... | |
| const boost::asio::mutable_buffer & | input_buffer () |
| boost::asio::const_buffer | send_buffer () const |
| size_t | send_pending_encrypted_data (boost::system::error_code &ec) |
| template<class T = ChannelT> | |
| std::enable_if<!std::is_same< Channel, T >::value >::type | setup_native_handle (Connection_Side, boost::system::error_code &) |
| template<class T = ChannelT> | |
| std::enable_if< std::is_same< Channel, T >::value >::type | setup_native_handle (Connection_Side side, boost::system::error_code &ec) |
| Create the native handle. More... | |
| template<typename ConstBufferSequence > | |
| void | tls_encrypt (const ConstBufferSequence &buffers, boost::system::error_code &ec) |
Protected Attributes | |
| Context & | m_context |
| StreamCore | m_core |
| const boost::asio::mutable_buffer | m_input_buffer |
| std::vector< uint8_t > | m_input_buffer_space |
| std::unique_ptr< ChannelT > | m_native_handle |
| StreamLayer | m_nextLayer |
| boost::beast::flat_buffer | m_receive_buffer |
| boost::beast::flat_buffer | m_send_buffer |
Friends | |
| template<class H , class S , class A > | |
| class | detail::AsyncHandshakeOperation |
| template<class H , class S , class M , class A > | |
| class | detail::AsyncReadOperation |
| template<class H , class S , class A > | |
| class | detail::AsyncWriteOperation |
boost::asio accessor methods | |
| using | next_layer_type = typename std::remove_reference< StreamLayer >::type |
| using | lowest_layer_type = typename next_layer_type::lowest_layer_type |
| using | executor_type = typename next_layer_type::executor_type |
| using | native_handle_type = typename std::add_pointer< ChannelT >::type |
| executor_type | get_executor () noexcept |
| const next_layer_type & | next_layer () const |
| next_layer_type & | next_layer () |
| lowest_layer_type & | lowest_layer () |
| const lowest_layer_type & | lowest_layer () const |
| native_handle_type | native_handle () |
handshake methods | |
| const ConstBufferSequence & | buffers |
| const ConstBufferSequence BufferedHandshakeHandler && | handler |
| void | handshake (Connection_Side side) |
| Performs SSL handshaking. More... | |
| void | handshake (Connection_Side side, boost::system::error_code &ec) |
| Performs SSL handshaking. More... | |
| template<typename HandshakeHandler > | |
| auto | async_handshake (Connection_Side side, HandshakeHandler &&handler) -> |
| Starts an asynchronous SSL handshake. More... | |
| template<typename ConstBufferSequence , typename BufferedHandshakeHandler > | |
| BOOST_ASIO_INITFN_RESULT_TYPE (BufferedHandshakeHandler, void(boost::system::error_code, std::size_t)) async_handshake(Connection_Side side | |
| BOOST_ASIO_HANDSHAKE_HANDLER_CHECK (BufferedHandshakeHandler, handler) type_check | |
| throw | Not_Implemented ("buffered async handshake is not implemented") |
boost::asio compatible SSL/TLS stream
Currently only the TLS::Client specialization is implemented.
| StreamLayer | type of the next layer, usually a network socket |
| ChannelT | type of the native_handle, defaults to Botan::TLS::Channel, only needed for testing purposes |
Definition at line 49 of file asio_stream.h.
| using Botan::TLS::Stream< StreamLayer, ChannelT >::executor_type = typename next_layer_type::executor_type |
Definition at line 105 of file asio_stream.h.
| using Botan::TLS::Stream< StreamLayer, ChannelT >::lowest_layer_type = typename next_layer_type::lowest_layer_type |
Definition at line 104 of file asio_stream.h.
| using Botan::TLS::Stream< StreamLayer, ChannelT >::native_handle_type = typename std::add_pointer<ChannelT>::type |
Definition at line 106 of file asio_stream.h.
| using Botan::TLS::Stream< StreamLayer, ChannelT >::next_layer_type = typename std::remove_reference<StreamLayer>::type |
Definition at line 103 of file asio_stream.h.
|
inlineexplicit |
Construct a new Stream.
| context | The context parameter is used to set up the underlying native handle. Using code is responsible for lifetime management of the context and must ensure that it is available for the lifetime of the stream. |
| args | Arguments to be forwarded to the construction of the next layer. |
Definition at line 64 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::async_read_some().
|
inlineexplicit |
Construct a new Stream.
Convenience overload for boost::asio::ssl::stream compatibility.
| arg | This argument is forwarded to the construction of the next layer. |
| context | The context parameter is used to set up the underlying native handle. Using code is responsible for lifetime management of the context and must ensure that is available for the lifetime of the stream. |
Definition at line 83 of file asio_stream.h.
|
virtualdefault |
|
default |
|
delete |
|
inline |
Starts an asynchronous SSL handshake.
This function call always returns immediately.
| side | The type of handshaking to be performed, i.e. as a client or as a server. |
| handler | The handler to be called when the handshake operation completes. The equivalent function signature of the handler must be: void(boost::system::error_code) |
| NotImplemented | if Connection_Side is not CLIENT |
Definition at line 258 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::BOOST_ASIO_HANDSHAKE_HANDLER_CHECK(), Botan::TLS::Stream< StreamLayer, ChannelT >::handler, init, and Botan::TLS::Stream< StreamLayer, ChannelT >::setup_native_handle().
|
inline |
Start an asynchronous read. The function call always returns immediately.
| buffers | The buffers into which the data will be read. Although the buffers object may be copied as necessary, ownership of the underlying buffers is retained by the caller, which must guarantee that they remain valid until the handler is called. |
| handler | The handler to be called when the read operation completes. The equivalent function signature of the handler must be: void(boost::system::error_code, std::size_t) |
Definition at line 504 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::buffers, Botan::TLS::Stream< StreamLayer, ChannelT >::handler, init, and Botan::TLS::Stream< StreamLayer, ChannelT >::Stream().
|
inline |
Asynchronously shut down SSL on the stream.
This function call always returns immediately.
| handler | The handler to be called when the handshake operation completes. The equivalent function signature of the handler must be: void(boost::system::error_code) |
Definition at line 347 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::BOOST_ASIO_HANDSHAKE_HANDLER_CHECK(), BOTAN_UNUSED, Botan::TLS::Stream< StreamLayer, ChannelT >::handler, and Botan::TLS::Stream< StreamLayer, ChannelT >::Not_Implemented().
|
inline |
Start an asynchronous write. The function call always returns immediately.
| buffers | The data to be written. |
| handler | The handler to be called when the write operation completes. Copies will be made of the handler as required. The equivalent function signature of the handler must be: void(boost::system::error_code, std::size_t) |
Definition at line 467 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::buffers, Botan::TLS::Stream< StreamLayer, ChannelT >::consume_send_buffer(), Botan::TLS::Stream< StreamLayer, ChannelT >::handler, init, Botan::TLS::Stream< StreamLayer, ChannelT >::m_send_buffer, and Botan::TLS::Stream< StreamLayer, ChannelT >::tls_encrypt().
| Botan::TLS::Stream< StreamLayer, ChannelT >::BOOST_ASIO_HANDSHAKE_HANDLER_CHECK | ( | BufferedHandshakeHandler | , |
| handler | |||
| ) |
| Botan::TLS::Stream< StreamLayer, ChannelT >::BOOST_ASIO_INITFN_RESULT_TYPE | ( | BufferedHandshakeHandler | , |
| void(boost::system::error_code, std::size_t) | |||
| ) |
| Not_Implemented |
|
inlineprotected |
Mark bytes in the send buffer as consumed, removing them from the buffer.
Definition at line 617 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_send_buffer.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::async_write_some(), Botan::TLS::detail::AsyncWriteOperation< Handler, Stream, Allocator >::operator()(), and Botan::TLS::Stream< StreamLayer, ChannelT >::send_pending_encrypted_data().
|
inlineprotected |
Copy decrypted data into the user-provided buffer.
Definition at line 602 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_receive_buffer.
Referenced by Botan::TLS::detail::AsyncReadOperation< Handler, Stream, MutableBufferSequence, Allocator >::operator()(), and Botan::TLS::Stream< StreamLayer, ChannelT >::read_some().
|
inlinenoexcept |
Definition at line 108 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer.
|
inline |
Performs SSL handshaking.
The function call will block until handshaking is complete or an error occurs.
| side | The type of handshaking to be performed, i.e. as a client or as a server. |
| boost::system::system_error | if error occured, or if the chosen Connection_Side is not available |
Definition at line 198 of file asio_stream.h.
|
inline |
Performs SSL handshaking.
The function call will block until handshaking is complete or an error occurs.
| side | The type of handshaking to be performed, i.e. as a client or as a server. |
| ec | Set to indicate what error occurred, if any. |
Definition at line 213 of file asio_stream.h.
References Botan::Exception::error_type(), Botan::TLS::Stream< StreamLayer, ChannelT >::input_buffer(), Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer, Botan::TLS::Stream< StreamLayer, ChannelT >::native_handle(), Botan::TLS::Stream< StreamLayer, ChannelT >::send_pending_encrypted_data(), Botan::TLS::Stream< StreamLayer, ChannelT >::setup_native_handle(), Botan::TLS::TLS_Exception::type(), and Botan::Unknown.
|
inlineprotected |
Check if encrypted data is available in the send buffer.
Definition at line 614 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_send_buffer.
Referenced by Botan::TLS::detail::AsyncWriteOperation< Handler, Stream, Allocator >::operator()(), and Botan::TLS::detail::AsyncHandshakeOperation< Handler, Stream, Allocator >::operator()().
|
inlineprotected |
Check if decrypted data is available in the receive buffer.
Definition at line 598 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_receive_buffer.
Referenced by Botan::TLS::detail::AsyncReadOperation< Handler, Stream, MutableBufferSequence, Allocator >::operator()(), and Botan::TLS::Stream< StreamLayer, ChannelT >::read_some().
|
inlineprotected |
Definition at line 594 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_input_buffer.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::handshake(), Botan::TLS::detail::AsyncReadOperation< Handler, Stream, MutableBufferSequence, Allocator >::operator()(), Botan::TLS::detail::AsyncHandshakeOperation< Handler, Stream, Allocator >::operator()(), and Botan::TLS::Stream< StreamLayer, ChannelT >::read_some().
|
inline |
Definition at line 113 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer.
|
inline |
Definition at line 114 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer.
|
inline |
Definition at line 116 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_native_handle.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::handshake(), Botan::TLS::detail::AsyncReadOperation< Handler, Stream, MutableBufferSequence, Allocator >::operator()(), Botan::TLS::detail::AsyncHandshakeOperation< Handler, Stream, Allocator >::operator()(), Botan::TLS::Stream< StreamLayer, ChannelT >::read_some(), Botan::TLS::Stream< StreamLayer, ChannelT >::shutdown(), and Botan::TLS::Stream< StreamLayer, ChannelT >::tls_encrypt().
|
inline |
Definition at line 110 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer.
Referenced by Botan::TLS::detail::AsyncReadOperation< Handler, Stream, MutableBufferSequence, Allocator >::operator()(), Botan::TLS::detail::AsyncWriteOperation< Handler, Stream, Allocator >::operator()(), and Botan::TLS::detail::AsyncHandshakeOperation< Handler, Stream, Allocator >::operator()().
|
inline |
Definition at line 111 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer.
| throw Botan::TLS::Stream< StreamLayer, ChannelT >::Not_Implemented | ( | "buffered async handshake is not implemented" | ) |
|
default |
|
delete |
|
inline |
Read some data from the stream.
The function call will block until one or more bytes of data has been read successfully, or until an error occurs.
| buffers | The buffers into which the data will be read. |
| ec | Set to indicate what error occured, if any. |
Definition at line 371 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::copy_received_data(), Botan::Exception::error_type(), Botan::TLS::Stream< StreamLayer, ChannelT >::has_received_data(), Botan::TLS::Stream< StreamLayer, ChannelT >::input_buffer(), Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer, Botan::TLS::Stream< StreamLayer, ChannelT >::native_handle(), Botan::TLS::TLS_Exception::type(), and Botan::Unknown.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::read_some().
|
inline |
Read some data from the stream.
The function call will block until one or more bytes of data has been read successfully, or until an error occurs.
| buffers | The buffers into which the data will be read. |
| boost::system::system_error | if error occured |
Definition at line 412 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::read_some().
|
inlineprotected |
Definition at line 595 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_send_buffer.
Referenced by Botan::TLS::detail::AsyncWriteOperation< Handler, Stream, Allocator >::operator()(), and Botan::TLS::Stream< StreamLayer, ChannelT >::send_pending_encrypted_data().
|
inlineprotected |
Definition at line 658 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::consume_send_buffer(), Botan::TLS::Stream< StreamLayer, ChannelT >::m_nextLayer, and Botan::TLS::Stream< StreamLayer, ChannelT >::send_buffer().
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::handshake(), Botan::TLS::Stream< StreamLayer, ChannelT >::shutdown(), and Botan::TLS::Stream< StreamLayer, ChannelT >::write_some().
|
inline |
Override the tls_verify_cert_chain callback.
This changes the verify_callback in the stream's TLS::Context, and hence the tls_verify_cert_chain callback used in the handshake. Using this function is equivalent to setting the callback via
Definition at line 131 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::m_context, and Botan::TLS::Context::set_verify_callback().
|
inline |
Compatibility overload of set_verify_callback.
| callback | the callback implementation |
| ec | This parameter is unused. |
Definition at line 142 of file asio_stream.h.
References BOTAN_UNUSED, Botan::TLS::Stream< StreamLayer, ChannelT >::m_context, and Botan::TLS::Context::set_verify_callback().
|
inline |
| Not_Implemented |
Definition at line 149 of file asio_stream.h.
References BOTAN_UNUSED, and Botan::TLS::Stream< StreamLayer, ChannelT >::Not_Implemented().
|
inline |
Not Implemented.
| depth | the desired verification depth |
| ec | Will be set to Botan::ErrorType::NotImplemented |
Definition at line 160 of file asio_stream.h.
References BOTAN_UNUSED, and Botan::NotImplemented.
|
inline |
| Not_Implemented |
Definition at line 168 of file asio_stream.h.
References BOTAN_UNUSED, and Botan::TLS::Stream< StreamLayer, ChannelT >::Not_Implemented().
|
inline |
Not Implemented.
| v | the desired verify mode |
| ec | Will be set to Botan::ErrorType::NotImplemented |
Definition at line 180 of file asio_stream.h.
References BOTAN_UNUSED, and Botan::NotImplemented.
|
inlineprotected |
Definition at line 625 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::async_handshake(), and Botan::TLS::Stream< StreamLayer, ChannelT >::handshake().
|
inlineprotected |
Create the native handle.
Depending on the desired connection side, this function will create a Botan::TLS::Client or a Botan::TLS::Server.
| side | The desired connection side (client or server) |
| ec | Set to NotImplemented when side is SERVER - currently only CLIENT is implemented |
Definition at line 638 of file asio_stream.h.
References Botan::TLS::CLIENT, Botan::TLS::Stream< StreamLayer, ChannelT >::m_context, Botan::TLS::Stream< StreamLayer, ChannelT >::m_core, Botan::TLS::Context::m_credentials_manager, Botan::TLS::Stream< StreamLayer, ChannelT >::m_native_handle, Botan::TLS::Context::m_policy, Botan::TLS::Context::m_rng, Botan::TLS::Context::m_server_info, Botan::TLS::Context::m_session_manager, and Botan::NotImplemented.
|
inline |
Shut down SSL on the stream.
This function is used to shut down SSL on the stream. The function call will block until SSL has been shut down or an error occurs. Note that this will not close the lowest layer.
| ec | Set to indicate what error occured, if any. |
Definition at line 300 of file asio_stream.h.
References Botan::Exception::error_type(), Botan::TLS::Stream< StreamLayer, ChannelT >::native_handle(), Botan::TLS::Stream< StreamLayer, ChannelT >::send_pending_encrypted_data(), Botan::TLS::TLS_Exception::type(), and Botan::Unknown.
|
inline |
Shut down SSL on the stream.
This function is used to shut down SSL on the stream. The function call will block until SSL has been shut down or an error occurs. Note that this will not close the lowest layer.
| boost::system::system_error | if error occured |
Definition at line 331 of file asio_stream.h.
|
inlineprotected |
Definition at line 669 of file asio_stream.h.
References Botan::Exception::error_type(), Botan::TLS::Stream< StreamLayer, ChannelT >::native_handle(), Botan::TLS::TLS_Exception::type(), and Botan::Unknown.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::async_write_some(), and Botan::TLS::Stream< StreamLayer, ChannelT >::write_some().
|
inline |
Write some data to the stream.
The function call will block until one or more bytes of data has been written successfully, or until an error occurs.
| buffers | The data to be written. |
| ec | Set to indicate what error occurred, if any. |
Definition at line 431 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::send_pending_encrypted_data(), and Botan::TLS::Stream< StreamLayer, ChannelT >::tls_encrypt().
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::write_some().
|
inline |
Write some data to the stream.
The function call will block until one or more bytes of data has been written successfully, or until an error occurs.
| buffers | The data to be written. |
| boost::system::system_error | if error occured |
Definition at line 450 of file asio_stream.h.
References Botan::TLS::Stream< StreamLayer, ChannelT >::write_some().
|
friend |
Definition at line 522 of file asio_stream.h.
|
friend |
Definition at line 520 of file asio_stream.h.
|
friend |
Definition at line 521 of file asio_stream.h.
| const ConstBufferSequence& Botan::TLS::Stream< StreamLayer, ChannelT >::buffers |
Definition at line 280 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::async_read_some(), and Botan::TLS::Stream< StreamLayer, ChannelT >::async_write_some().
| const ConstBufferSequence BufferedHandshakeHandler&& Botan::TLS::Stream< StreamLayer, ChannelT >::handler |
Definition at line 282 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::async_handshake(), Botan::TLS::Stream< StreamLayer, ChannelT >::async_read_some(), Botan::TLS::Stream< StreamLayer, ChannelT >::async_shutdown(), and Botan::TLS::Stream< StreamLayer, ChannelT >::async_write_some().
|
protected |
Definition at line 698 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::set_verify_callback(), and Botan::TLS::Stream< StreamLayer, ChannelT >::setup_native_handle().
|
protected |
Definition at line 704 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::setup_native_handle().
|
protected |
Definition at line 709 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::input_buffer().
|
protected |
Definition at line 708 of file asio_stream.h.
|
protected |
Definition at line 705 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::native_handle(), and Botan::TLS::Stream< StreamLayer, ChannelT >::setup_native_handle().
|
protected |
Definition at line 699 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::get_executor(), Botan::TLS::Stream< StreamLayer, ChannelT >::handshake(), Botan::TLS::Stream< StreamLayer, ChannelT >::lowest_layer(), Botan::TLS::Stream< StreamLayer, ChannelT >::next_layer(), Botan::TLS::Stream< StreamLayer, ChannelT >::read_some(), and Botan::TLS::Stream< StreamLayer, ChannelT >::send_pending_encrypted_data().
|
protected |
Definition at line 701 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::copy_received_data(), and Botan::TLS::Stream< StreamLayer, ChannelT >::has_received_data().
|
protected |
Definition at line 702 of file asio_stream.h.
Referenced by Botan::TLS::Stream< StreamLayer, ChannelT >::async_write_some(), Botan::TLS::Stream< StreamLayer, ChannelT >::consume_send_buffer(), Botan::TLS::Stream< StreamLayer, ChannelT >::has_data_to_send(), and Botan::TLS::Stream< StreamLayer, ChannelT >::send_buffer().
1.8.9.1