Class AlgorithmResolver
- java.lang.Object
-
- com.microsoft.azure.keyvault.cryptography.AlgorithmResolver
-
public class AlgorithmResolver extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static AlgorithmResolver
Default
-
Constructor Summary
Constructors Constructor Description AlgorithmResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Algorithm
get(String algorithmName)
Returns the implementation for an algorithm name.void
put(String algorithmName, Algorithm provider)
Add/Update a named algorithm implementation.void
remove(String algorithmName)
Remove a named algorithm implementation.
-
-
-
Field Detail
-
Default
public static final AlgorithmResolver Default
-
-
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
-
-