#include <mock_quic_transport.h>
|
| bool | Flush () |
| |
| | MockQuicTransport (bssl::UniquePtr< BIO > bio, SSL *ssl) |
| |
| int | ReadApplicationData (uint8_t *out, size_t max_out) |
| |
| bool | ReadHandshake () |
| |
| bool | SendAlert (enum ssl_encryption_level_t level, uint8_t alert) |
| |
| bool | SetReadSecret (enum ssl_encryption_level_t level, const SSL_CIPHER *cipher, const uint8_t *secret, size_t secret_len) |
| |
| bool | SetWriteSecret (enum ssl_encryption_level_t level, const SSL_CIPHER *cipher, const uint8_t *secret, size_t secret_len) |
| |
| bool | WriteApplicationData (const uint8_t *in, size_t len) |
| |
| bool | WriteHandshakeData (enum ssl_encryption_level_t level, const uint8_t *data, size_t len) |
| |
Definition at line 24 of file mock_quic_transport.h.
◆ MockQuicTransport()
| MockQuicTransport::MockQuicTransport |
( |
bssl::UniquePtr< BIO > |
bio, |
|
|
SSL * |
ssl |
|
) |
| |
|
explicit |
◆ Flush()
| bool MockQuicTransport::Flush |
( |
| ) |
|
◆ ReadApplicationData()
| int MockQuicTransport::ReadApplicationData |
( |
uint8_t * |
out, |
|
|
size_t |
max_out |
|
) |
| |
◆ ReadHandshake()
| bool MockQuicTransport::ReadHandshake |
( |
| ) |
|
◆ ReadHeader()
| bool MockQuicTransport::ReadHeader |
( |
uint8_t * |
out_type, |
|
|
enum ssl_encryption_level_t * |
out_level, |
|
|
size_t * |
out_len |
|
) |
| |
|
private |
◆ SendAlert()
| bool MockQuicTransport::SendAlert |
( |
enum ssl_encryption_level_t |
level, |
|
|
uint8_t |
alert |
|
) |
| |
◆ SetReadSecret()
◆ SetWriteSecret()
◆ WriteApplicationData()
◆ WriteHandshakeData()
| bool MockQuicTransport::WriteHandshakeData |
( |
enum ssl_encryption_level_t |
level, |
|
|
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
◆ WriteRecord()
| bool MockQuicTransport::WriteRecord |
( |
enum ssl_encryption_level_t |
level, |
|
|
uint8_t |
type, |
|
|
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
private |
◆ app_data_offset_
| size_t MockQuicTransport::app_data_offset_ |
|
private |
◆ bio_
| bssl::UniquePtr<BIO> MockQuicTransport::bio_ |
|
private |
◆ pending_app_data_
| std::vector<uint8_t> MockQuicTransport::pending_app_data_ |
|
private |
◆ read_levels_
◆ ssl_
| SSL* MockQuicTransport::ssl_ |
|
private |
◆ write_levels_
The documentation for this class was generated from the following files: