ECDiffieHellmanCng::SecretAppend Property

 

Gets or sets a value that will be appended to the secret agreement when generating key material.

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

public:
property array<unsigned char>^ SecretAppend {
	array<unsigned char>^ get();
	void set(array<unsigned char>^ value);
}

Property Value

Type: array<System::Byte>^

The value that is appended to the secret agreement.

This value is used for key derivation if the Hash or Hmac key derivation function (KDF) is used. The value is appended to the secret agreement, and the combined value is passed to the KDF to generate the key material. By default, the value is null.

.NET Framework
Available since 3.5
Return to top
Show: