org.apache.jmeter.protocol.smtp.sampler.protocol

## Class TrustAllSSLSocketFactory

- java.lang.Object
- - javax.net.SocketFactory
  - - javax.net.ssl.SSLSocketFactory
    - - org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory

- Deprecated.
  Will be removed in next version, use `TrustAllSSLSocketFactory`

      @Deprecated
      public class TrustAllSSLSocketFactory
      extends javax.net.ssl.SSLSocketFactory

  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

    Constructors
    Constructor and Description
    `TrustAllSSLSocketFactory()` Deprecated. Standard constructor

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.net.Socket` | `createSocket()` Deprecated.
    `java.net.Socket` | `createSocket(java.net.InetAddress inaddr, int i)` Deprecated.
    `java.net.Socket` | `createSocket(java.net.InetAddress inaddr, int i, java.net.InetAddress inaddr1, int j)` Deprecated.
    `java.net.Socket` | `createSocket(java.net.Socket socket, java.lang.String s, int i, boolean flag)` Deprecated.
    `java.net.Socket` | `createSocket(java.lang.String s, int i)` Deprecated.
    `java.net.Socket` | `createSocket(java.lang.String s, int i, java.net.InetAddress inaddr, int j)` Deprecated.
    `static javax.net.SocketFactory` | `getDefault()` Deprecated. Factory method
    `java.lang.String[]` | `getDefaultCipherSuites()` Deprecated.
    `java.lang.String[]` | `getSupportedCipherSuites()` Deprecated.

    - ### Methods inherited from class javax.net.ssl.SSLSocketFactory

      `createSocket`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TrustAllSSLSocketFactory

          public TrustAllSSLSocketFactory()

      Deprecated.
      Standard constructor

  - ### Method Detail

    - #### getDefault

          public static javax.net.SocketFactory getDefault()

      Deprecated.
      Factory method
      Returns:
        New TrustAllSSLSocketFactory

    - #### createSocket

          public java.net.Socket createSocket(java.net.Socket socket,
                                              java.lang.String s,
                                              int i,
                                              boolean flag)
                                       throws java.io.IOException

      Deprecated.
      Specified by:
        `createSocket` in class `javax.net.ssl.SSLSocketFactory`
      Throws:
        `java.io.IOException`

    - #### createSocket

          public java.net.Socket createSocket(java.net.InetAddress inaddr,
                                              int i,
                                              java.net.InetAddress inaddr1,
                                              int j)
                                       throws java.io.IOException

      Deprecated.
      Specified by:
        `createSocket` in class `javax.net.SocketFactory`
      Throws:
        `java.io.IOException`

    - #### createSocket

          public java.net.Socket createSocket(java.net.InetAddress inaddr,
                                              int i)
                                       throws java.io.IOException

      Deprecated.
      Specified by:
        `createSocket` in class `javax.net.SocketFactory`
      Throws:
        `java.io.IOException`

    - #### createSocket

          public java.net.Socket createSocket(java.lang.String s,
                                              int i,
                                              java.net.InetAddress inaddr,
                                              int j)
                                       throws java.io.IOException

      Deprecated.
      Specified by:
        `createSocket` in class `javax.net.SocketFactory`
      Throws:
        `java.io.IOException`

    - #### createSocket

          public java.net.Socket createSocket(java.lang.String s,
                                              int i)
                                       throws java.io.IOException

      Deprecated.
      Specified by:
        `createSocket` in class `javax.net.SocketFactory`
      Throws:
        `java.io.IOException`

    - #### createSocket

          public java.net.Socket createSocket()
                                       throws java.io.IOException

      Deprecated.
      Overrides:
        `createSocket` in class `javax.net.SocketFactory`
      Throws:
        `java.io.IOException`

    - #### getDefaultCipherSuites

          public java.lang.String[] getDefaultCipherSuites()

      Deprecated.
      Specified by:
        `getDefaultCipherSuites` in class `javax.net.ssl.SSLSocketFactory`

    - #### getSupportedCipherSuites

          public java.lang.String[] getSupportedCipherSuites()

      Deprecated.
      Specified by:
        `getSupportedCipherSuites` in class `javax.net.ssl.SSLSocketFactory`

Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.