KeyDerivationParameters Class

Definition

Represents parameters used when deriving a key.

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
Inheritance
Object Platform::Object IInspectable KeyDerivationParameters
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

You do not have to create an instance of the class to use the methods. Instead, use the class name followed by the dot operator (.), followed by the method name.

Properties

Capi1KdfTargetAlgorithm

Gets or sets the Capi1KdfTargetAlgorithm.

IterationCount

Retrieves the number of iterations used to derive the key. For more information, see BuildForPbkdf2.

KdfGenericBinary

Gets or sets the parameters used by the key derivation algorithm.

Methods

BuildForCapi1Kdf(Capi1KdfTargetAlgorithm)

Creates a KeyDerivationParameters object for use in the target algorithm.

BuildForPbkdf2(IBuffer, UInt32)

Creates a KeyDerivationParameters object for use in the password-based key derivation function 2 (PBKDF2).

BuildForSP800108(IBuffer, IBuffer)

Creates a KeyDerivationParameters object for use in a counter mode, hash-based message authentication code (HMAC) key derivation function.

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

Creates a KeyDerivationParameters object for use in the SP800-56A key derivation function.

Applies to

See also