Home
last modified time | relevance | path

Searched refs:getSupportedCipherSuites (Results 1 – 24 of 24) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLServerSocketTest.java61 public String[] getSupportedCipherSuites() { in getSupportedCipherSuites() method in SSLServerSocketTest.mySSLServerSocket
201 String[] res = sss.getSupportedCipherSuites(); in test_getSupportedCipherSuites()
224 int count = sss.getSupportedCipherSuites().length; in test_EnabledCipherSuites()
226 sss.setEnabledCipherSuites(sss.getSupportedCipherSuites()); in test_EnabledCipherSuites()
230 Arrays.asList(sss.getSupportedCipherSuites()), in test_EnabledCipherSuites()
240 String[] res = sss.getSupportedCipherSuites(); in test_getSupportedProtocols()
DSSLServerSocketFactoryTest.java40 public String[] getSupportedCipherSuites() { in getSupportedCipherSuites() method in SSLServerSocketFactoryTest.MockSSLServerSocketFactory
101 assertTrue(ssf.getSupportedCipherSuites().length > 0); in test_getSupportedCipherSuites()
DSSLSocketFactoryTest.java123 sf.getSupportedCipherSuites().length > 0); in test_getSupportedCipherSuites()
DSSLSocketTest.java349 String[] res = ssl.getSupportedCipherSuites(); in test_getSupportedCipherSuites()
371 ssl.setEnabledCipherSuites(ssl.getSupportedCipherSuites()); in test_EnabledCipherSuites()
375 Arrays.asList(ssl.getSupportedCipherSuites()), in test_EnabledCipherSuites()
DSSLEngineTest.java63 String[] suites = e.getSupportedCipherSuites(); in test_Constructor()
100 String[] suites = e.getSupportedCipherSuites(); in test_ConstructorLjava_lang_StringI02()
163 String[] res = sse.getSupportedCipherSuites(); in test_getSupportedCipherSuites()
174 String[] st = sse.getSupportedCipherSuites(); in test_EnabledCipherSuites()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DSSLConfigurationAsserts.java97 sslSocketFactory.getSupportedCipherSuites()); in assertSSLSocketFactoryConfigSameAsSSLContext()
126 assertCipherSuitesEqual(sslSocket.getSupportedCipherSuites(), in assertSSLSocketConfigSameAsSSLContext()
153 sslServerSocketFactory.getSupportedCipherSuites()); in assertSSLServerSocketFactoryConfigSameAsSSLContext()
184 assertCipherSuitesEqual(sslServerSocket.getSupportedCipherSuites(), in assertSSLServerSocketConfigSameAsSSLContext()
215 assertCipherSuitesEqual(sslEngine.getSupportedCipherSuites(), in assertSSLEngineConfigSameAsSSLContext()
DTestSSLContext.java410 public String[] getSupportedCipherSuites() { in clientAuth() method in TestSSLContext
411 return sf.getSupportedCipherSuites(); in clientAuth()
/libcore/support/src/test/java/tests/net/
DDelegatingSSLSocketFactory.java54 public String[] getSupportedCipherSuites() { in getSupportedCipherSuites() method in DelegatingSSLSocketFactory
55 return mDelegate.getSupportedCipherSuites(); in getSupportedCipherSuites()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLServerSocketTest.java34 String[] cipherSuites = new String[] {socket.getSupportedCipherSuites()[0]}; in testSetEnabledCipherSuitesAffectsGetter()
76 @Override public String[] getSupportedCipherSuites() { return new String[0]; } in testToString()
DSSLSocketFactoryTest.java109 public String[] getSupportedCipherSuites() { in getSupportedCipherSuites() method in SSLSocketFactoryTest.FakeSSLSocketFactory
224 assertNotSame(sf.getSupportedCipherSuites(), sf.getSupportedCipherSuites()); in test_SSLSocketFactory_getSupportedCipherSuitesReturnsCopies()
DSSLEngineTest.java82 assertNotSame(e.getSupportedCipherSuites(), e.getSupportedCipherSuites()); in test_SSLEngine_getSupportedCipherSuites_returnsCopies()
181 String[] cipherSuites = c.clientContext.createSSLEngine().getSupportedCipherSuites(); in test_SSLEngine_getSupportedCipherSuites_connect()
362 e.setEnabledCipherSuites(e.getSupportedCipherSuites()); in test_SSLEngine_setEnabledCipherSuites()
365 String[] cipherSuites = new String[] { e.getSupportedCipherSuites()[0] }; in test_SSLEngine_setEnabledCipherSuites()
757 String[] supportedCipherSuites = e.getSupportedCipherSuites();
DSSLSessionContextTest.java170 String[] supportedCipherSuites = c.serverSocket.getSupportedCipherSuites(); in test_SSLSessionContext_setSessionCacheSize_dynamic()
DSSLSocketTest.java131 assertNotSame(ssl.getSupportedCipherSuites(), ssl.getSupportedCipherSuites()); in test_SSLSocket_getSupportedCipherSuites_returnsCopies()
168 String[] cipherSuites = c.clientContext.getSocketFactory().getSupportedCipherSuites(); in test_SSLSocket_getSupportedCipherSuites_connect()
288 ssl.setEnabledCipherSuites(ssl.getSupportedCipherSuites()); in test_SSLSocket_setEnabledCipherSuites()
291 String[] cipherSuites = new String[] { ssl.getSupportedCipherSuites()[0] }; in test_SSLSocket_setEnabledCipherSuites()
1414 String[] supportedCipherSuites = ssl.getSupportedCipherSuites(); in test_SSLSocket_setSSLParameters()
2626 @Override public String[] getSupportedCipherSuites() { return new String[0]; } in test_SSLSocket_toString()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLServerSocketFactory.java175 public abstract String [] getSupportedCipherSuites(); in getSupportedCipherSuites() method in SSLServerSocketFactory
229 public String [] getSupportedCipherSuites() { in getSupportedCipherSuites() method in DefaultSSLServerSocketFactory
DSSLContextSpi.java194 params.setCipherSuites(socket.getSupportedCipherSuites()); in engineGetSupportedSSLParameters()
DSSLSocketFactory.java190 public abstract String [] getSupportedCipherSuites();
278 public String [] getSupportedCipherSuites() {
DSSLServerSocket.java245 public abstract String [] getSupportedCipherSuites(); in getSupportedCipherSuites() method in SSLServerSocket
DSSLSocket.java1006 public abstract String [] getSupportedCipherSuites(); in getSupportedCipherSuites() method in SSLSocket
DSSLEngine.java1514 public abstract String [] getSupportedCipherSuites(); in getSupportedCipherSuites() method in SSLEngine
/libcore/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java144 for (String suite : engine.getSupportedCipherSuites()) { in main()
151 for (String suite : socketFactory.getSupportedCipherSuites()) { in main()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLSocketFactoryImpl.java42 public String[] getSupportedCipherSuites() { in getSupportedCipherSuites() method in SSLSocketFactoryImpl
DMySSLContextSpi.java134 public String[] getSupportedCipherSuites() { return null; } in getSupportedCipherSuites() method in MySSLContextSpi.tmpSSLEngine
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java136 public String[] getSupportedCipherSuites() { return null; } in getSupportedCipherSuites() method in MySSLContextSpi.tmpSSLEngine
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java3197 public String[] getSupportedCipherSuites() {
3198 return delegate.getSupportedCipherSuites();
3374 @Override public String[] getSupportedCipherSuites() {
3375 return delegate.getSupportedCipherSuites();