DiffieHellmanParametersCache.GetDiffieHellmanParameters Method
Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 8.0.9673)
GetDiffieHellmanParameters(Int32)
Gets Diffie-Hellman parameters corresponding to the specified key size.
Declaration
public DiffieHellmanParameters GetDiffieHellmanParameters(int keySize)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | keySize | Key size. |
Returns
| Type | Description |
|---|---|
| DiffieHellmanParameters | Diffie-Hellman parameters. |
Remarks
If no parameters are found in the cache, an exception is thrown.