ECDiffieHellmanCng.UseSecretAgreementAsHmacKey Property

Definition

Gets a value that indicates whether the secret agreement is used as a Hash-based Message Authentication Code (HMAC) key to derive key material.

public:
 property bool UseSecretAgreementAsHmacKey { bool get(); };
public bool UseSecretAgreementAsHmacKey { get; }
member this.UseSecretAgreementAsHmacKey : bool
Public ReadOnly Property UseSecretAgreementAsHmacKey As Boolean

Property Value

true if the secret agreement is used as an HMAC key to derive key material; otherwise, false.

Remarks

This value is used for key derivation if the KeyDerivationFunction property is set to Hmac. By default, the value is false.

Applies to