ECDiffieHellmanCng.SecretAppend 属性

定义

获取或设置生成密钥材料时将追加到机密协议的值。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; }
member this.SecretAppend : byte[] with get, set
Public Property SecretAppend As Byte()

属性值

Byte[]

追加到机密协议的值。The value that is appended to the secret agreement.

注解

如果Hash使用或Hmac密钥派生函数 (KDF), 则此值用于密钥派生。This value is used for key derivation if the Hash or Hmac key derivation function (KDF) is used. 该值将追加到机密协议, 组合值将传递给 KDF 以生成密钥材料。The value is appended to the secret agreement, and the combined value is passed to the KDF to generate the key material. 默认情况下,该值为 nullBy default, the value is null.

适用于