HomeSort by relevance Sort by last modified time
    Searched full:sslcontext (Results 26 - 50 of 99) sorted by null

12 3 4

  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
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());
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 40 import javax.net.ssl.SSLContext;
195 SSLContext serverContext = SSLContext.getInstance("SSL");
208 SSLContext clientContext = SSLContext.getInstance("SSL");
  /external/apache-http/src/org/apache/http/conn/ssl/
SSLSocketFactory.java 42 import javax.net.ssl.SSLContext;
173 private final SSLContext sslcontext; field in class:SSLSocketFactory
199 this.sslcontext = SSLContext.getInstance(algorithm);
200 this.sslcontext.init(keymanagers, trustmanagers, random);
201 this.socketfactory = this.sslcontext.getSocketFactory();
234 this.sslcontext = null;
246 this.sslcontext = null;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLSocketFactory.java 48 import javax.net.ssl.SSLContext;
172 private final SSLContext sslcontext; field in class:SSLSocketFactory
198 sslcontext = SSLContext.getInstance(algorithm);
199 sslcontext.init(keymanagers, trustmanagers, random);
200 socketfactory = sslcontext.getSocketFactory();
231 sslcontext = null;
243 sslcontext = null;
  /libcore/luni/src/main/java/javax/net/ssl/
SSLSocketFactory.java 64 SSLContext context;
66 context = SSLContext.getDefault();
SSLContextSpi.java 25 * The <i>Service Provider Interface</i> (SPI) for the {@code SSLContext} class.
36 * Initializes this {@code SSLContext} instance. All of the arguments are
157 * SSLContext.getDefaultSSLParameters specifies to throw
HttpsURLConnection.java 51 * SSLContext context = SSLContext.getInstance("TLS");
85 * SSLContext context = SSLContext.getInstance("TLS");
  /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...]
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLProvider.java 46 put("SSLContext.SSL", classOpenSSLContextImpl);
47 put("SSLContext.SSLv3", classOpenSSLContextImpl);
48 put("SSLContext.TLS", classOpenSSLContextImpl);
49 put("SSLContext.TLSv1", classOpenSSLContextImpl);
50 put("SSLContext.TLSv1.1", classOpenSSLContextImpl);
51 put("SSLContext.TLSv1.2", classOpenSSLContextImpl);
52 put("SSLContext.Default", prefix + "DefaultSSLContextImpl");
SSLParametersImpl.java 94 * the functionality provided by SSLContext.init method.
95 * See {@link javax.net.ssl.SSLContext#init(KeyManager[],TrustManager[],
105 // It's not described by the spec of SSLContext what should happen
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
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...]
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...]
  /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(),
  /frameworks/base/docs/html/sdk/api_diff/9/changes/
pkg_javax.net.ssl.html 113 <A NAME="SSLContext"></A>
114 <nobr><A HREF="javax.net.ssl.SSLContext.html">SSLContext</A></nobr>
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
SSLServerSocketFactoryTest.java 55 SSLContext context = DefaultSSLContext.getContext();
SSLSocketFactoryTest.java 55 SSLContext context = DefaultSSLContext.getContext();
  /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();
  /libcore/support/src/test/java/libcore/java/security/
StandardNames.java 205 provide("SSLContext", "SSLv3");
206 provide("SSLContext", "TLSv1");
207 provide("SSLContext", "TLSv1.1");
208 provide("SSLContext", "TLSv1.2");
258 provide("SSLContext", "Default");
262 provide("SSLContext", "SSL");
263 provide("SSLContext", "TLS");
311 unprovide("SSLContext", "TLSv1.1");
312 unprovide("SSLContext", "TLSv1.2");
    [all...]
  /external/chromium_org/net/socket/
ssl_client_socket_openssl.h 94 class SSLContext;
96 friend class SSLContext;
  /external/smack/src/org/jivesoftware/smack/
ConnectionConfiguration.java 28 import javax.net.ssl.SSLContext;
69 private SSLContext customSSLContext;
511 * Gets the custom SSLContext for SSL sockets. This is null by default.
513 * @return the SSLContext previously set with setCustomSSLContext() or null.
515 public SSLContext getCustomSSLContext() {
520 * Sets a custom SSLContext for creating SSL sockets. A custom Context causes all other
523 * @param context the custom SSLContext for new sockets; null to reset default behavior.
525 public void setCustomSSLContext(SSLContext context) {
  /external/apache-harmony/x-net/src/test/java/javax/net/ssl/
MySSLContextSpi.java 29 * Additional class for verification of SSLContextSpi and SSLContext

Completed in 1183 milliseconds

12 3 4