Home
last modified time | relevance | path

Searched refs:TLS_1_1 (Results 1 – 4 of 4) 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()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionSpecTest.java94 TlsVersion.TLS_1_1.javaName, in tls_defaultCiphers_noFallbackIndicator()
122 TlsVersion.TLS_1_1.javaName, in tls_defaultCiphers_withFallbackIndicator()
154 TlsVersion.TLS_1_1.javaName, in tls_explicitCiphers()
188 TlsVersion.TLS_1_1.javaName, in tls_missingRequiredCipher()
231 TlsVersion.TLS_1_1.javaName() in allEnabledTlsVersions()
235 assertEquals(Arrays.asList(TlsVersion.TLS_1_0.javaName(), TlsVersion.TLS_1_1.javaName()), in allEnabledTlsVersions()
252 new String[] { TlsVersion.TLS_1_2.javaName, TlsVersion.TLS_1_1.javaName }); in tls_missingTlsVersion()
255 socket.setEnabledProtocols(new String[] { TlsVersion.TLS_1_1.javaName }); in tls_missingTlsVersion()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DTlsVersion.java26 TLS_1_1("TLSv1.1"), // 2006. enumConstant
40 case "TLSv1.1": return TLS_1_1; in forJavaName()
DConnectionSpec.java66 .tlsVersions(TlsVersion.TLS_1_2, TlsVersion.TLS_1_1, TlsVersion.TLS_1_0)