Share via


KeyDerivationAlgorithmProvider.OpenAlgorithm(String) Method

Definition

Creates an instance of the KeyDerivationAlgorithmProvider class and opens the specified algorithm for use.

public:
 static KeyDerivationAlgorithmProvider ^ OpenAlgorithm(Platform::String ^ algorithm);
 static KeyDerivationAlgorithmProvider OpenAlgorithm(winrt::hstring const& algorithm);
public static KeyDerivationAlgorithmProvider OpenAlgorithm(string algorithm);
function openAlgorithm(algorithm)
Public Shared Function OpenAlgorithm (algorithm As String) As KeyDerivationAlgorithmProvider

Parameters

algorithm
String

Platform::String

winrt::hstring

Represents a KDF algorithm provider.

Returns

The algorithm provider.

Remarks

You can retrieve the algorithm name by using the AlgorithmName property. You can specify the name of the algorithm by using the static properties in the KeyDerivationAlgorithmNames class.

Applies to