DiffieHellmanParametersCache.GetSupportedKeySizes Method
Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 8.0.9673)
GetSupportedKeySizes(Int32, Int32)
Returns a list of key sizes for which keys are available in the cache.
Declaration
public int[] GetSupportedKeySizes(int minSize, int maxSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | minSize | Minumum allowed key size, in bits. |
| Int32 | maxSize | Maximum allowed key size, in bits. |
Returns
| Type | Description |
|---|---|
| Int32[] | List of available key sizes. |
GetSupportedKeySizes(Int32)
Returns a list of key sizes for which keys are available in the cache.
Declaration
public int[] GetSupportedKeySizes(int minSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | minSize | Minumum allowed key size, in bits. |
Returns
| Type | Description |
|---|---|
| Int32[] | List of available key sizes. |