Interface SslConfigurationBuilder

  • All Superinterfaces:
    io.github.henryssondaniel.teacup.protocol.Builder<SslConfiguration>

    public interface SslConfigurationBuilder
    extends io.github.henryssondaniel.teacup.protocol.Builder<SslConfiguration>
    SSL configuration builder.
    Since:
    1.0
    • Method Detail

      • setClientAuthentication

        SslConfigurationBuilder setClientAuthentication​(java.lang.String clientAuthentication)
        Sets the client authentication.
        Parameters:
        clientAuthentication - the client authentication
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setEnabledCipherSuites

        SslConfigurationBuilder setEnabledCipherSuites​(java.lang.String... enabledCipherSuites)
        Sets the enabled cipher suites.
        Parameters:
        enabledCipherSuites - the enabled cipher suites
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setKeyAlias

        SslConfigurationBuilder setKeyAlias​(java.lang.String keyAlias)
        Sets the key alias.
        Parameters:
        keyAlias - the key alias
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setKeyPassword

        SslConfigurationBuilder setKeyPassword​(java.lang.String keyPassword)
        Sets the key password.
        Parameters:
        keyPassword - the key password
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setKeystoreAlgorithm

        SslConfigurationBuilder setKeystoreAlgorithm​(java.lang.String keystoreAlgorithm)
        Sets the keystore algorithm.
        Parameters:
        keystoreAlgorithm - the keystore algorithm
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setKeystoreFile

        SslConfigurationBuilder setKeystoreFile​(java.io.File keystoreFile)
        Sets the keystore file.
        Parameters:
        keystoreFile - the keystore file
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setKeystorePassword

        SslConfigurationBuilder setKeystorePassword​(java.lang.String keystorePassword)
        Sets the keystore password.
        Parameters:
        keystorePassword - the keystore password
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setKeystoreType

        SslConfigurationBuilder setKeystoreType​(java.lang.String keystoreType)
        Sets the keystore type.
        Parameters:
        keystoreType - the keystore type
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setSslProtocol

        SslConfigurationBuilder setSslProtocol​(java.lang.String sslProtocol)
        Sets the SSL protocol.
        Parameters:
        sslProtocol - the SSL protocol
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setTruststoreAlgorithm

        SslConfigurationBuilder setTruststoreAlgorithm​(java.lang.String truststoreAlgorithm)
        Sets the truststore algorithm.
        Parameters:
        truststoreAlgorithm - the truststore algorithm
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setTruststoreFile

        SslConfigurationBuilder setTruststoreFile​(java.io.File truststoreFile)
        Sets the truststore file.
        Parameters:
        truststoreFile - the truststore file
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setTruststorePassword

        SslConfigurationBuilder setTruststorePassword​(java.lang.String truststorePassword)
        Sets the truststore password.
        Parameters:
        truststorePassword - the truststore password
        Returns:
        the SSL configuration builder
        Since:
        1.0
      • setTruststoreType

        SslConfigurationBuilder setTruststoreType​(java.lang.String truststoreType)
        Sets the truststore type.
        Parameters:
        truststoreType - the truststore type
        Returns:
        the SSL configuration builder
        Since:
        1.0