ECDiffieHellman.DeriveKeyMaterial Method (ECDiffieHellmanPublicKey)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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[]
override DeriveKeyMaterial : 
        otherPartyPublicKey:ECDiffieHellmanPublicKey -> byte[]

Parameters

otherPartyPublicKey
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
Show: