Share via


AsymmetricKeyAlgorithmProvider.OpenAlgorithm(String) Method

Definition

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

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

Parameters

algorithm
String

Platform::String

winrt::hstring

Algorithm name.

Returns

Represents a public key algorithm provider.

Remarks

Use the static properties in the AsymmetricAlgorithmNames class to specify the name of the algorithm to open.

Applies to