/libcore/benchmarks/src/benchmarks/regression/ |
SSLSocketBenchmark.java | 28 import javax.net.ssl.SSLContext; 79 SSLContext sslContext; 82 sslContext = SSLContext.getInstance("SSL", "AndroidOpenSSL"); 85 sslContext = SSLContext.getInstance("SSL", "HarmonyJSSE"); 90 sslContext.init(null, null, null); 91 this.sf = sslContext.getSocketFactory();
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLContext1Test.java | 32 import javax.net.ssl.SSLContext; 50 * Tests for <code>SSLContext</code> class constructors and methods. 56 private static String srvSSLContext = "SSLContext"; 70 private static final String NotSupportedMsg = "There is no suitable provider for SSLContext"; 95 protected SSLContext[] createSSLCon() { 100 SSLContext[] sslC = new SSLContext[3]; 102 sslC[0] = SSLContext.getInstance(defaultProtocol); 103 sslC[1] = SSLContext.getInstance(defaultProtocol, defaultProvider); 104 sslC[2] = SSLContext.getInstance(defaultProtocol [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLContext1Test.java | 32 import javax.net.ssl.SSLContext; 47 * Tests for <code>SSLContext</code> class constructors and methods. 52 private static String srvSSLContext = "SSLContext"; 74 protected SSLContext[] createSSLCon() { 79 SSLContext[] sslC = new SSLContext[3]; 81 sslC[0] = SSLContext.getInstance(defaultProtocol); 82 sslC[1] = SSLContext.getInstance(defaultProtocol, defaultProvider); 83 sslC[2] = SSLContext.getInstance(defaultProtocol, 93 * Test for <code>SSLContext</code> constructor Assertion: return [all...] |
SSLServerSocketTest.java | 33 import javax.net.ssl.SSLContext; 409 SSLContext context = SSLContext.getInstance("TLS"); 419 SSLContext sslContext = SSLContext.getInstance("TLS"); 420 sslContext.init(keyManagers, null, null); 422 sslContext.getServerSocketFactory().createServerSocket().close(); 426 sslContext.init(keyManagers, null, new SecureRandom()); 428 sslContext.getServerSocketFactory().createServerSocket().close() [all...] |
SSLSocketTest.java | 32 import javax.net.ssl.SSLContext; 210 SSLContext sslContext = SSLContext.getInstance("TLS"); 211 sslContext.init(null, null, null); 213 sslContext.getSocketFactory().createSocket().close(); 217 sslContext.init(null, null, new SecureRandom()); 219 sslContext.getSocketFactory().createSocket().close(); 539 SSLContext sslContext = SSLContext.getInstance("TLS") [all...] |
HandshakeCompletedEventTest.java | 33 import javax.net.ssl.SSLContext; 409 SSLContext sslContext = SSLContext.getInstance("TLS"); 410 sslContext.init(keyManagers, trustManagers, null); 412 serverSocket = (SSLServerSocket) sslContext.getServerSocketFactory().createServerSocket(); 492 SSLContext sslContext = SSLContext.getInstance("TLS"); 493 sslContext.init(keyManagers, trustManagers, null) [all...] |
SSLSessionTest.java | 31 import javax.net.ssl.SSLContext; 454 SSLContext clientSslContext = null; 495 SSLContext sslContext = SSLContext.getInstance("TLS"); 496 sslContext.init(keyManagers, trustManagers, null); 498 serverSocket = (SSLServerSocket)sslContext.getServerSocketFactory().createServerSocket(); 578 clientSslContext = SSLContext.getInstance("TLS");
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
SpdyServer.java | 32 import javax.net.ssl.SSLContext; 157 SSLContext sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 158 server.useHttps(sslContext.getSocketFactory());
|
HttpOverSpdyTest.java | 47 import javax.net.ssl.SSLContext; 65 private static final SSLContext sslContext; 68 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 75 private final MockSpdyServer server = new MockSpdyServer(sslContext.getSocketFactory()); 81 client.setSslSocketFactory(sslContext.getSocketFactory());
|
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 205 OpenSSLContextImpl sslContext = new OpenSSLContextImpl(); 206 sslContext.engineInit(keyManagers, trustManagers, null); 207 sslContext.engineGetClientSessionContext().setPersistentCache(mSessionCache); 208 return sslContext.engineGetSocketFactory();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLContextTest.java | 24 import javax.net.ssl.SSLContext; 35 SSLContext sslContext = SSLContext.getDefault(); 36 assertNotNull(sslContext); 38 sslContext.init(null, null, null); 45 SSLContext.setDefault(null); 49 SSLContext defaultContext = SSLContext.getDefault(); 51 SSLContext oldContext = SSLContext.getDefault() [all...] |
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServer.java | 29 import javax.net.ssl.SSLContext; 60 SSLContext sslContext = SSLContext.getInstance("TLS"); 75 sslContext.init(kmf.getKeyManagers(), null, null); 78 sssf = sslContext.getServerSocketFactory();
|
/external/nist-sip/java/gov/nist/core/net/ |
SslNetworkLayer.java | 42 import javax.net.ssl.SSLContext;
70 SSLContext sslContext;
71 sslContext = SSLContext.getInstance("TLS");
83 sslContext.init(kmFactory.getKeyManagers(), tmFactory.getTrustManagers(), secureRandom);
84 sslServerSocketFactory = sslContext.getServerSocketFactory();
85 sslSocketFactory = sslContext.getSocketFactory();
|
/frameworks/base/core/java/android/net/http/ |
HttpsConnection.java | 83 OpenSSLContextImpl sslContext = new OpenSSLContextImpl(); 102 sslContext.engineInit(null, trustManagers, null); 103 sslContext.engineGetClientSessionContext().setPersistentCache(cache); 106 mSslSocketFactory = sslContext.engineGetSocketFactory();
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
SslContextBuilder.java | 32 import javax.net.ssl.SSLContext; 63 public SSLContext build() throws GeneralSecurityException { 83 SSLContext sslContext = SSLContext.getInstance("TLS"); 84 sslContext.init(keyManagerFactory.getKeyManagers(), trustManagerFactory.getTrustManagers(), 86 return sslContext;
|
/external/smack/src/com/kenai/jbosh/ |
BOSHClientConfig.java | 20 import javax.net.ssl.SSLContext; 70 private final SSLContext sslContext; 99 private SSLContext bSSLContext; 257 public Builder setSSLContext(final SSLContext ctx) { 347 final SSLContext cSSLContext, 356 sslContext = cSSLContext; 431 public SSLContext getSSLContext() { 432 return sslContext;
|
/external/okhttp/src/test/java/com/squareup/okhttp/ |
ConnectionPoolTest.java | 31 import javax.net.ssl.SSLContext; 44 private static final SSLContext sslContext; 48 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 56 private final MockSpdyServer spdyServer = new MockSpdyServer(sslContext.getSocketFactory()); 81 sslContext.getSocketFactory(), new RecordingHostnameVerifier(),
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
RouteSelectorTest.java | 38 import javax.net.ssl.SSLContext; 62 private static final SSLContext sslContext; 70 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 71 socketFactory = sslContext.getSocketFactory();
|
HttpResponseCacheTest.java | 69 import javax.net.ssl.SSLContext; 96 private static final SSLContext sslContext; 99 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 328 server.useHttps(sslContext.getSocketFactory(), false); 335 connection.setSSLSocketFactory(sslContext.getSocketFactory()); 347 connection.setSSLSocketFactory(sslContext.getSocketFactory()); 363 server.useHttps(sslContext.getSocketFactory(), false); 371 connection1.setSSLSocketFactory(sslContext.getSocketFactory()); 377 connection2.setSSLSocketFactory(sslContext.getSocketFactory()) [all...] |
URLConnectionTest.java | 68 import javax.net.ssl.SSLContext; 99 private static final SSLContext sslContext; 102 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build(); 510 server.useHttps(sslContext.getSocketFactory(), false); 514 client.setSslSocketFactory(sslContext.getSocketFactory()); 525 server.useHttps(sslContext.getSocketFactory(), false); 531 SSLSocketFactory clientSocketFactory = sslContext.getSocketFactory(); 548 server.useHttps(sslContext.getSocketFactory(), false); 554 client.setSslSocketFactory(sslContext.getSocketFactory()) [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
SSLSocketTest.java | 47 import javax.net.ssl.SSLContext; 307 * Regression test for 865926: SSLContext.init() should 311 SSLContext ctx = SSLContext.getInstance("TLS"); 320 SSLContext ctx = SSLContext.getInstance("TLS"); 653 SSLContext sslContext = SSLContext.getInstance("TLS"); 654 sslContext.init(keyManagers, trustManagers, null) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.ecf.ssl_1.0.0.v20100529-0735.jar | |
org.eclipse.ecf.provider.filetransfer.httpclient_4.0.0.v20100529-0735.jar | |
/external/smack/asmack-master/lib/ |
httpclient-4.1.3.jar | |
/prebuilts/devtools/tools/lib/ |
httpclient-4.1.1.jar | |