Class AlgorithmRegistry


  • public final class AlgorithmRegistry
    extends java.lang.Object

    Utility class for retrieving the names of all the digest or encryption algorithms available to Jasypt.

    This class is thread-safe.

    Since:
    1.7
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AlgorithmRegistry()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set getAllDigestAlgorithms()
      Returns a set with the names of all the registered digest algorithms.
      static java.util.Set getAllPBEAlgorithms()
      Returns a set with the names of all the registered PBE (Password-Based Encryption) algorithms.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlgorithmRegistry

        private AlgorithmRegistry()
    • Method Detail

      • getAllDigestAlgorithms

        public static java.util.Set getAllDigestAlgorithms()

        Returns a set with the names of all the registered digest algorithms. This set will also include algorithms from any third-party (non-JVM) registered providers.

        Returns:
        a Set of Strings with the names of all the registered digest algorithms.
        Since:
        1.7
      • getAllPBEAlgorithms

        public static java.util.Set getAllPBEAlgorithms()

        Returns a set with the names of all the registered PBE (Password-Based Encryption) algorithms. This set will also include algorithms from any third-party (non-JVM) registered providers.

        Returns:
        a Set of Strings with the names of all the registered PBE algorithms.
        Since:
        1.7