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.

 

ValueMeaning
keDHGroup1Sha1Specifies the Diffie-Hellman Key Exchange algorithm with SHA-1 as hash, and Oakley Group 2 (1024-bit MODP Group).
keDHGroup14Sha1Specifies the Diffie-Hellman Key Exchange algorithm with SHA-1 as hash, and Oakley Group 14 (2048-bit MODP Group).
keDHExchSha1Specifies the Diffie-Hellman Group and Key Exchange algorithm with SHA-1 as hash.
keDHExchSha256Specifies the Diffie-Hellman Group and Key Exchange algorithm with SHA-256 as hash.
keECDHSha2Nistp256Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over NIST P-256 curve.
keECDHSha2Nistp384Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over NIST P-384 curve.
keECDHSha2Nistp521Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over NIST P-521 curve.
keCurve25519Sha256Specifies the Elliptic Curve Diffie-Hellman algorithm with SHA2 over Сurve Ed25519.

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support