Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ECDiffieHellman::DeriveKeyTls Method (ECDiffieHellmanPublicKey^, array<Byte>^, array<Byte>^)

 

When implemented in a derived class, derives bytes that can be used as a key using a Transport Layer Security (TLS) Pseudo-Random Function (PRF) derivation algorithm.

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

public:
virtual array<unsigned char>^ DeriveKeyTls(
	ECDiffieHellmanPublicKey^ otherPartyPublicKey,
	array<unsigned char>^ prfLabel,
	array<unsigned char>^ prfSeed
)

Parameters

otherPartyPublicKey
Type: System.Security.Cryptography::ECDiffieHellmanPublicKey^

The other party's public key.

prfLabel
Type: array<System::Byte>^

The ASCII-encoded PRF label.

prfSeed
Type: array<System::Byte>^

The 64-byte PRF seed.

Return Value

Type: array<System::Byte>^

The key material from the key exchange with the other party’s public key.

Exception Condition
NotImplementedException

A derived class must override this method.

.NET Framework
Available since 4.6.2
Return to top
Show:
© 2017 Microsoft