KeyDerivationAlgorithmProvider.OpenAlgorithm(String) 方法

定义

创建 KeyDerivationAlgorithmProvider 类的实例,并打开指定的算法以供使用。

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

参数

algorithm
String

Platform::String

winrt::hstring

表示 KDF 算法提供程序。

返回

算法提供程序。

注解

可以使用 AlgorithmName 属性检索算法名称 。 可以使用 KeyDerivationAlgorithmNames 类中的静态属性指定算法的名称。

适用于