public class DummySSLServerSocketFactory extends SSLServerSocketFactory
greenmail.jks from classpath.
GreenMail provides the keystore resource. For customization, place your greenmail.jks before greenmail JAR in the classpath.| Constructor and Description |
|---|
DummySSLServerSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket() |
ServerSocket |
createServerSocket(int i) |
ServerSocket |
createServerSocket(int i,
int i1) |
ServerSocket |
createServerSocket(int i,
int i1,
InetAddress inetAddress) |
static ServerSocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
KeyStore |
getKeyStore() |
String[] |
getSupportedCipherSuites() |
public static ServerSocketFactory getDefault()
public ServerSocket createServerSocket() throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int i) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int i, int i1) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int i, int i1, InetAddress inetAddress) throws IOException
createServerSocket in class ServerSocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLServerSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLServerSocketFactorypublic KeyStore getKeyStore()
Copyright © 2006-2014 Icegreen Technologies. All Rights Reserved.