Export (0) Print
Expand All

ECDiffieHellmanCng.DeriveKeyMaterial Method

Derives the key material that is generated from the secret agreement between two parties.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method DeriveKeyMaterial(CngKey) Derives the key material that is generated from the secret agreement between two parties, given a CngKey object that contains the second party's public key.
Public method DeriveKeyMaterial(ECDiffieHellmanPublicKey) Derives the key material that is generated from the secret agreement between two parties, given an ECDiffieHellmanPublicKey object that contains the second party's public key. (Overrides ECDiffieHellman.DeriveKeyMaterial(ECDiffieHellmanPublicKey).)
Top

The Elliptic Curve Diffie-Hellman (ECDH) algorithm accepts the private key and the other party’s public key as input, and produces the secret agreement as output. The key derivation function (KDF) then takes the secret agreement and produces the key material as output.

Community Additions

ADD
Show:
© 2014 Microsoft