Public Member Functions | |
AuthenticatedSocketFactory (SSLSocketFactory factory) | |
Socket | createSocket (String host, int port) throws IOException, UnknownHostException |
Socket | createSocket (InetAddress host, int port) throws IOException |
Socket | createSocket (String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException |
Socket | createSocket (InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException |
Socket | createSocket (Socket s, String host, int port, boolean autoClose) throws IOException |
String[] | getDefaultCipherSuites () |
String[] | getSupportedCipherSuites () |
It is a wrapper around the socket factory in the constructor and sets the setNeedClientAuth to true to enforce client authentication with the public key
Definition at line 46 of file AuthenticatedSocketFactory.java.
|
Creates a new
Definition at line 58 of file AuthenticatedSocketFactory.java. 00059 {
00060 this.factory = factory;
00061 }
|
|
Definition at line 114 of file AuthenticatedSocketFactory.java. 00116 { 00117 SSLSocket socket = (SSLSocket) factory.createSocket(s, host, port, 00118 autoClose); 00119 socket.setNeedClientAuth(true); 00120 return socket; 00121 }
|
|
Definition at line 101 of file AuthenticatedSocketFactory.java. 00103 { 00104 SSLSocket socket = (SSLSocket) factory.createSocket(address, port, 00105 localAddress, localPort); 00106 socket.setNeedClientAuth(true); 00107 return socket; 00108 }
|
|
Definition at line 88 of file AuthenticatedSocketFactory.java. 00090 { 00091 SSLSocket socket = (SSLSocket) factory.createSocket(host, port, 00092 localAddress, localPort); 00093 socket.setNeedClientAuth(true); 00094 return socket; 00095 }
|
|
Definition at line 77 of file AuthenticatedSocketFactory.java. 00078 { 00079 SSLSocket socket = (SSLSocket) factory.createSocket(host, port); 00080 socket.setNeedClientAuth(true); 00081 return socket; 00082 }
|
|
Definition at line 66 of file AuthenticatedSocketFactory.java. 00068 { 00069 SSLSocket socket = (SSLSocket) factory.createSocket(host, port); 00070 socket.setNeedClientAuth(true); 00071 return socket; 00072 }
|
|
Definition at line 126 of file AuthenticatedSocketFactory.java. 00127 {
00128 return factory.getDefaultCipherSuites();
00129 }
|
|
Definition at line 134 of file AuthenticatedSocketFactory.java. 00135 {
00136 return factory.getDefaultCipherSuites();
00137 }
|