Interface SslTrustConfig

  • All Known Implementing Classes:
    PemTrustConfig

    public interface SslTrustConfig
    An interface for building a trust manager at runtime. The method for constructing the trust manager is implementation dependent.
    • Method Summary

      Modifier and Type Method Description
      javax.net.ssl.X509ExtendedTrustManager createTrustManager()  
      java.util.Collection<java.nio.file.Path> getDependentFiles()  
    • Method Detail

      • getDependentFiles

        java.util.Collection<java.nio.file.Path> getDependentFiles()
        Returns:
        A collection of files that are read by this config object. The createTrustManager() method will read these files dynamically, so the behaviour of this trust config may change if any of these files are modified.
      • createTrustManager

        javax.net.ssl.X509ExtendedTrustManager createTrustManager()
        Returns:
        A new X509ExtendedTrustManager.
        Throws:
        SslConfigException - if there is a problem configuring the trust manager.