|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.net.SocketFactory javax.net.ssl.SSLSocketFactory org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory
public class TrustAllSSLSocketFactory
This class can be used as a SocketFactory with SSL-connections. Its purpose is to ensure that all certificates - no matter from which CA - are accepted to secure the SSL-connection.
Constructor Summary | |
---|---|
TrustAllSSLSocketFactory()
Standard constructor |
Method Summary | |
---|---|
Socket |
createSocket()
|
Socket |
createSocket(InetAddress inaddr,
int i)
|
Socket |
createSocket(InetAddress inaddr,
int i,
InetAddress inaddr1,
int j)
|
Socket |
createSocket(Socket socket,
String s,
int i,
boolean flag)
|
Socket |
createSocket(String s,
int i)
|
Socket |
createSocket(String s,
int i,
InetAddress inaddr,
int j)
|
static SocketFactory |
getDefault()
Factory method |
String[] |
getDefaultCipherSuites()
|
String[] |
getSupportedCipherSuites()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrustAllSSLSocketFactory()
Method Detail |
---|
public static SocketFactory getDefault()
public Socket createSocket(Socket socket, String s, int i, boolean flag) throws IOException
createSocket
in class SSLSocketFactory
IOException
public Socket createSocket(InetAddress inaddr, int i, InetAddress inaddr1, int j) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress inaddr, int i) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String s, int i, InetAddress inaddr, int j) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String s, int i) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |