Home
last modified time | relevance | path

Searched refs:socketFactory (Results 1 – 2 of 2) sorted by relevance

/libcore/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java155 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main() local
156 for (String suite : socketFactory.getSupportedCipherSuites()) { in main()
159 for (String suite : socketFactory.getDefaultCipherSuites()) { in main()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java201 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetDefaultSSLSocketFactory() local
203 HttpsURLConnection.setDefaultSSLSocketFactory(socketFactory); in testSetDefaultSSLSocketFactory()
206 socketFactory, HttpsURLConnection.getDefaultSSLSocketFactory()); in testSetDefaultSSLSocketFactory()
261 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetSSLSocketFactory() local
262 connection.setSSLSocketFactory(socketFactory); in testSetSSLSocketFactory()
279 assertSame("Result differs from expected", socketFactory, connection.getSSLSocketFactory()); in testSetSSLSocketFactory()