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 Detail

      • 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