Επεξεργασία

Κοινή χρήση μέσω


ECDiffieHellmanCng.HmacKey Property

Definition

Gets or sets the Hash-based Message Authentication Code (HMAC) key to use when deriving key material.

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

Property Value

Byte[]

The Hash-based Message Authentication Code (HMAC) key to use when deriving key material.

Remarks

This property applies only when the Hmac value is set in the KeyDerivationFunction property, and the UseSecretAgreementAsHmacKey property is false. By default, the value is null.

Applies to