AsymmetricKeyAlgorithm.GenerateDiffieHellmanParameters Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9448)
GenerateDiffieHellmanParameters(Int32)
Generates Diffie-Hellman parameters corresponding to the specified key size.
Declaration
public static DiffieHellmanParameters GenerateDiffieHellmanParameters(int keySize)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | keySize | Key size. |
Returns
| Type | Description |
|---|---|
| DiffieHellmanParameters | Diffie-Hellman parameters. |