ECDiffieHellmanCng.SecretAppend Property


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

 property cli::array <System::Byte> ^ SecretAppend { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] SecretAppend { get; set; }
member this.SecretAppend : byte[] with get, set
Public Property SecretAppend As Byte()

Property Value


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.

Applies to