Home
last modified time | relevance | path

Searched refs:sslContext (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/http/
DHttpsConnection.java82 OpenSSLContextImpl sslContext = new OpenSSLContextImpl(); in initializeEngine() local
101 sslContext.engineInit(null, trustManagers, null); in initializeEngine()
102 sslContext.engineGetClientSessionContext().setPersistentCache(cache); in initializeEngine()
105 mSslSocketFactory = sslContext.engineGetSocketFactory(); in initializeEngine()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java211 OpenSSLContextImpl sslContext = new OpenSSLContextImpl(); in makeSocketFactory() local
212 sslContext.engineInit(keyManagers, trustManagers, null); in makeSocketFactory()
213 sslContext.engineGetClientSessionContext().setPersistentCache(mSessionCache); in makeSocketFactory()
214 return sslContext.engineGetSocketFactory(); in makeSocketFactory()
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java653 SSLContext sslContext = SSLContext.getInstance("TLS"); in run() local
654 sslContext.init(keyManagers, trustManagers, null); in run()
657 = (SSLServerSocket) sslContext.getServerSocketFactory() in run()
729 SSLContext sslContext = SSLContext.getInstance("TLS"); in run() local
730 sslContext.init(keyManagers, trustManagers, null); in run()
732 SSLSocket socket = (SSLSocket) sslContext.getSocketFactory() in run()