KeyDerivationParameters 類別

定義

表示衍生金鑰時所使用的參數。

public ref class KeyDerivationParameters sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KeyDerivationParameters final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class KeyDerivationParameters
Public NotInheritable Class KeyDerivationParameters
繼承
Object Platform::Object IInspectable KeyDerivationParameters
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

您不需要建立 類別的實例,即可使用 方法。 請改用類別名稱,後面接著點運算子 (.) ,後面接著方法名稱。

屬性

Capi1KdfTargetAlgorithm

取得或設定 Capi1KdfTargetAlgorithm

IterationCount

擷取用來衍生金鑰的反復專案數目。 如需詳細資訊,請參閱 BuildForPbkdf2

KdfGenericBinary

取得或設定金鑰衍生演算法所使用的參數。

方法

BuildForCapi1Kdf(Capi1KdfTargetAlgorithm)

建立 KeyDerivationParameters 物件,以用於目標演算法。

BuildForPbkdf2(IBuffer, UInt32)

建立 KeyDerivationParameters 物件,以用於密碼型金鑰衍生函式 2 (PBKDF2) 。

BuildForSP800108(IBuffer, IBuffer)

建立 KeyDerivationParameters 物件,以用於計數器模式、雜湊型訊息驗證程式代碼 (HMAC) 金鑰衍生函式。

BuildForSP80056a(IBuffer, IBuffer, IBuffer, IBuffer, IBuffer)

建立 KeyDerivationParameters 物件,以用於 SP800-56A 金鑰衍生函式。

適用於

另請參閱