KeyDerivationFunction Property
The key derivation function.
Syntax
[VB.NET] Public Property KeyDerivationFunction As EccKeyDerivationFunctions
[C#] public EccKeyDerivationFunctions KeyDerivationFunction {get; set;}
enum EccKeyDerivationFunctions { ekdSHA1, ekdSHA256, ekdSHA384, ekdSHA512, ekdMD2, ekdMD4, ekdMD5, ekdHMACSHA1, ekdHMACSHA256, ekdHMACSHA384, ekdHMACSHA512, ekdHMACMD5, ekdTLS }
Remarks
This property specifies the key derivation function (KDF) and algorithm to use when calling ComputeSecret.
Possible values are:
0 (ekdSHA1 - default) | SHA-1 |
1 (ekdSHA256) | SHA-256 |
2 (ekdSHA384) | SHA-384 |
3 (ekdSHA512) | SHA-512 |
4 (ekdMD2) | MD2 |
5 (ekdMD4) | MD4 |
6 (ekdMD5) | MD5 |
7 (ekdHMACSHA1) | HMAC-SHA1 |
8 (ekdHMACSHA256) | HMAC-SHA256 |
9 (ekdHMACSHA384) | HMAC-SHA384 |
10 (ekdHMACSHA512) | HMAC-SHA512 |
11 (ekdHMACMD5) | HMAC-MD5 |
12 (ekdTLS) | TLS |
If an HMAC algorithm is selected HMACKey may optionally be set to specify the key.
Note: When set to TLS, TLSSeed and TLSLabel are required.
Default Value
0