SymmetricKeyAlgorithmProvider.OpenAlgorithm(String) Method

Definition

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

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

Parameters

algorithm
String

Platform::String

winrt::hstring

Algorithm name.

Returns

Represents a symmetric key algorithm provider.

Remarks

The following algorithm names are supported for use in this method:

Applies to