Home
last modified time | relevance | path

Searched refs:setEnabledProtocols (Results 1 – 25 of 59) sorted by relevance

123

/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSocketTest.java346 ssl.setEnabledProtocols(new String[] { "TLSv1.2" }); in test_SSLSocket_setEnabledCipherSuites_TLS13()
371 ssl.setEnabledProtocols(array); in test_SSLSocket_setEnabledProtocols_storesCopy()
381 ssl.setEnabledProtocols(null); in test_SSLSocket_setEnabledProtocols()
387 ssl.setEnabledProtocols(new String[1]); in test_SSLSocket_setEnabledProtocols()
393 ssl.setEnabledProtocols(new String[] {"Bogus"}); in test_SSLSocket_setEnabledProtocols()
398 ssl.setEnabledProtocols(new String[0]); in test_SSLSocket_setEnabledProtocols()
399 ssl.setEnabledProtocols(ssl.getEnabledProtocols()); in test_SSLSocket_setEnabledProtocols()
400 ssl.setEnabledProtocols(ssl.getSupportedProtocols()); in test_SSLSocket_setEnabledProtocols()
405 ssl.setEnabledProtocols(new String[] {protocol}); in test_SSLSocket_setEnabledProtocols()
412 ssl.setEnabledProtocols(protocols); in test_SSLSocket_setEnabledProtocols()
[all …]
DSSLServerSocketTest.java87 socket.setEnabledProtocols(protocols); in testSetEnabledProtocolsAffectsGetter()
97 socket.setEnabledProtocols(array); in testSetEnabledProtocolsStoresCopy()
123 ssl.setEnabledProtocols(new String[] { "TLSv1.2" }); in test_SSLSocket_setEnabledCipherSuites_TLS13()
DSSLEngineTest.java449 e.setEnabledProtocols(new String[] { "TLSv1.2" }); in test_SSLEngine_setEnabledCipherSuites_TLS13()
476 e.setEnabledProtocols(array); in test_SSLEngine_setEnabledProtocols_storesCopy()
487 e.setEnabledProtocols(null); in test_SSLEngine_setEnabledProtocols()
493 e.setEnabledProtocols(new String[1]); in test_SSLEngine_setEnabledProtocols()
499 e.setEnabledProtocols(new String[] {"Bogus"}); in test_SSLEngine_setEnabledProtocols()
504 e.setEnabledProtocols(new String[0]); in test_SSLEngine_setEnabledProtocols()
505 e.setEnabledProtocols(e.getEnabledProtocols()); in test_SSLEngine_setEnabledProtocols()
506 e.setEnabledProtocols(e.getSupportedProtocols()); in test_SSLEngine_setEnabledProtocols()
512 e.setEnabledProtocols(new String[] {protocol}); in test_SSLEngine_setEnabledProtocols()
519 e.setEnabledProtocols(protocols); in test_SSLEngine_setEnabledProtocols()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSocketTest.java350 ssl.setEnabledProtocols(new String[] { "TLSv1.2" }); in test_SSLSocket_setEnabledCipherSuites_TLS13()
375 ssl.setEnabledProtocols(array); in test_SSLSocket_setEnabledProtocols_storesCopy()
385 ssl.setEnabledProtocols(null); in test_SSLSocket_setEnabledProtocols()
391 ssl.setEnabledProtocols(new String[1]); in test_SSLSocket_setEnabledProtocols()
397 ssl.setEnabledProtocols(new String[] {"Bogus"}); in test_SSLSocket_setEnabledProtocols()
402 ssl.setEnabledProtocols(new String[0]); in test_SSLSocket_setEnabledProtocols()
403 ssl.setEnabledProtocols(ssl.getEnabledProtocols()); in test_SSLSocket_setEnabledProtocols()
404 ssl.setEnabledProtocols(ssl.getSupportedProtocols()); in test_SSLSocket_setEnabledProtocols()
409 ssl.setEnabledProtocols(new String[] {protocol}); in test_SSLSocket_setEnabledProtocols()
416 ssl.setEnabledProtocols(protocols); in test_SSLSocket_setEnabledProtocols()
[all …]
DSSLServerSocketTest.java91 socket.setEnabledProtocols(protocols); in testSetEnabledProtocolsAffectsGetter()
101 socket.setEnabledProtocols(array); in testSetEnabledProtocolsStoresCopy()
127 ssl.setEnabledProtocols(new String[] { "TLSv1.2" }); in test_SSLSocket_setEnabledCipherSuites_TLS13()
DSSLEngineTest.java453 e.setEnabledProtocols(new String[] { "TLSv1.2" }); in test_SSLEngine_setEnabledCipherSuites_TLS13()
480 e.setEnabledProtocols(array); in test_SSLEngine_setEnabledProtocols_storesCopy()
491 e.setEnabledProtocols(null); in test_SSLEngine_setEnabledProtocols()
497 e.setEnabledProtocols(new String[1]); in test_SSLEngine_setEnabledProtocols()
503 e.setEnabledProtocols(new String[] {"Bogus"}); in test_SSLEngine_setEnabledProtocols()
508 e.setEnabledProtocols(new String[0]); in test_SSLEngine_setEnabledProtocols()
509 e.setEnabledProtocols(e.getEnabledProtocols()); in test_SSLEngine_setEnabledProtocols()
510 e.setEnabledProtocols(e.getSupportedProtocols()); in test_SSLEngine_setEnabledProtocols()
516 e.setEnabledProtocols(new String[] {protocol}); in test_SSLEngine_setEnabledProtocols()
523 e.setEnabledProtocols(protocols); in test_SSLEngine_setEnabledProtocols()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionSpecTest.java93 socket.setEnabledProtocols(new String[] { in tls_defaultCiphers_noFallbackIndicator()
123 socket.setEnabledProtocols(new String[] { in tls_defaultCiphers_withFallbackIndicator()
157 socket.setEnabledProtocols(new String[] { in tls_explicitCiphers()
191 socket.setEnabledProtocols(new String[] { in tls_missingRequiredCipher()
238 sslSocket.setEnabledProtocols(new String[] { in allEnabledTlsVersions()
260 socket.setEnabledProtocols( in tls_missingTlsVersion()
264 socket.setEnabledProtocols(new String[] { TlsVersion.TLS_1_1.javaName }); in tls_missingTlsVersion()
DDelegatingSSLSocket.java68 @Override public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() method in DelegatingSSLSocket
69 delegate.setEnabledProtocols(protocols); in setEnabledProtocols()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptServerSocket.java105 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() method in ConscryptServerSocket
106 sslParameters.setEnabledProtocols(protocols); in setEnabledProtocols()
DJava8EngineWrapper.java210 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() method in Java8EngineWrapper
211 delegate.setEnabledProtocols(protocols); in setEnabledProtocols()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptServerSocket.java106 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() method in ConscryptServerSocket
107 sslParameters.setEnabledProtocols(protocols); in setEnabledProtocols()
DJava8EngineWrapper.java211 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() method in Java8EngineWrapper
212 delegate.setEnabledProtocols(protocols); in setEnabledProtocols()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLServerSocketImplTest.java67 sslSocket.setEnabledProtocols(getProtocols()); in newServerSocket()
99 socket.setEnabledProtocols(getProtocols()); in setup()
DRenegotiationTest.java147 socket.setEnabledProtocols(TestUtils.getProtocols()); in Client()
237 engine.setEnabledProtocols(TestUtils.getProtocols());
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DOpenSSLServerSocketImplTest.java72 sslSocket.setEnabledProtocols(getProtocols()); in newServerSocket()
104 socket.setEnabledProtocols(getProtocols()); in setup()
DRenegotiationTest.java152 socket.setEnabledProtocols(TestUtils.getProtocols()); in Client()
242 engine.setEnabledProtocols(TestUtils.getProtocols());
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DEngineHandshakeBenchmark.java101 client.setEnabledProtocols(protocols); in handshake()
102 server.setEnabledProtocols(protocols); in handshake()
DClientEndpoint.java43 socket.setEnabledProtocols(protocols); in ClientEndpoint()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DEngineHandshakeBenchmark.java99 client.setEnabledProtocols(protocols); in handshake()
100 server.setEnabledProtocols(protocols); in handshake()
DClientEndpoint.java42 socket.setEnabledProtocols(protocols); in ClientEndpoint()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java302 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() method in PreKitKatPlatformOpenSSLSocketImplAdapter
303 delegate.setEnabledProtocols(protocols); in setEnabledProtocols()
DKitKatPlatformOpenSSLSocketImplAdapter.java302 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() method in KitKatPlatformOpenSSLSocketImplAdapter
303 delegate.setEnabledProtocols(protocols); in setEnabledProtocols()
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/
DAndroidEngineFactory.java98 engine.setEnabledProtocols(new String[]{"TLSv1.2"}); in initEngine()
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/
DAndroidEngineFactory.java96 engine.setEnabledProtocols(new String[]{"TLSv1.2"}); in initEngine()
/external/conscrypt/
DCAPABILITIES.md20 [`setEnabledProtocols()`](https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#se…

123