AsymmetricKeyAlgorithmProvider.OpenAlgorithm(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.