Export (0) Print
Expand All

ECDiffieHellmanCng.DeriveSecretAgreementHandle Method

Gets a handle to the secret agreement generated 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.

  Name Description
Public method DeriveSecretAgreementHandle(CngKey) Gets a handle to the secret agreement generated between two parties, given a CngKey object that contains the second party's public key.
Public method DeriveSecretAgreementHandle(ECDiffieHellmanPublicKey) Gets a handle to the secret agreement generated between two parties, given an ECDiffieHellmanPublicKey object that contains the second party's public key.
Top

The DeriveSecretAgreementHandle method overloads are for advanced users who need a handle to the raw secret agreement instead of the key material. The secret agreement handle can be used in platform invoke calls to perform any work that is not wrapped by the ECDiffieHellmanCng class.

Show:
© 2014 Microsoft