public class SSLServerSocketFactory extends Object implements RMIServerSocketFactory, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected boolean |
clientAuth |
protected String |
keystore |
protected String |
ksPass |
protected String |
ksType |
static String |
module |
Constructor and Description |
---|
SSLServerSocketFactory() |
Modifier and Type | Method and Description |
---|---|
ServerSocket |
createServerSocket(int port) |
void |
setKeyStore(String location,
String type,
String password) |
void |
setKeyStoreAlias(String alias) |
void |
setNeedClientAuth(boolean clientAuth) |
public static final String module
protected boolean clientAuth
protected String keystore
protected String ksType
protected String ksPass
protected String alias
public void setNeedClientAuth(boolean clientAuth)
public void setKeyStoreAlias(String alias)
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in interface RMIServerSocketFactory
IOException