AlgorithmResolver Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.cryptography.AlgorithmResolver

public class AlgorithmResolver

Field Summary

Modifier and Type Field and Description
final AlgorithmResolver 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