Class HC4TrustAllSSLSocketFactory
SSLSocketFactory
org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory
- Direct Known Subclasses:
SlowHC4SSLSocketFactory
public class HC4TrustAllSSLSocketFactory
extends SSLSocketFactory
Apache HttpClient protocol factory to generate SSL sockets
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate an SSL factory which trusts all certificates and hosts.protectedCreate an SSL factory which trusts all certificates and hosts. -
Method Summary
Modifier and TypeMethodDescriptioncreateLayeredSocket(Socket socket, String host, int port, boolean autoClose) createSocket(HttpParams params)
-
Constructor Details
-
HC4TrustAllSSLSocketFactory
Create an SSL factory which trusts all certificates and hosts.invalid reference
SSLSocketFactory#SSLSocketFactory(TrustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier)- Throws:
GeneralSecurityException- if there's a problem setting up the security
-
HC4TrustAllSSLSocketFactory
Create an SSL factory which trusts all certificates and hosts.invalid reference
SSLSocketFactory#SSLSocketFactory(TrustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier)- Parameters:
factory- javax.net.ssl.SSLSocketFactory- Throws:
GeneralSecurityException- if there's a problem setting up the security
-
-
Method Details
-
createSocket
- Throws:
IOException
-
createSocket
- Throws:
IOException
-
createLayeredSocket
public Socket createLayeredSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException - Throws:
IOExceptionUnknownHostException
-