AlgorithmResolver Class
- java.
lang. Object - com.
microsoft. azure. keyvault. cryptography. AlgorithmResolver
- com.
public class AlgorithmResolver
Field Summary
Modifier and Type | Field and Description |
---|---|
final Algorithm |
Default |
Method Summary
Modifier and Type | Method and 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 Details
Default
public static final AlgorithmResolver Default= new AlgorithmResolver()
Method Details
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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java