Class MinimumKeySizeSettings.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • tls

        public MinimumKeySizeSettings.Builder tls​(List<KeySizeAlgorithm> tls)
        Updates the minimum key size for the specified encryption algorithm.

        The JDK property jdk.tls.disabledAlgorithms will be updated with the following supported actions: - Changing minimum key length for Diffie-Hellman

        Parameters:
        tls - the value to set
        Returns:
        this builder
      • jar

        public MinimumKeySizeSettings.Builder jar​(List<KeySizeAlgorithm> jar)
        Updates the minimum key size for the specified encryption algorithm.

        The JDK property jdk.jar.disabledAlgorithms will be updated with the following supported actions: - Changing minimum key length for RSA signed jars - Changing minimum key length for EC - Changing minimum key length for DSA

        Parameters:
        jar - the value to set
        Returns:
        this builder
      • certpath

        public MinimumKeySizeSettings.Builder certpath​(List<KeySizeAlgorithm> certpath)
        Updates the minimum key size for the specified encryption algorithm.

        The JDK property jdk.certpath.disabledAlgorithms will be updated with the following supported actions: - Changing minimum key length for RSA signed jars - Changing minimum key length for EC - Changing minimum key length for DSA

        Parameters:
        certpath - the value to set
        Returns:
        this builder