|
| | 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 |
| |
| virtual void | CreateStreams ()=0 |
| |
| 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) |
| |
| virtual void | WriteData ()=0 |
| |
| virtual void | ReadData (rtc::StreamInterface *stream)=0 |
| |
| virtual void | TestTransfer (int size)=0 |
| |
| | 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 () |
| |
◆ SSLStreamAdapterTestBase()
◆ ~SSLStreamAdapterTestBase()
| SSLStreamAdapterTestBase::~SSLStreamAdapterTestBase |
( |
| ) |
|
|
inline |
◆ CreateStreams()
| virtual void SSLStreamAdapterTestBase::CreateStreams |
( |
| ) |
|
|
pure virtual |
◆ DataWritten()
◆ ExportKeyingMaterial()
| bool SSLStreamAdapterTestBase::ExportKeyingMaterial |
( |
const char * |
label, |
|
|
const unsigned char * |
context, |
|
|
size_t |
context_len, |
|
|
bool |
use_context, |
|
|
bool |
client, |
|
|
unsigned char * |
result, |
|
|
size_t |
result_len |
|
) |
| |
|
inline |
◆ GetDelay()
| int SSLStreamAdapterTestBase::GetDelay |
( |
| ) |
|
|
inline |
◆ GetDtlsSrtpCryptoSuite()
| bool SSLStreamAdapterTestBase::GetDtlsSrtpCryptoSuite |
( |
bool |
client, |
|
|
int * |
retval |
|
) |
| |
|
inline |
◆ GetLoseFirstPacket()
| bool SSLStreamAdapterTestBase::GetLoseFirstPacket |
( |
| ) |
|
|
inline |
◆ GetPeerCertificate()
| std::unique_ptr<rtc::SSLCertificate> SSLStreamAdapterTestBase::GetPeerCertificate |
( |
bool |
client | ) |
|
|
inline |
◆ GetSslCipherSuite()
| bool SSLStreamAdapterTestBase::GetSslCipherSuite |
( |
bool |
client, |
|
|
int * |
retval |
|
) |
| |
|
inline |
◆ GetSslVersion()
| int SSLStreamAdapterTestBase::GetSslVersion |
( |
bool |
client | ) |
|
|
inline |
◆ OnEvent()
◆ ReadData()
◆ ResetIdentitiesWithValidity()
| void SSLStreamAdapterTestBase::ResetIdentitiesWithValidity |
( |
int |
not_before, |
|
|
int |
not_after |
|
) |
| |
|
inline |
◆ SetDamage()
| void SSLStreamAdapterTestBase::SetDamage |
( |
| ) |
|
|
inline |
◆ SetDelay()
| void SSLStreamAdapterTestBase::SetDelay |
( |
int |
delay | ) |
|
|
inline |
◆ SetDtlsSrtpCryptoSuites()
| void SSLStreamAdapterTestBase::SetDtlsSrtpCryptoSuites |
( |
const std::vector< int > & |
ciphers, |
|
|
bool |
client |
|
) |
| |
|
inline |
◆ SetHandshakeWait()
| void SSLStreamAdapterTestBase::SetHandshakeWait |
( |
int |
wait | ) |
|
|
inline |
◆ SetLoseFirstPacket()
| void SSLStreamAdapterTestBase::SetLoseFirstPacket |
( |
bool |
lose | ) |
|
|
inline |
◆ SetLoss()
| void SSLStreamAdapterTestBase::SetLoss |
( |
int |
percent | ) |
|
|
inline |
◆ SetMtu()
| void SSLStreamAdapterTestBase::SetMtu |
( |
size_t |
mtu | ) |
|
|
inline |
◆ SetPeerIdentitiesByDigest()
| void SSLStreamAdapterTestBase::SetPeerIdentitiesByDigest |
( |
bool |
correct, |
|
|
bool |
expect_success |
|
) |
| |
|
inline |
◆ SetUp()
| void SSLStreamAdapterTestBase::SetUp |
( |
| ) |
|
|
inlineoverridevirtual |
◆ SetupProtocolVersions()
◆ TearDown()
| void SSLStreamAdapterTestBase::TearDown |
( |
| ) |
|
|
inlineoverridevirtual |
◆ TestHandshake()
| void SSLStreamAdapterTestBase::TestHandshake |
( |
bool |
expect_success = true | ) |
|
|
inline |
◆ TestHandshakeWithDelayedIdentity()
| void SSLStreamAdapterTestBase::TestHandshakeWithDelayedIdentity |
( |
bool |
valid_identity | ) |
|
|
inline |
◆ TestTransfer()
| virtual void SSLStreamAdapterTestBase::TestTransfer |
( |
int |
size | ) |
|
|
pure virtual |
◆ WriteData()
| virtual void SSLStreamAdapterTestBase::WriteData |
( |
| ) |
|
|
pure virtual |
◆ client_cert_pem_
◆ client_identity_
◆ client_key_type_
◆ client_private_key_pem_
| std::string SSLStreamAdapterTestBase::client_private_key_pem_ |
|
protected |
◆ client_ssl_
◆ client_stream_
◆ damage_
| bool SSLStreamAdapterTestBase::damage_ |
|
protected |
◆ delay_
| int SSLStreamAdapterTestBase::delay_ |
|
protected |
◆ dtls_
| bool SSLStreamAdapterTestBase::dtls_ |
|
protected |
◆ handshake_wait_
| int SSLStreamAdapterTestBase::handshake_wait_ |
|
protected |
◆ identities_set_
| bool SSLStreamAdapterTestBase::identities_set_ |
|
protected |
◆ lose_first_packet_
| bool SSLStreamAdapterTestBase::lose_first_packet_ |
|
protected |
◆ loss_
| int SSLStreamAdapterTestBase::loss_ |
|
protected |
◆ mtu_
| size_t SSLStreamAdapterTestBase::mtu_ |
|
protected |
◆ server_identity_
◆ server_key_type_
◆ server_ssl_
◆ server_stream_
The documentation for this class was generated from the following file: