ECDiffieHellmanCng.KeyDerivationFunction 属性

定义

获取或设置 ECDiffieHellmanCng 类的密钥派生函数。Gets or sets the key derivation function for the ECDiffieHellmanCng class.

public:
 property System::Security::Cryptography::ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction { System::Security::Cryptography::ECDiffieHellmanKeyDerivationFunction get(); void set(System::Security::Cryptography::ECDiffieHellmanKeyDerivationFunction value); };
public System.Security.Cryptography.ECDiffieHellmanKeyDerivationFunction KeyDerivationFunction { get; set; }
member this.KeyDerivationFunction : System.Security.Cryptography.ECDiffieHellmanKeyDerivationFunction with get, set
Public Property KeyDerivationFunction As ECDiffieHellmanKeyDerivationFunction

属性值

ECDiffieHellmanKeyDerivationFunction

ECDiffieHellmanKeyDerivationFunction 枚举值之一:HashHmacTlsOne of the ECDiffieHellmanKeyDerivationFunction enumeration values: Hash, Hmac, or Tls. 默认值是 HashThe default value is Hash.

例外

枚举值超出范围。The enumeration value is out of range.

注解

此属性指定用于将机密协议转换为密钥材料的密钥派生函数。This property specifies the key derivation function that is used to transform the secret agreement into key material.

适用于