Class PemKeyConfig

    • Constructor Summary

      Constructors 
      Constructor Description
      PemKeyConfig​(java.nio.file.Path certificate, java.nio.file.Path key, char[] keyPassword)  
    • Method Summary

      Modifier and Type Method Description
      javax.net.ssl.X509ExtendedKeyManager createKeyManager()  
      boolean equals​(java.lang.Object o)  
      java.util.Collection<java.nio.file.Path> getDependentFiles()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PemKeyConfig

        public PemKeyConfig​(java.nio.file.Path certificate,
                            java.nio.file.Path key,
                            char[] keyPassword)
    • Method Detail

      • getDependentFiles

        public java.util.Collection<java.nio.file.Path> getDependentFiles()
        Specified by:
        getDependentFiles in interface SslKeyConfig
        Returns:
        A collection of files that are read by this config object. The SslKeyConfig.createKeyManager() method will read these files dynamically, so the behaviour of this key config may change whenever any of these files are modified.
      • createKeyManager

        public javax.net.ssl.X509ExtendedKeyManager createKeyManager()
        Specified by:
        createKeyManager in interface SslKeyConfig
        Returns:
        A new X509ExtendedKeyManager.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object