ECDiffieHellmanCng.UseSecretAgreementAsHmacKey 属性

定义

获取一个值,该值指示机密协议是否用作基于哈希的消息身份验证代码 (HMAC) 密钥以派生密钥材料。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

属性值

如果机密协议用作 HMAC 密钥以派生机密材料,则为 true;否则为 falsetrue if the secret agreement is used as an HMAC key to derive key material; otherwise, false.

注解

适用于