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.Modifier and Type | Field and Description |
---|---|
static String |
GREENMAIL_JKS |
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 final String GREENMAIL_JKS
public static ServerSocketFactory getDefault()
public ServerSocket createServerSocket() throws IOException
createServerSocket
in class ServerSocketFactory
IOException
public ServerSocket createServerSocket(int i) throws IOException
createServerSocket
in class ServerSocketFactory
IOException
public ServerSocket createServerSocket(int i, int i1) throws IOException
createServerSocket
in class ServerSocketFactory
IOException
public ServerSocket createServerSocket(int i, int i1, InetAddress inetAddress) throws IOException
createServerSocket
in class ServerSocketFactory
IOException
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLServerSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLServerSocketFactory
public KeyStore getKeyStore()
Copyright © 2006–2017 Icegreen Technologies. All rights reserved.