Interface SSLTrustManager

  • All Known Implementing Classes:
    SSLBlindTrustManager, SSLStrictTrustManager

    public interface SSLTrustManager
    Interface to provide a user-defined trust manager to the configuration.

    When OpenKit connects to a server with self-signed SSL/TLS certificates then an implementation of this interface is required to verify the certificate.

    • Method Detail

      • getX509TrustManager

        javax.net.ssl.X509TrustManager getX509TrustManager()
        Get the X509TrustManager for SSL/TLS certificate authentication.
      • getHostnameVerifier

        javax.net.ssl.HostnameVerifier getHostnameVerifier()
        Get the HostnameVerifier which checks if a hostname is allowed.