Class AlgorithmResolver


  • public class AlgorithmResolver
    extends Object
    • Constructor Detail

      • AlgorithmResolver

        public AlgorithmResolver()
    • Method Detail

      • get

        public Algorithm get​(String algorithmName)
        Returns the implementation for an algorithm name.
        Parameters:
        algorithmName - The algorithm name.
        Returns:
        The implementation for the algorithm or null.
      • put

        public void put​(String algorithmName,
                        Algorithm provider)
        Add/Update a named algorithm implementation.
        Parameters:
        algorithmName - The algorithm name.
        provider - The implementation of the algorithm.
      • remove

        public void remove​(String algorithmName)
        Remove a named algorithm implementation.
        Parameters:
        algorithmName - The algorithm name