ECDiffieHellmanCng.HmacKey Proprietà

Definizione

Ottiene o imposta la chiave HMAC (Hash-based Message Authentication Code) da utilizzare per la derivazione del materiale della chiave.

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()

Valore della proprietà

Byte[]

La chiave HMAC (Hash-based Message Authentication Code) da utilizzare per la derivazione del materiale della chiave.

Commenti

Questa proprietà si applica solo quando il Hmac valore è impostato nella KeyDerivationFunction proprietà e la UseSecretAgreementAsHmacKey proprietà è false. Per impostazione predefinita, il valore è null.

Si applica a