Επεξεργασία

Κοινή χρήση μέσω


ECDiffieHellmanCng.KeyDerivationFunction Property

Definition

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

Property Value

One of the ECDiffieHellmanKeyDerivationFunction enumeration values: Hash, Hmac, or Tls. The default value is Hash.

Exceptions

The enumeration value is out of range.

Remarks

This property specifies the key derivation function that is used to transform the secret agreement into key material.

Applies to