DeriveKeyMaterial Method
Collapse the table of content
Expand the table of content

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)

abstract DeriveKeyMaterial : 
        otherPartyPublicKey:ECDiffieHellmanPublicKey -> 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
© 2015 Microsoft