ECDiffieHellmanCng.KeyDerivationFunction 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.