Package org.mozilla.jss.ssl.javax
Class JSSSocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.mozilla.jss.ssl.javax.JSSSocketFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SSLContextprivate JSSKeyManagerprivate X509TrustManager[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(String host, int port) createSocket(String host, int port, InetAddress localAddress, int localPort) createSocket(InetAddress host, int port) createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) createSocket(Socket s, InputStream consumed, boolean autoClose) createSocket(Socket s, String host, int port, boolean autoClose) String[]String[]Methods inherited from class javax.net.ssl.SSLSocketFactory
getDefault
-
Field Details
-
ctx
-
key_manager
-
trust_managers
-
-
Constructor Details
-
JSSSocketFactory
-
-
Method Details
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuitesin classSSLSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuitesin classSSLSocketFactory
-
createSocket
- Overrides:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public JSSSocket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public JSSSocket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public JSSSocket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException - Specified by:
createSocketin classSSLSocketFactory- Throws:
IOException
-
createSocket
- Overrides:
createSocketin classSSLSocketFactory- Throws:
IOException
-