Home
last modified time | relevance | path

Searched refs:sslSocketFactory (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/src/main/java/libcore/net/http/
DHttpConnection.java125 public static HttpConnection connect(URI uri, SSLSocketFactory sslSocketFactory, in connect() argument
132 ? new Address(uri, sslSocketFactory) in connect()
133 : new Address(uri, sslSocketFactory, proxy, requiresTunnel); in connect()
151 Address address = new Address(uri, sslSocketFactory, in connect()
164 return HttpConnectionPool.INSTANCE.get(new Address(uri, sslSocketFactory), connectTimeout); in connect()
195 public SSLSocket setupSecureSocket(SSLSocketFactory sslSocketFactory, in setupSecureSocket() argument
202 sslSocket = (SSLSocket) sslSocketFactory.createSocket(socket, in setupSecureSocket()
301 private final SSLSocketFactory sslSocketFactory; field in HttpConnection.Address
303 public Address(URI uri, SSLSocketFactory sslSocketFactory) throws UnknownHostException { in Address() argument
308 this.sslSocketFactory = sslSocketFactory; in Address()
[all …]
/external/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpsConnection.java171 private SSLSocketFactory sslSocketFactory; field in OkHttpsConnection
182 sslSocketFactory = defaultSSLSocketFactory; in OkHttpsConnection()
288 sslSocketFactory = sf; in setSSLSocketFactory()
297 return sslSocketFactory; in getSSLSocketFactory()
/external/nist-sip/java/gov/nist/core/net/
DDefaultNetworkLayer.java53 private SSLSocketFactory sslSocketFactory; field in DefaultNetworkLayer
66 sslSocketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); in DefaultNetworkLayer()
107 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket()
113 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
DSslNetworkLayer.java60 private SSLSocketFactory sslSocketFactory; field in SslNetworkLayer
85 sslSocketFactory = sslContext.getSocketFactory(); in SslNetworkLayer()
117 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket()
123 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java79 private SSLSocketFactory sslSocketFactory; field in MockWebServer
110 return sslSocketFactory != null in getUrl()
139 public void useHttps(SSLSocketFactory sslSocketFactory, boolean tunnelProxy) { in useHttps() argument
140 this.sslSocketFactory = sslSocketFactory; in useHttps()
273 if (sslSocketFactory != null) { in serveConnection()
282 socket = sslSocketFactory.createSocket( in serveConnection()
368 SSLSocketFactory sslSocketFactory = context.getSocketFactory(); in processHandshakeFailure() local
369 SSLSocket socket = (SSLSocket) sslSocketFactory.createSocket( in processHandshakeFailure()