Bewerken

Share via


ECDiffieHellmanCng.SecretAppend Property

Definition

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

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

Property Value

Byte[]

The value that is appended to the secret agreement.

Remarks

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