Class FilterEncrytionAlgorithms

java.lang.Object
com.trilead.ssh2.jenkins.FilterEncrytionAlgorithms

public class FilterEncrytionAlgorithms extends Object
Filter encryption algorithms. The reason for this filter is that some algorithms have security issues. The filter can be disabled by setting the system property com.trilead.ssh2.jenkins.FilterEncrytionAlgorithms.enabled to false. The list of algorithms to filter can be set by setting the system property com.trilead.ssh2.jenkins.FilterEncrytionAlgorithms.algorithms (e.g. type01,type02,type03).
  • Constructor Details

    • FilterEncrytionAlgorithms

      public FilterEncrytionAlgorithms()
  • Method Details

    • filter

      public static String[] filter(String[] algorithms)
      Filter algorithms.
      Parameters:
      algorithms - The algorithms to filter.
      Returns:
      The filtered algorithms.