Home
last modified time | relevance | path

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

12

/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLServerSocketTest.java59 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(socket.getEnabledCipherSuites())); in testSetEnabledCipherSuitesAffectsGetter_TLS12()
71 assertEquals(expected, Arrays.asList(socket.getEnabledCipherSuites())); in testSetEnabledCipherSuitesAffectsGetter_TLS13()
78 String[] array = new String[] {socket.getEnabledCipherSuites()[0]}; in testSetEnabledCipherSuitesStoresCopy()
82 assertEquals(originalFirstElement, socket.getEnabledCipherSuites()[0]); in testSetEnabledCipherSuitesStoresCopy()
112 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
116 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
122 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
127 assertFalse(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
DSSLSocketTest.java246 assertNotSame(ssl.getEnabledCipherSuites(), ssl.getEnabledCipherSuites()); in test_SSLSocket_getEnabledCipherSuites_returnsCopies()
253 String[] array = new String[] {ssl.getEnabledCipherSuites()[0]}; in test_SSLSocket_setEnabledCipherSuites_storesCopy()
257 assertEquals(originalFirstElement, ssl.getEnabledCipherSuites()[0]); in test_SSLSocket_setEnabledCipherSuites_storesCopy()
284 ssl.setEnabledCipherSuites(ssl.getEnabledCipherSuites()); in test_SSLSocket_setEnabledCipherSuites_TLS12()
291 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(ssl.getEnabledCipherSuites())); in test_SSLSocket_setEnabledCipherSuites_TLS12()
301 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
305 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
311 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
316 assertFalse(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
499 assertEquals(referenceClientSocket.getEnabledCipherSuites()[0], in test_SSLSocket_getHandshakeSession_duringHandshake()
[all …]
DSSLEngineTest.java380 assertNotSame(e.getEnabledCipherSuites(), e.getEnabledCipherSuites()); in test_SSLEngine_getEnabledCipherSuites_returnsCopies()
388 String[] array = new String[] {e.getEnabledCipherSuites()[0]}; in test_SSLEngine_setEnabledCipherSuites_storesCopy()
392 assertEquals(originalFirstElement, e.getEnabledCipherSuites()[0]); in test_SSLEngine_setEnabledCipherSuites_storesCopy()
421 e.setEnabledCipherSuites(e.getEnabledCipherSuites()); in test_SSLEngine_setEnabledCipherSuites_TLS12()
429 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(e.getEnabledCipherSuites())); in test_SSLEngine_setEnabledCipherSuites_TLS12()
438 assertTrue(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
442 assertTrue(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
448 assertTrue(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
453 assertFalse(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
592 assertEquals(referenceEngine.getEnabledCipherSuites()[0], in test_SSLEngine_getHandshakeSession_duringHandshake()
[all …]
DSSLContextTest.java204 expectedCipherSuites, sslContext.createSSLEngine().getEnabledCipherSuites()); in assertEnabledCipherSuites()
214 assertContentsInOrder(expectedCipherSuites, sslSocket.getEnabledCipherSuites()); in assertEnabledCipherSuites()
227 assertContentsInOrder(expectedCipherSuites, sslServerSocket.getEnabledCipherSuites()); in assertEnabledCipherSuites()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLServerSocketTest.java55 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(socket.getEnabledCipherSuites())); in testSetEnabledCipherSuitesAffectsGetter_TLS12()
68 assertEquals(expected, Arrays.asList(socket.getEnabledCipherSuites())); in testSetEnabledCipherSuitesAffectsGetter_TLS13()
75 String[] array = new String[] {socket.getEnabledCipherSuites()[0]}; in testSetEnabledCipherSuitesStoresCopy()
79 assertEquals(originalFirstElement, socket.getEnabledCipherSuites()[0]); in testSetEnabledCipherSuitesStoresCopy()
109 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
113 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
119 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
124 assertFalse(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
DSSLSocketTest.java242 assertNotSame(ssl.getEnabledCipherSuites(), ssl.getEnabledCipherSuites()); in test_SSLSocket_getEnabledCipherSuites_returnsCopies()
249 String[] array = new String[] {ssl.getEnabledCipherSuites()[0]}; in test_SSLSocket_setEnabledCipherSuites_storesCopy()
253 assertEquals(originalFirstElement, ssl.getEnabledCipherSuites()[0]); in test_SSLSocket_setEnabledCipherSuites_storesCopy()
280 ssl.setEnabledCipherSuites(ssl.getEnabledCipherSuites()); in test_SSLSocket_setEnabledCipherSuites_TLS12()
287 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(ssl.getEnabledCipherSuites())); in test_SSLSocket_setEnabledCipherSuites_TLS12()
297 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
301 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
307 assertTrue(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
312 assertFalse(new HashSet<String>(Arrays.asList(ssl.getEnabledCipherSuites())) in test_SSLSocket_setEnabledCipherSuites_TLS13()
492 assertEquals(referenceClientSocket.getEnabledCipherSuites()[0], in test_SSLSocket_getHandshakeSession_duringHandshake()
[all …]
DSSLEngineTest.java376 assertNotSame(e.getEnabledCipherSuites(), e.getEnabledCipherSuites()); in test_SSLEngine_getEnabledCipherSuites_returnsCopies()
384 String[] array = new String[] {e.getEnabledCipherSuites()[0]}; in test_SSLEngine_setEnabledCipherSuites_storesCopy()
388 assertEquals(originalFirstElement, e.getEnabledCipherSuites()[0]); in test_SSLEngine_setEnabledCipherSuites_storesCopy()
417 e.setEnabledCipherSuites(e.getEnabledCipherSuites()); in test_SSLEngine_setEnabledCipherSuites_TLS12()
425 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(e.getEnabledCipherSuites())); in test_SSLEngine_setEnabledCipherSuites_TLS12()
434 assertTrue(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
438 assertTrue(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
444 assertTrue(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
449 assertFalse(new HashSet<String>(Arrays.asList(e.getEnabledCipherSuites())) in test_SSLEngine_setEnabledCipherSuites_TLS13()
585 assertEquals(referenceEngine.getEnabledCipherSuites()[0], in test_SSLEngine_getHandshakeSession_duringHandshake()
[all …]
DSSLContextTest.java201 expectedCipherSuites, sslContext.createSSLEngine().getEnabledCipherSuites()); in assertEnabledCipherSuites()
211 assertContentsInOrder(expectedCipherSuites, sslSocket.getEnabledCipherSuites()); in assertEnabledCipherSuites()
224 assertContentsInOrder(expectedCipherSuites, sslServerSocket.getEnabledCipherSuites()); in assertEnabledCipherSuites()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DConnectionSpec.java144 String[] cipherSuitesToSelectFrom = sslSocket.getEnabledCipherSuites(); in supportedSpec()
160 : sslSocket.getEnabledCipherSuites(); in supportedSpec()
201 requiredCiphersEnabled = socket.getEnabledCipherSuites().length > 0; in isCompatible()
203 String[] enabledCipherSuites = socket.getEnabledCipherSuites(); in isCompatible()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptServerSocket.java115 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in ConscryptServerSocket
116 return sslParameters.getEnabledCipherSuites(); in getEnabledCipherSuites()
DJava8EngineWrapper.java140 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in Java8EngineWrapper
141 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
DOpenSSLServerSocketFactoryImpl.java70 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
DOpenSSLSocketFactoryImpl.java77 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptServerSocket.java116 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in ConscryptServerSocket
117 return sslParameters.getEnabledCipherSuites(); in getEnabledCipherSuites()
DJava8EngineWrapper.java141 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in Java8EngineWrapper
142 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
DOpenSSLServerSocketFactoryImpl.java71 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
DOpenSSLSocketFactoryImpl.java80 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java115 assertCipherSuitesEqual(sslSocket.getEnabledCipherSuites(), in assertSSLSocketConfigSameAsSSLContext()
173 assertCipherSuitesEqual(sslServerSocket.getEnabledCipherSuites(), in assertSSLServerSocketConfigSameAsSSLContext()
201 assertCipherSuitesEqual(sslEngine.getEnabledCipherSuites(), in assertSSLEngineConfigSameAsSSLContext()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java117 assertCipherSuitesEqual(sslSocket.getEnabledCipherSuites(), in assertSSLSocketConfigSameAsSSLContext()
175 assertCipherSuitesEqual(sslServerSocket.getEnabledCipherSuites(), in assertSSLServerSocketConfigSameAsSSLContext()
203 assertCipherSuitesEqual(sslEngine.getEnabledCipherSuites(), in assertSSLEngineConfigSameAsSSLContext()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DConnectionSpec.java147 ? Util.intersect(String.class, cipherSuites, sslSocket.getEnabledCipherSuites()) in supportedSpec()
148 : sslSocket.getEnabledCipherSuites(); in supportedSpec()
187 && !nonEmptyIntersection(cipherSuites, socket.getEnabledCipherSuites())) { in isCompatible()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionSpec.java145 ? Util.intersect(String.class, cipherSuites, sslSocket.getEnabledCipherSuites()) in supportedSpec()
146 : sslSocket.getEnabledCipherSuites(); in supportedSpec()
185 && !nonEmptyIntersection(cipherSuites, socket.getEnabledCipherSuites())) { in isCompatible()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSSLSocket.java52 @Override public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in DelegatingSSLSocket
53 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java283 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in PreKitKatPlatformOpenSSLSocketImplAdapter
284 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
DKitKatPlatformOpenSSLSocketImplAdapter.java283 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in KitKatPlatformOpenSSLSocketImplAdapter
284 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
/external/conscrypt/publicapi/src/test/java/android/net/ssl/
DSSLEnginesTest.java52 @Override public String[] getEnabledCipherSuites() { throw new AssertionError(); } in getEnabledCipherSuites() method in SSLEnginesTest.BrokenSSLEngine

12