Searched refs:sslSocket (Results 1 – 2 of 2) sorted by relevance
696 SSLSocket sslSocket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in setupSSLSocket() local697 sslSocket.setSoTimeout(TCP_TIMEOUT_MS); in setupSSLSocket()703 SSLParameters params = sslSocket.getSSLParameters(); in setupSSLSocket()705 sslSocket.setSSLParameters(params); in setupSSLSocket()708 mNetwork.bindSocket(sslSocket); in setupSSLSocket()709 return sslSocket; in setupSSLSocket()712 private void sendDoTProbe(@Nullable SSLSocket sslSocket) throws IOException { in sendDoTProbe() argument717 sslSocket.connect(new InetSocketAddress(mTarget, DNS_TLS_PORT), TCP_CONNECT_TIMEOUT_MS); in sendDoTProbe()720 sslSocket.startHandshake(); in sendDoTProbe()721 appendDnsToMeasurementDescription(sixRandomDigits, sslSocket.getLocalSocketAddress()); in sendDoTProbe()[all …]
83 SSLSocket sslSocket = (SSLSocket) socket; in checkServerTrusted() local84 SSLSession session = sslSocket.getHandshakeSession(); in checkServerTrusted()