Package play.utils
Class YesSSLSocketFactory
- java.lang.Object
-
- javax.net.SocketFactory
-
- javax.net.ssl.SSLSocketFactory
-
- play.utils.YesSSLSocketFactory
-
public class YesSSLSocketFactory extends javax.net.ssl.SSLSocketFactorySSL Sockets created by this factory won't check if certificates are signed with a root certificate (or chained from root)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classYesSSLSocketFactory.YesTrustManager
-
Constructor Summary
Constructors Constructor Description YesSSLSocketFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.SocketcreateSocket()java.net.SocketcreateSocket(java.lang.String s, int i)java.net.SocketcreateSocket(java.lang.String s, int i, java.net.InetAddress inaddr, int j)java.net.SocketcreateSocket(java.net.InetAddress inaddr, int i)java.net.SocketcreateSocket(java.net.InetAddress inaddr, int i, java.net.InetAddress inaddr1, int j)java.net.SocketcreateSocket(java.net.Socket socket, java.lang.String s, int i, boolean flag)static javax.net.SocketFactorygetDefault()java.lang.String[]getDefaultCipherSuites()java.lang.String[]getSupportedCipherSuites()
-
-
-
Method Detail
-
getDefault
public static javax.net.SocketFactory getDefault()
-
createSocket
public java.net.Socket createSocket(java.net.Socket socket, java.lang.String s, int i, boolean flag) throws java.io.IOException- Specified by:
createSocketin classjavax.net.ssl.SSLSocketFactory- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket() throws java.io.IOException- Overrides:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.net.InetAddress inaddr, int i, java.net.InetAddress inaddr1, int j) throws java.io.IOException- Specified by:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.net.InetAddress inaddr, int i) throws java.io.IOException- Specified by:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.lang.String s, int i, java.net.InetAddress inaddr, int j) throws java.io.IOException- Specified by:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOException
-
createSocket
public java.net.Socket createSocket(java.lang.String s, int i) throws java.io.IOException- Specified by:
createSocketin classjavax.net.SocketFactory- Throws:
java.io.IOException
-
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuitesin classjavax.net.ssl.SSLSocketFactory
-
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuitesin classjavax.net.ssl.SSLSocketFactory
-
-