ECDiffieHellman.DeriveKeyMaterial Method (ECDiffieHellmanPublicKey)


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)

Public Overridable Function DeriveKeyMaterial (
	otherPartyPublicKey As ECDiffieHellmanPublicKey
) As Byte()


Type: System.Security.Cryptography.ECDiffieHellmanPublicKey

The other party's public key.

Return Value

Type: 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
Available since 3.5
Return to top