Home
last modified time | relevance | path

Searched refs:getEnabledProtocols (Results 1 – 25 of 49) sorted by relevance

12

/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLEngineTest.java465 assertNotSame(e.getEnabledProtocols(), e.getEnabledProtocols()); in test_SSLEngine_getEnabledProtocols_returnsCopies()
473 String[] array = new String[] {e.getEnabledProtocols()[0]}; in test_SSLEngine_setEnabledProtocols_storesCopy()
477 assertEquals(originalFirstElement, e.getEnabledProtocols()[0]); in test_SSLEngine_setEnabledProtocols_storesCopy()
504 e.setEnabledProtocols(e.getEnabledProtocols()); in test_SSLEngine_setEnabledProtocols()
520 Arrays.deepToString(e.getEnabledProtocols())); in test_SSLEngine_setEnabledProtocols()
764 assertNotSame(protocols, e.getEnabledProtocols());
765 assertEquals(Arrays.asList(protocols), Arrays.asList(e.getEnabledProtocols()));
778 String[] defaultProtocols = e.getEnabledProtocols();
787 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(e.getEnabledProtocols()));
795 assertEquals(Arrays.asList(supportedProtocols), Arrays.asList(e.getEnabledProtocols()));
DSSLServerSocketTest.java88 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols())); in testSetEnabledProtocolsAffectsGetter()
95 String[] array = new String[] {socket.getEnabledProtocols()[0]}; in testSetEnabledProtocolsStoresCopy()
99 assertEquals(originalFirstElement, socket.getEnabledProtocols()[0]); in testSetEnabledProtocolsStoresCopy()
DSSLSocketTest.java327 assertNotSame(ssl.getEnabledProtocols(), ssl.getEnabledProtocols()); in test_SSLSocket_getEnabledProtocols_returnsCopies()
334 String[] array = new String[] {ssl.getEnabledProtocols()[0]}; in test_SSLSocket_setEnabledProtocols_storesCopy()
338 assertEquals(originalFirstElement, ssl.getEnabledProtocols()[0]); in test_SSLSocket_setEnabledProtocols_storesCopy()
364 ssl.setEnabledProtocols(ssl.getEnabledProtocols()); in test_SSLSocket_setEnabledProtocols()
379 Arrays.deepToString(ssl.getEnabledProtocols())); in test_SSLSocket_setEnabledProtocols()
608 assertNotSame(protocols, ssl.getEnabledProtocols()); in test_SSLSocket_getSSLParameters()
609 assertEquals(Arrays.asList(protocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_getSSLParameters()
626 String[] defaultProtocols = ssl.getEnabledProtocols(); in test_SSLSocket_setSSLParameters()
634 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters()
642 Arrays.asList(supportedProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters()
DSSLContextTest.java186 .getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
189 .getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
193 tlsVersion, context.createSSLEngine().getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLEngineTest.java469 assertNotSame(e.getEnabledProtocols(), e.getEnabledProtocols()); in test_SSLEngine_getEnabledProtocols_returnsCopies()
477 String[] array = new String[] {e.getEnabledProtocols()[0]}; in test_SSLEngine_setEnabledProtocols_storesCopy()
481 assertEquals(originalFirstElement, e.getEnabledProtocols()[0]); in test_SSLEngine_setEnabledProtocols_storesCopy()
508 e.setEnabledProtocols(e.getEnabledProtocols()); in test_SSLEngine_setEnabledProtocols()
524 Arrays.deepToString(e.getEnabledProtocols())); in test_SSLEngine_setEnabledProtocols()
772 assertNotSame(protocols, e.getEnabledProtocols());
773 assertEquals(Arrays.asList(protocols), Arrays.asList(e.getEnabledProtocols()));
786 String[] defaultProtocols = e.getEnabledProtocols();
795 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(e.getEnabledProtocols()));
803 assertEquals(Arrays.asList(supportedProtocols), Arrays.asList(e.getEnabledProtocols()));
DSSLServerSocketTest.java91 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols())); in testSetEnabledProtocolsAffectsGetter()
98 String[] array = new String[] {socket.getEnabledProtocols()[0]}; in testSetEnabledProtocolsStoresCopy()
102 assertEquals(originalFirstElement, socket.getEnabledProtocols()[0]); in testSetEnabledProtocolsStoresCopy()
DSSLSocketTest.java331 assertNotSame(ssl.getEnabledProtocols(), ssl.getEnabledProtocols()); in test_SSLSocket_getEnabledProtocols_returnsCopies()
338 String[] array = new String[] {ssl.getEnabledProtocols()[0]}; in test_SSLSocket_setEnabledProtocols_storesCopy()
342 assertEquals(originalFirstElement, ssl.getEnabledProtocols()[0]); in test_SSLSocket_setEnabledProtocols_storesCopy()
368 ssl.setEnabledProtocols(ssl.getEnabledProtocols()); in test_SSLSocket_setEnabledProtocols()
383 Arrays.deepToString(ssl.getEnabledProtocols())); in test_SSLSocket_setEnabledProtocols()
617 assertNotSame(protocols, ssl.getEnabledProtocols()); in test_SSLSocket_getSSLParameters()
618 assertEquals(Arrays.asList(protocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_getSSLParameters()
635 String[] defaultProtocols = ssl.getEnabledProtocols(); in test_SSLSocket_setSSLParameters()
643 assertEquals(Arrays.asList(defaultProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters()
651 Arrays.asList(supportedProtocols), Arrays.asList(ssl.getEnabledProtocols())); in test_SSLSocket_setSSLParameters()
DSSLContextTest.java189 ((SSLSocket) context.getSocketFactory().createSocket()).getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
192 .getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
196 tlsVersion, context.createSSLEngine().getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptServerSocket.java91 public String[] getEnabledProtocols() { in getEnabledProtocols() method in ConscryptServerSocket
92 return sslParameters.getEnabledProtocols(); in getEnabledProtocols()
DJava8EngineWrapper.java145 public String[] getEnabledProtocols() { in getEnabledProtocols() method in Java8EngineWrapper
146 return delegate.getEnabledProtocols(); in getEnabledProtocols()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptServerSocket.java92 public String[] getEnabledProtocols() { in getEnabledProtocols() method in ConscryptServerSocket
93 return sslParameters.getEnabledProtocols(); in getEnabledProtocols()
DJava8EngineWrapper.java146 public String[] getEnabledProtocols() { in getEnabledProtocols() method in Java8EngineWrapper
147 return delegate.getEnabledProtocols(); in getEnabledProtocols()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionSpecTest.java101 assertEquals(set(TlsVersion.TLS_1_2.javaName), set(socket.getEnabledProtocols())); in tls_defaultCiphers_noFallbackIndicator()
131 assertEquals(set(TlsVersion.TLS_1_2.javaName), set(socket.getEnabledProtocols())); in tls_defaultCiphers_withFallbackIndicator()
165 assertEquals(set(TlsVersion.TLS_1_2.javaName), set(socket.getEnabledProtocols())); in tls_explicitCiphers()
245 Arrays.asList(sslSocket.getEnabledProtocols())); in allEnabledTlsVersions()
DDelegatingSSLSocket.java64 @Override public String[] getEnabledProtocols() { in getEnabledProtocols() method in DelegatingSSLSocket
65 return delegate.getEnabledProtocols(); in getEnabledProtocols()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java117 assertProtocolsEqual(sslSocket.getEnabledProtocols(), in assertSSLSocketConfigSameAsSSLContext()
175 assertProtocolsEqual(sslServerSocket.getEnabledProtocols(), in assertSSLServerSocketConfigSameAsSSLContext()
203 assertProtocolsEqual(sslEngine.getEnabledProtocols(), in assertSSLEngineConfigSameAsSSLContext()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java119 assertProtocolsEqual(sslSocket.getEnabledProtocols(), in assertSSLSocketConfigSameAsSSLContext()
177 assertProtocolsEqual(sslServerSocket.getEnabledProtocols(), in assertSSLServerSocketConfigSameAsSSLContext()
205 assertProtocolsEqual(sslEngine.getEnabledProtocols(), in assertSSLEngineConfigSameAsSSLContext()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DConnectionSpec.java150 ? Util.intersect(String.class, tlsVersions, sslSocket.getEnabledProtocols()) in supportedSpec()
151 : sslSocket.getEnabledProtocols(); in supportedSpec()
182 && !nonEmptyIntersection(tlsVersions, socket.getEnabledProtocols())) { in isCompatible()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionSpec.java148 ? Util.intersect(String.class, tlsVersions, sslSocket.getEnabledProtocols()) in supportedSpec()
149 : sslSocket.getEnabledProtocols(); in supportedSpec()
180 && !nonEmptyIntersection(tlsVersions, socket.getEnabledProtocols())) { in isCompatible()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DConnectionSpec.java169 String[] protocolsToSelectFrom = sslSocket.getEnabledProtocols(); in supportedSpec()
193 String[] enabledProtocols = socket.getEnabledProtocols(); in isCompatible()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java297 public String[] getEnabledProtocols() { in getEnabledProtocols() method in PreKitKatPlatformOpenSSLSocketImplAdapter
298 return delegate.getEnabledProtocols(); in getEnabledProtocols()
DKitKatPlatformOpenSSLSocketImplAdapter.java297 public String[] getEnabledProtocols() { in getEnabledProtocols() method in KitKatPlatformOpenSSLSocketImplAdapter
298 return delegate.getEnabledProtocols(); in getEnabledProtocols()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DConnectionSpecSelector.java73 + ", supported protocols=" + Arrays.toString(sslSocket.getEnabledProtocols())); in configureSecureSocket()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DConnectionSpecSelector.java75 + ", supported protocols=" + Arrays.toString(sslSocket.getEnabledProtocols())); in configureSecureSocket()
/external/conscrypt/publicapi/src/test/java/android/net/ssl/
DSSLEnginesTest.java55 @Override public String[] getEnabledProtocols() { throw new AssertionError(); } in getEnabledProtocols() method in SSLEnginesTest.BrokenSSLEngine
DSSLSocketsTest.java50 @Override public String[] getEnabledProtocols() { throw new AssertionError(); } in getEnabledProtocols() method in SSLSocketsTest.BrokenSSLSocket

12