ECDiffieHellmanCng.SecretPrepend 属性

定义

获取或设置派生密钥材料时将添加到机密协议开头的值。Gets or sets a value that will be added to the beginning of the secret agreement when deriving key material.

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

属性值

Byte[]

密钥派生期间追加到机密协议开头的值。The value that is appended to the beginning of the secret agreement during key derivation.

注解

如果KeyDerivationFunction将属性设置为以下值之一, 则将此值用于密钥派生:This value is used for key derivation if the KeyDerivationFunction property is set to one of the following values:

值附加到机密协议, 并将组合值传递到密钥派生函数 (KDF) 以生成密钥材料。The value is prepended to the secret agreement, and the combined value is passed to the key derivation function (KDF) to generate the key material. 默认情况下,该值为 nullBy default, the value is null.

适用于