ECDiffieHellmanCng.HmacKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
.