Unit
ScUtils
type
TScKeyExchangeAlgorithm = (
keDHGroup1Sha1, keDHGroup14Sha1,
keDHExchSha1, keDHExchSha256,
keECDHSha2Nistp256, keECDHSha2Nistp384, keECDHSha2Nistp521,
keCurve25519Sha256);
TScKeyExchangeAlgorithms = set of TScKeyExchangeAlgorithm;
Description
The TScKeyExchangeAlgorithm enumeration represents the key exchange algorithms which are used in SSH handshake.
| Value | Meaning |
| keDHGroup1Sha1 | Specifies the Diffie-Hellman Key Exchange algorithm with SHA-1 as hash, and Oakley Group 2 (1024-bit MODP Group). |
| keDHGroup14Sha1 | Specifies the Diffie-Hellman Key Exchange algorithm with SHA-1 as hash, and Oakley Group 14 (2048-bit MODP Group). |
| keDHExchSha1 | Specifies the Diffie-Hellman Group and Key Exchange algorithm with SHA-1 as hash. |
| keDHExchSha256 | Specifies the Diffie-Hellman Group and Key Exchange algorithm with SHA-256 as hash. |
| keECDHSha2Nistp256 | Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over NIST P-256 curve. |
| keECDHSha2Nistp384 | Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over NIST P-384 curve. |
| keECDHSha2Nistp521 | Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over NIST P-521 curve. |
| keCurve25519Sha256 | Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over Сurve Ed25519. |