DiffieHellmanParametersCache.SetDiffieHellmanKeySizeRange Method
Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 7.0.9119)
SetDiffieHellmanKeySizeRange(Int32, Int32)
Sets the allowed key size range for Diffie-Hellman keys used during SSH negotiation. Only used by server-side SSH.
Declaration
public void SetDiffieHellmanKeySizeRange(int minKeySize, int maxKeySize)
Parameters
Type | Name | Description |
---|---|---|
Int32 | minKeySize | Minumum allowed key size. |
Int32 | maxKeySize | Maximum allowed key size. |