Interface SslKeyConfig

  • All Known Implementing Classes:
    PemKeyConfig, StoreKeyConfig

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

      Modifier and Type Method Description
      javax.net.ssl.X509ExtendedKeyManager createKeyManager()  
      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 createKeyManager() method will read these files dynamically, so the behaviour of this key config may change whenever any of these files are modified.
      • createKeyManager

        javax.net.ssl.X509ExtendedKeyManager createKeyManager()
        Returns:
        A new X509ExtendedKeyManager.
        Throws:
        SslConfigException - if there is a problem configuring the key manager.