HomeSort by relevance Sort by last modified time
    Searched refs:SSLContext (Results 76 - 100 of 134) sorted by null

1 2 34 5 6

  /cts/libs/testserver/src/android/webkit/cts/
TestWebServer.java 53 import javax.net.ssl.SSLContext;
332 SSLContext context = SSLContext.getInstance("TLS");
494 private SSLContext mSslContext;
556 mSslContext = SSLContext.getInstance("TLS");
CtsTestServer.java 84 import javax.net.ssl.SSLContext;
    [all...]
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
ConscryptEngineTest.java 40 import javax.net.ssl.SSLContext;
417 SSLContext serverContext = newContext(provider, keyStore);
527 private static SSLContext newContext(Provider provider, TestKeyStore keyStore) {
529 SSLContext ctx = SSLContext.getInstance(getProtocols()[0], provider);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLSessionTest.java 34 import javax.net.ssl.SSLContext;
463 SSLContext clientSslContext = null;
504 SSLContext sslContext = SSLContext.getInstance("TLS");
505 sslContext.init(keyManagers, trustManagers, null);
507 serverSocket = (SSLServerSocket)sslContext.getServerSocketFactory().createServerSocket();
587 clientSslContext = SSLContext.getInstance("TLS");
SSLEngineTest.java 31 import javax.net.ssl.SSLContext;
    [all...]
  /external/python/cpython3/Lib/
ssl.py 371 """SSLContext purpose flags with X509v3 Extended Key Usage objects
377 class SSLContext(_SSLContext):
378 """An SSLContext holds various SSL-related configuration options and
459 super(SSLContext, SSLContext).options.__set__(self, value)
467 super(SSLContext, SSLContext).verify_flags.__set__(self, value)
479 super(SSLContext, SSLContext).verify_mode.__set__(self, value)
484 """Create a SSLContext object with default settings
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
SSLConscryptPlainTextExposureTest.java 52 import javax.net.ssl.SSLContext;
96 public SSLContext sslc;
165 SSLContext sslCtx = null;
167 sslCtx = SSLContext.getInstance("TLSv1.2");
489 public SSLContext serverContext;
562 SSLContext sslCtx = null;
564 sslCtx = SSLContext.getInstance("TLSv1.2");
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java 38 import javax.net.ssl.SSLContext;
631 SSLContext sslContext = SSLContext.getInstance("TLS");
632 sslContext.init(null, null, null);
633 defaultSslSocketFactory = sslContext.getSocketFactory();
  /external/conscrypt/common/src/main/java/org/conscrypt/
ClientSessionContext.java 21 import javax.net.ssl.SSLContext;
46 * Conscrypt#setClientSessionCache(SSLContext, SSLClientSessionCache)}.
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
CacheAdapterTest.java 40 import javax.net.ssl.SSLContext;
61 private SSLContext sslContext = SslContextBuilder.localhost();
117 client.setSslSocketFactory(sslContext.getSocketFactory());
232 client.setSslSocketFactory(sslContext.getSocketFactory());
259 server.useHttps(sslContext.getSocketFactory(), false /* tunnelProxy */);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
ConnectionReuseTest.java 25 import javax.net.ssl.SSLContext;
37 private SSLContext sslContext = SslContextBuilder.localhost();
228 client.setSslSocketFactory(sslContext.getSocketFactory());
231 server.useHttps(sslContext.getSocketFactory(), false);
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
SSLSocketTest.java 101 import javax.net.ssl.SSLContext;
419 SSLContext serverContext = c.serverContext;
420 SSLContext clientContext = c.clientContext;
451 SSLContext serverContext = c.serverContext;
452 SSLContext clientContext = c.clientContext;
584 .clientContext(SSLContext.getDefault())
585 .serverContext(SSLContext.getDefault())
619 .clientContext(SSLContext.getDefault())
620 .serverContext(SSLContext.getDefault())
652 SSLContext clientContext = c.clientContext
    [all...]
SSLEngineTest.java 40 import javax.net.ssl.SSLContext;
89 final SSLEngine sslEngine = SSLContext.getDefault().createSSLEngine();
232 // corresponding to the server's certificate. This is achieved by using SSLContext
513 .clientContext(SSLContext.getDefault())
514 .serverContext(SSLContext.getDefault())
    [all...]
  /external/python/cpython2/Lib/
ssl.py 332 """SSLContext purpose flags with X509v3 Extended Key Usage objects
339 class SSLContext(_SSLContext):
340 """An SSLContext holds various SSL-related configuration options and
412 """Create a SSLContext object with default settings.
421 context = SSLContext(PROTOCOL_TLS)
462 """Create a SSLContext object for Python stdlib modules
464 All Python stdlib modules shall use this function to create SSLContext
472 context = SSLContext(protocol)
549 self._context = SSLContext(ssl_version)
    [all...]
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockWebServer.java 53 import javax.net.ssl.SSLContext;
407 SSLContext context = SSLContext.getInstance("TLS");
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
PasspointProvisionerTest.java 52 import javax.net.ssl.SSLContext;
85 @Mock SSLContext mTlsContext;
  /external/python/cpython3/Lib/test/
test_imaplib.py 82 context = ssl.SSLContext()
484 ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
497 ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
    [all...]
test_poplib.py 155 context = ssl.SSLContext()
353 ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
393 ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
HttpOverSpdyTest.java 47 import javax.net.ssl.SSLContext;
74 protected SSLContext sslContext = SslContextBuilder.localhost();
85 server.useHttps(sslContext.getSocketFactory(), false);
87 client.client().setSslSocketFactory(sslContext.getSocketFactory());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java 37 import javax.net.ssl.SSLContext;
66 private final SSLContext sslContext = SslContextBuilder.localhost();
67 private final SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();
  /external/python/cpython3/Lib/asyncio/
test_utils.py 48 return ssl.SSLContext(ssl.PROTOCOL_SSLv23)
122 context = ssl.SSLContext()
  /frameworks/base/config/
dirty-image-objects 36 javax.net.ssl.SSLContext
  /external/python/cpython2/Lib/test/
test_httplib.py     [all...]
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
MockWebServer.java 68 import javax.net.ssl.SSLContext;
570 SSLContext context = SSLContext.getInstance("TLS");
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyPairGeneratorTest.java 67 import javax.net.ssl.SSLContext;
    [all...]

Completed in 856 milliseconds

1 2 34 5 6