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:
virtual array<unsigned char>^ DeriveKeyMaterial(
	ECDiffieHellmanPublicKey^ otherPartyPublicKey
)

Parameters

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