Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

DiffieHellmanParametersCache.GetDiffieHellmanParameters Method

Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 7.0.9147)

GetDiffieHellmanParameters(Int32)

Gets one of Diffie-Hellman parameters corresponding to the specified key size. Only used by server-side SSH.

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, they are generated. This can be quite slow for large key sizes.

In This Article
  • GetDiffieHellmanParameters(Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies