Interface TlsTrustManagerProvider

All Superinterfaces:
TlsProvider

@NonNullByDefault public interface TlsTrustManagerProvider extends TlsProvider
Provides a trust manager for the given host name Implement this interface to request the framework to use a specific trust manager for the given host NOTE: implementations of this interface should be immutable, to guarantee efficient and correct functionality
Author:
Martin van Wingerden - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    A X509ExtendedTrustManager for the specified host name Note that the implementation might call this method multiple times make sure to return the same instance in that case

    Methods inherited from interface org.openhab.core.io.net.http.TlsProvider

    getHostName
  • Method Details

    • getTrustManager

      X509ExtendedTrustManager getTrustManager()
      A X509ExtendedTrustManager for the specified host name Note that the implementation might call this method multiple times make sure to return the same instance in that case
      Returns:
      this can for example be a trustManager extracted after importing a JKS trust-store