Home | History | Annotate | Download | only in transport

Lines Matching refs:ssl

39 import javax.net.ssl.HostnameVerifier;
40 import javax.net.ssl.HttpsURLConnection;
41 import javax.net.ssl.SSLException;
42 import javax.net.ssl.SSLPeerUnverifiedException;
43 import javax.net.ssl.SSLSession;
44 import javax.net.ssl.SSLSocket;
71 * Whether or not to trust all server certificates (i.e. skip host verification) in SSL
158 * an SSL connection if indicated.
175 // After the socket connects to an SSL server, confirm that the hostname is as expected
238 * @param socket An SSL socket which has been connected to a server
246 SSLSocket ssl = (SSLSocket) socket;
247 ssl.startHandshake();
249 SSLSession session = ssl.getSession();
251 throw new SSLException("Cannot verify SSL socket without session");