Home
last modified time | relevance | path

Searched refs:TLS_1_0 (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DConnectionSpecSelectorTest.java48 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableIOException()
61 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableSSLHandshakeException()
76 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in retryableSSLHandshakeException()
94 TlsVersion[] enabledSocketTlsVersions = { TlsVersion.TLS_1_1, TlsVersion.TLS_1_0 }; in someFallbacksSupported()
99 assertEnabledProtocols(socket, TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in someFallbacksSupported()
108 assertEnabledProtocols(socket, TlsVersion.TLS_1_0); in someFallbacksSupported()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DTlsVersion.java27 TLS_1_0("TLSv1"), // 1999. enumConstant
41 case "TLSv1": return TLS_1_0; in forJavaName()
DConnectionSpec.java66 .tlsVersions(TlsVersion.TLS_1_2, TlsVersion.TLS_1_1, TlsVersion.TLS_1_0)
72 .tlsVersions(TlsVersion.TLS_1_0)
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionSpecTest.java230 TlsVersion.TLS_1_0.javaName(), in allEnabledTlsVersions()
235 assertEquals(Arrays.asList(TlsVersion.TLS_1_0.javaName(), TlsVersion.TLS_1_1.javaName()), in allEnabledTlsVersions()
DURLConnectionTest.java610 assertEquals(TlsVersion.TLS_1_0, request.getTlsVersion()); in connectViaHttpsWithSSLFallback()
652 EnumSet.of(TlsVersion.TLS_1_0, TlsVersion.TLS_1_2); // v1.2 on OpenJDK 8. in sslFallbackNotUsedWhenRecycledConnectionFails()