/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLServerSocketTest.java | 59 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()
|
D | SSLSocketTest.java | 246 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 …]
|
D | SSLEngineTest.java | 380 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 …]
|
D | SSLContextTest.java | 204 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/ |
D | SSLServerSocketTest.java | 55 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()
|
D | SSLSocketTest.java | 242 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 …]
|
D | SSLEngineTest.java | 376 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 …]
|
D | SSLContextTest.java | 201 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/ |
D | ConnectionSpec.java | 144 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/ |
D | ConscryptServerSocket.java | 115 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in ConscryptServerSocket 116 return sslParameters.getEnabledCipherSuites(); in getEnabledCipherSuites()
|
D | Java8EngineWrapper.java | 140 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in Java8EngineWrapper 141 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
|
D | OpenSSLServerSocketFactoryImpl.java | 70 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
|
D | OpenSSLSocketFactoryImpl.java | 77 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ConscryptServerSocket.java | 116 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in ConscryptServerSocket 117 return sslParameters.getEnabledCipherSuites(); in getEnabledCipherSuites()
|
D | Java8EngineWrapper.java | 141 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in Java8EngineWrapper 142 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
|
D | OpenSSLServerSocketFactoryImpl.java | 71 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
|
D | OpenSSLSocketFactoryImpl.java | 80 return sslParameters.getEnabledCipherSuites(); in getDefaultCipherSuites()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | SSLConfigurationAsserts.java | 115 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/ |
D | SSLConfigurationAsserts.java | 117 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/ |
D | ConnectionSpec.java | 147 ? 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/ |
D | ConnectionSpec.java | 145 ? 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/ |
D | DelegatingSSLSocket.java | 52 @Override public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in DelegatingSSLSocket 53 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | PreKitKatPlatformOpenSSLSocketImplAdapter.java | 283 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in PreKitKatPlatformOpenSSLSocketImplAdapter 284 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
|
D | KitKatPlatformOpenSSLSocketImplAdapter.java | 283 public String[] getEnabledCipherSuites() { in getEnabledCipherSuites() method in KitKatPlatformOpenSSLSocketImplAdapter 284 return delegate.getEnabledCipherSuites(); in getEnabledCipherSuites()
|
/external/conscrypt/publicapi/src/test/java/android/net/ssl/ |
D | SSLEnginesTest.java | 52 @Override public String[] getEnabledCipherSuites() { throw new AssertionError(); } in getEnabledCipherSuites() method in SSLEnginesTest.BrokenSSLEngine
|