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 SSLContext
private JSSKeyManager
private 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:
getDefaultCipherSuites
in classSSLSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuites
in classSSLSocketFactory
-
createSocket
- Overrides:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
public JSSSocket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
public JSSSocket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
public JSSSocket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException - Specified by:
createSocket
in classSSLSocketFactory
- Throws:
IOException
-
createSocket
- Overrides:
createSocket
in classSSLSocketFactory
- Throws:
IOException
-