-api-id | -api-type |
---|---|
M:Windows.Security.Cryptography.Core.KeyDerivationParameters.BuildForSP800108(Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer) |
winrt method |
Creates a KeyDerivationParameters object for use in a counter mode, hash-based message authentication code (HMAC) key derivation function.
Buffer that specifies the purpose for the derived keying material.
Buffer that specifies information related to the derived keying material. For example, the context can identify the parties who are deriving the keying material and, optionally, a nonce known by the parties.
Refers to the parameters used during key derivation.
You can use the following algorithm names with the OpenAlgorithm function to open a SP800108 KDF algorithm provider:
- KeyDerivationAlgorithmNames.Sp800108CtrHmacMd5
- KeyDerivationAlgorithmNames.Sp800108CtrHmacSha1
- KeyDerivationAlgorithmNames.Sp800108CtrHmacSha256
- KeyDerivationAlgorithmNames.Sp800108CtrHmacSha384
- KeyDerivationAlgorithmNames.Sp800108CtrHmacSha512
[!code-csharpShowDerivationFromSP800108]