Class SslConfiguration

    • Method Detail

      • clearSecrets

        public void clearSecrets()
        Clears the secret fields in this object but still allow it to operate normally.
      • getSslSocketFactory

        public javax.net.ssl.SSLSocketFactory getSslSocketFactory()
      • getSslServerSocketFactory

        public javax.net.ssl.SSLServerSocketFactory getSslServerSocketFactory()
      • createSSLConfiguration

        @PluginFactory
        public static SslConfiguration createSSLConfiguration​(@PluginAttribute("protocol")
                                                              java.lang.String protocol,
                                                              @PluginElement("KeyStore")
                                                              KeyStoreConfiguration keyStoreConfig,
                                                              @PluginElement("TrustStore")
                                                              TrustStoreConfiguration trustStoreConfig)
        Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
        Parameters:
        protocol - The protocol, see http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#SSLContext
        keyStoreConfig - The KeyStoreConfiguration.
        trustStoreConfig - The TrustStoreConfiguration.
        Returns:
        a new SslConfiguration
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getSslContext

        public javax.net.ssl.SSLContext getSslContext()
      • getProtocol

        public java.lang.String getProtocol()