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

DiffieHellmanParametersCache Class

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

Provides Diffie-Hellman keys for use with SSH key exchange algorithms that use the legacy 'group exchange'.

Syntax
public class DiffieHellmanParametersCache
Inheritance
Object
DiffieHellmanParametersCache
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Remarks

By default, the cache contains 2048-bit, 3072-bit, and 4096-bit 'ffdhe' groups specified by RFC 7919.

Constructors

Name Description
DiffieHellmanParametersCache()

Initializes a new instance of Diffie-Hellman parameters cache.

Methods

Name Description
Add(DiffieHellmanParameters)

Adds Diffie-Hellman parameters to parameters cache. Only used by server-side SSH.

Clear()

Clears Diffie-Hellman parameters cache. Only used by server-side SSH.

GetDiffieHellmanKeySizeRange(out Int32, out Int32)

Gets the allowed key size range for Diffie-Hellman keys used during SSH negotiation. Only used by server-side SSH.

GetDiffieHellmanParameters(Int32)

Gets Diffie-Hellman parameters corresponding to the specified key size.

GetSupportedKeySizes(Int32)

Returns a list of key sizes for which keys are available in the cache.

GetSupportedKeySizes(Int32, Int32)

Returns a list of key sizes for which keys are available in the cache.

IsSupportedKeySize(Int32)

Determines whether the key with the specified size is available in the cache.

SetDiffieHellmanKeySizeRange(Int32, Int32)

Sets the allowed key size range for Diffie-Hellman keys used during SSH negotiation. Only used by server-side SSH.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies