/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 24 import javax.net.ssl.SSLSocketFactory; 46 SocketFactory sf = SSLSocketFactory.getDefault(); in test_Constructor() 47 assertTrue(sf instanceof SSLSocketFactory); in test_Constructor() 58 SSLSocketFactory.getDefault()); in test_getDefault() 65 SSLSocketFactory sf = (SSLSocketFactory)SSLSocketFactory.getDefault(); in test_createSocket() 108 SSLSocketFactory sf = (SSLSocketFactory) SSLSocketFactory.getDefault(); in test_getDefaultCipherSuites() 121 SSLSocketFactory sf = (SSLSocketFactory) SSLSocketFactory.getDefault(); in test_getSupportedCipherSuites()
|
D | HttpsURLConnectionTest.java | 32 import javax.net.ssl.SSLSocketFactory; 50 (SSLSocketFactory)SSLSocketFactory.getDefault()); in setUp() 227 SSLSocketFactory ssf = (SSLSocketFactory) SSLSocketFactory in test_setDefaultSSLSocketFactory() 242 SSLSocketFactory ssf = (SSLSocketFactory) SSLSocketFactory in test_setSSLSocketFactory()
|
D | SSLSessionBindingListenerTest.java | 26 import javax.net.ssl.SSLSocketFactory; 63 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault() in test_valueBound() 77 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault() in test_valueUnbound()
|
D | HandshakeCompletedEventTest.java | 38 import javax.net.ssl.SSLSocketFactory; 74 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_Constructor() 89 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getCipherSuite() 100 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getLocalCertificates() 111 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getLocalPrincipal() 123 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerCertificateChain() 146 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerCertificates() 166 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerPrincipal() 177 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getSession() 189 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getSocket()
|
D | SSLContextSpiTest.java | 30 import javax.net.ssl.SSLSocketFactory; 153 SSLSocketFactory ssf = ssl.engineGetSocketFactory(); in commonTest_01() 209 public SSLSocketFactory engineGetSocketFactory() { in engineGetSocketFactory() 211 return (SSLSocketFactory) SSLSocketFactory.getDefault(); in engineGetSocketFactory()
|
D | SSLSocketTest.java | 37 import javax.net.ssl.SSLSocketFactory; 617 return (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in getSSLSocket() 621 return (SSLSocket) SSLSocketFactory.getDefault().createSocket(host, port); in getSSLSocket() 625 return (SSLSocket) SSLSocketFactory.getDefault().createSocket(host, port); in getSSLSocket() 630 return (SSLSocket) SSLSocketFactory.getDefault().createSocket(host, in getSSLSocket() 638 return (SSLSocket) SSLSocketFactory.getDefault().createSocket(host, in getSSLSocket()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 28 import javax.net.ssl.SSLSocketFactory; 40 SocketFactory sf1 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate() 42 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf1.getClass())); in test_SSLSocketFactory_getDefault_cacheInvalidate() 52 sf4 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate() 54 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf4.getClass())); in test_SSLSocketFactory_getDefault_cacheInvalidate() 62 SocketFactory sf3 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate() 64 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf3.getClass())); in test_SSLSocketFactory_getDefault_cacheInvalidate() 70 SocketFactory sf2 = SSLSocketFactory.getDefault(); in test_SSLSocketFactory_getDefault_cacheInvalidate() 72 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf2.getClass())); in test_SSLSocketFactory_getDefault_cacheInvalidate() 110 SSLSocketFactory sf = (SSLSocketFactory) SSLSocketFactory.getDefault(); in test_SSLSocketFactory_createSocket_withConsumedInputStream()
|
D | FakeSSLSocketFactory.java | 20 import javax.net.ssl.SSLSocketFactory; 24 public class FakeSSLSocketFactory extends SSLSocketFactory {
|
D | FakeSSLContextSpi.java | 24 import javax.net.ssl.SSLSocketFactory; 38 protected SSLSocketFactory engineGetSocketFactory() { in engineGetSocketFactory()
|
D | FakeSSLServerSocketFactory.java | 23 import javax.net.ssl.SSLSocketFactory;
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | HttpsURLConnection.java | 361 private static SSLSocketFactory defaultSSLSocketFactory = null; 367 private SSLSocketFactory sslSocketFactory = getDefaultSSLSocketFactory(); 384 public static void setDefaultSSLSocketFactory(SSLSocketFactory sf) { in setDefaultSSLSocketFactory() 407 public static SSLSocketFactory getDefaultSSLSocketFactory() { in getDefaultSSLSocketFactory() 410 (SSLSocketFactory)SSLSocketFactory.getDefault(); in getDefaultSSLSocketFactory() 433 public void setSSLSocketFactory(SSLSocketFactory sf) { in setSSLSocketFactory() 453 public SSLSocketFactory getSSLSocketFactory() { in getSSLSocketFactory()
|
D | SSLSocketFactory.java | 46 public abstract class SSLSocketFactory extends SocketFactory class 51 private static SSLSocketFactory defaultSocketFactory; 78 public SSLSocketFactory() { in SSLSocketFactory() method in SSLSocketFactory 104 SSLSocketFactory previousDefaultSocketFactory = defaultSocketFactory; in getDefault() 138 SSLSocketFactory fac = (SSLSocketFactory)cls.newInstance(); in getDefault() 284 class DefaultSSLSocketFactory extends SSLSocketFactory
|
D | SSLContextSpi.java | 64 protected abstract SSLSocketFactory engineGetSocketFactory(); in engineGetSocketFactory() 142 SSLSocketFactory factory = engineGetSocketFactory(); in getDefaultSocket()
|
D | SSLServerSocketFactory.java | 61 if (SSLSocketFactory.DEBUG) { in log() 97 String clsName = SSLSocketFactory.getSecurityProperty in getDefault()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSessions.java | 21 import javax.net.ssl.SSLSocketFactory; 67 SSLSocketFactory sf = (SSLSocketFactory) SSLSocketFactory.getDefault(); in create()
|
D | SSLConfigurationAsserts.java | 25 import javax.net.ssl.SSLSocketFactory; 41 SSLSocketFactory sslSocketFactory) throws Exception { in assertSSLSocketFactoryDefaultConfiguration() 52 SSLSocketFactory sslSocketFactory, SSLContext sslContext) throws IOException { in assertSSLSocketFactoryConfigSameAsSSLContext()
|
D | TestSSLContext.java | 41 import javax.net.ssl.SSLSocketFactory; 381 public static SSLSocketFactory clientAuth(final SSLSocketFactory sf, in clientAuth() 384 return new SSLSocketFactory() { in clientAuth()
|
/libcore/ojluni/annotations/mmodule/javax/net/ssl/ |
D | HttpsURLConnection.annotated.java | 51 …public static void setDefaultSSLSocketFactory(javax.net.ssl.SSLSocketFactory sf) { throw new Runti… in setDefaultSSLSocketFactory() 53 …public static javax.net.ssl.SSLSocketFactory getDefaultSSLSocketFactory() { throw new RuntimeExcep… in getDefaultSSLSocketFactory() 55 …public void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory sf) { throw new RuntimeException("S… in setSSLSocketFactory() 57 …public javax.net.ssl.SSLSocketFactory getSSLSocketFactory() { throw new RuntimeException("Stub!");… in getSSLSocketFactory()
|
/libcore/ojluni/annotations/hiddenapi/javax/net/ssl/ |
D | SSLSocketFactory.java | 33 public abstract class SSLSocketFactory extends javax.net.SocketFactory { class 35 public SSLSocketFactory() { in SSLSocketFactory() method in SSLSocketFactory 84 private static javax.net.ssl.SSLSocketFactory defaultSocketFactory;
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | SSLSocketFactoryBenchmark.java | 19 import javax.net.ssl.SSLSocketFactory; 24 SSLSocketFactory.getDefault(); in time()
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | SSLContextSpiImpl.java | 31 import javax.net.ssl.SSLSocketFactory; 47 public SSLSocketFactory engineGetSocketFactory() { in engineGetSocketFactory()
|
D | SSLSocketFactoryImpl.java | 20 import javax.net.ssl.SSLSocketFactory; 28 public class SSLSocketFactoryImpl extends SSLSocketFactory {
|
D | MySSLContextSpi.java | 32 import javax.net.ssl.SSLSocketFactory; 52 protected SSLSocketFactory engineGetSocketFactory() { in engineGetSocketFactory()
|
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
D | ListProviders.java | 34 import javax.net.ssl.SSLSocketFactory; 141 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main()
|
/libcore/luni/src/main/java/java/security/ |
D | security.properties | 36 # The default SSLSocketFactory and SSLServerSocketFactory provider implementations. 38 # javax/net/ssl/SSLSocketFactory.html#getDefault()
|