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 類別中的靜態屬性來指定演算法的名稱。

適用於