|
| | SSLStreamAdapterTestDTLS () |
| |
| | SSLStreamAdapterTestDTLS (const std::string &cert_pem, const std::string &private_key_pem) |
| |
| void | CreateStreams () override |
| |
| void | WriteData () override |
| |
| void | ReadData (rtc::StreamInterface *stream) override |
| |
| void | TestTransfer (int count) override |
| |
| | SSLStreamAdapterTestBase (const std::string &client_cert_pem, const std::string &client_private_key_pem, bool dtls, rtc::KeyParams client_key_type=rtc::KeyParams(rtc::KT_DEFAULT), rtc::KeyParams server_key_type=rtc::KeyParams(rtc::KT_DEFAULT)) |
| |
| | ~SSLStreamAdapterTestBase () |
| |
| void | SetUp () override |
| |
| void | TearDown () override |
| |
| void | ResetIdentitiesWithValidity (int not_before, int not_after) |
| |
| virtual void | OnEvent (rtc::StreamInterface *stream, int sig, int err) |
| |
| void | SetPeerIdentitiesByDigest (bool correct, bool expect_success) |
| |
| void | SetupProtocolVersions (rtc::SSLProtocolVersion server_version, rtc::SSLProtocolVersion client_version) |
| |
| void | TestHandshake (bool expect_success=true) |
| |
| void | TestHandshakeWithDelayedIdentity (bool valid_identity) |
| |
| rtc::StreamResult | DataWritten (SSLDummyStreamBase *from, const void *data, size_t data_len, size_t *written, int *error) |
| |
| void | SetDelay (int delay) |
| |
| int | GetDelay () |
| |
| void | SetLoseFirstPacket (bool lose) |
| |
| bool | GetLoseFirstPacket () |
| |
| void | SetLoss (int percent) |
| |
| void | SetDamage () |
| |
| void | SetMtu (size_t mtu) |
| |
| void | SetHandshakeWait (int wait) |
| |
| void | SetDtlsSrtpCryptoSuites (const std::vector< int > &ciphers, bool client) |
| |
| bool | GetDtlsSrtpCryptoSuite (bool client, int *retval) |
| |
| std::unique_ptr< rtc::SSLCertificate > | GetPeerCertificate (bool client) |
| |
| bool | GetSslCipherSuite (bool client, int *retval) |
| |
| int | GetSslVersion (bool client) |
| |
| bool | ExportKeyingMaterial (const char *label, const unsigned char *context, size_t context_len, bool use_context, bool client, unsigned char *result, size_t result_len) |
| |
| | has_slots () |
| |
| | has_slots () |
| |
| | ~has_slots () |
| |
| | ~has_slots () |
| |
| void | signal_connect (_signal_base_interface *sender) |
| |
| void | signal_disconnect (_signal_base_interface *sender) |
| |
| void | disconnect_all () |
| |
| void | signal_connect (_signal_base_interface *sender) |
| |
| void | signal_disconnect (_signal_base_interface *sender) |
| |
| void | disconnect_all () |
| |