Searched refs:SSL_MODE_DTLS (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/rtc_base/ |
D | openssl_session_cache_unittest.cc | 27 OpenSSLSessionCache session_cache(SSL_MODE_DTLS, ssl_ctx); in TEST() 28 EXPECT_EQ(session_cache.GetSSLMode(), SSL_MODE_DTLS); in TEST() 45 OpenSSLSessionCache session_cache(SSL_MODE_DTLS, ssl_ctx); in TEST() 54 OpenSSLSessionCache session_cache(SSL_MODE_DTLS, ssl_ctx); in TEST() 66 OpenSSLSessionCache session_cache(SSL_MODE_DTLS, ssl_ctx); in TEST() 78 OpenSSLSessionCache session_cache(SSL_MODE_DTLS, ssl_ctx); in TEST()
|
D | ssl_adapter_unittest.cc | 39 (ssl_mode == rtc::SSL_MODE_DTLS) ? SOCK_DGRAM : SOCK_STREAM); in CreateSocket() 46 return (ssl_mode == rtc::SSL_MODE_DTLS) ? "DTLS" : "TLS"; in GetSSLProtocolName() 178 RTC_LOG(LS_INFO) << ((ssl_mode_ == rtc::SSL_MODE_DTLS) ? "UDP" : "TCP") in SSLAdapterTestDummyServer() 221 ASSERT_EQ(rtc::SSL_MODE_DTLS, ssl_mode_); in AcceptConnection() 346 if (ssl_mode_ == rtc::SSL_MODE_DTLS) { in TestHandshake() 414 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::RSA()) {} in SSLAdapterTestDTLS_RSA() 420 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::ECDSA()) {} in SSLAdapterTestDTLS_ECDSA()
|
D | openssl_stream_adapter.cc | 392 if (ssl_mode_ == SSL_MODE_DTLS) { in GetSslVersion() 647 if (ssl_mode_ == SSL_MODE_DTLS) { in Read() 818 if (ssl_mode_ == SSL_MODE_DTLS) { in BeginSSL() 966 SSL_CTX_new(ssl_mode_ == SSL_MODE_DTLS ? DTLS_method() : TLS_method()); in SetupSSLContext() 975 ctx, ssl_mode_ == SSL_MODE_DTLS ? DTLS1_VERSION : TLS1_VERSION); in SetupSSLContext() 979 ctx, ssl_mode_ == SSL_MODE_DTLS ? DTLS1_VERSION : TLS1_VERSION); in SetupSSLContext() 983 ctx, ssl_mode_ == SSL_MODE_DTLS ? DTLS1_VERSION : TLS1_1_VERSION); in SetupSSLContext() 988 ctx, ssl_mode_ == SSL_MODE_DTLS ? DTLS1_2_VERSION : TLS1_2_VERSION); in SetupSSLContext() 994 ctx, ssl_mode_ == SSL_MODE_DTLS ? DTLS1_2_VERSION : TLS1_2_VERSION); in SetupSSLContext() 996 ctx, ssl_mode_ == SSL_MODE_DTLS ? DTLS1_2_VERSION : TLS1_2_VERSION); in SetupSSLContext()
|
D | ssl_stream_adapter.h | 94 enum SSLMode { SSL_MODE_TLS, SSL_MODE_DTLS }; enumerator
|
D | openssl_adapter.cc | 856 SSL_CTX_new(mode == SSL_MODE_DTLS ? DTLS_method() : TLS_method()); in CreateContext() 889 if (mode == SSL_MODE_DTLS) { in CreateContext()
|
D | ssl_stream_adapter_unittest.cc | 446 server_ssl_->SetMode(dtls_ ? rtc::SSL_MODE_DTLS : rtc::SSL_MODE_TLS); in TestHandshake() 447 client_ssl_->SetMode(dtls_ ? rtc::SSL_MODE_DTLS : rtc::SSL_MODE_TLS); in TestHandshake() 485 server_ssl_->SetMode(dtls_ ? rtc::SSL_MODE_DTLS : rtc::SSL_MODE_TLS); in TestHandshakeWithDelayedIdentity() 486 client_ssl_->SetMode(dtls_ ? rtc::SSL_MODE_DTLS : rtc::SSL_MODE_TLS); in TestHandshakeWithDelayedIdentity()
|
/external/webrtc/p2p/base/ |
D | dtls_transport.cc | 351 dtls_->SetMode(rtc::SSL_MODE_DTLS); in SetupDtls()
|