Class AlgorithmFactory<A extends Algorithm>

java.lang.Object
org.jose4j.jwa.AlgorithmFactory<A>

public class AlgorithmFactory<A extends Algorithm> extends Object
  • Constructor Details

    • AlgorithmFactory

      public AlgorithmFactory(String parameterName, Class<A> type)
  • Method Details

    • getAlgorithm

      public A getAlgorithm(String algorithmIdentifier) throws InvalidAlgorithmException
      Throws:
      InvalidAlgorithmException
    • isAvailable

      public boolean isAvailable(String algorithmIdentifier)
    • getSupportedAlgorithms

      public Set<String> getSupportedAlgorithms()
    • registerAlgorithm

      public void registerAlgorithm(A algorithm)
    • unregisterAlgorithm

      public void unregisterAlgorithm(String algorithmIdentifier)