Export (0) Print
Expand All

ECDiffieHellman::DeriveKeyMaterial Method

Derives bytes that can be used as a key, given another party's public key.

Namespace:  System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

virtual array<unsigned char>^ DeriveKeyMaterial(
	ECDiffieHellmanPublicKey^ otherPartyPublicKey
) abstract


Type: System.Security.Cryptography::ECDiffieHellmanPublicKey

The other party's public key.

Return Value

Type: array<System::Byte>
The key material from the key exchange with the other party’s public key.

For more information about public keys, see the ECDiffieHellmanPublicKey class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft