SmartFTP FTP Library
ISSHConnectionInfo Interface Reference

Provides detailed information about the cryptographic algorithms used in the active SSH session. More...

import "sfFTPLib.idl";

Properties

KeyExchange KeyExchangeAlgorithm [get]
 Retrieves the Key Exchange algorithm used to establish the shared secret.
HashAlgo KeyExchangeHashAlgorithm [get]
 Retrieves the hashing algorithm used specifically during the Key Exchange.
Encryption ClientToServerEncryption [get]
Encryption ServerToClientEncryption [get]
 Retrieves the symmetric encryption algorithm used for data received FROM the server.
SSHCompression ClientToServerCompression [get]
 Retrieves the compression method used for data sent TO the server.
SSHCompression ServerToClientCompression [get]
 Retrieves the compression method used for data received FROM the server.
HMAC ClientToServerMAC [get]
 Retrieves the Message Authentication Code (MAC) algorithm for outgoing data.
HMAC ServerToClientMAC [get]
 Retrieves the Message Authentication Code (MAC) algorithm for incoming data.
SSHPublicKeyAlgo HostKeyAlgorithm [get]
 Retrieves the algorithm used for the Server Host Key.

Detailed Description

Provides detailed information about the cryptographic algorithms used in the active SSH session.

This interface exposes the specific algorithms that were negotiated between the client and server during the handshake.

Property Documentation

◆ ClientToServerCompression

SSHCompression ISSHConnectionInfo::ClientToServerCompression
getproperty

Retrieves the compression method used for data sent TO the server.

◆ ClientToServerEncryption

Encryption ISSHConnectionInfo::ClientToServerEncryption
getproperty

◆ ClientToServerMAC

HMAC ISSHConnectionInfo::ClientToServerMAC
getproperty

Retrieves the Message Authentication Code (MAC) algorithm for outgoing data.

Note: If an Authenticated Encryption with Associated Data (AEAD) cipher is used (like aes256-gcm or chacha20-poly1305), the MAC is implicit, and this property returns ftpHMACNone.

◆ HostKeyAlgorithm

SSHPublicKeyAlgo ISSHConnectionInfo::HostKeyAlgorithm
getproperty

Retrieves the algorithm used for the Server Host Key.

◆ KeyExchangeAlgorithm

KeyExchange ISSHConnectionInfo::KeyExchangeAlgorithm
getproperty

Retrieves the Key Exchange algorithm used to establish the shared secret.

◆ KeyExchangeHashAlgorithm

HashAlgo ISSHConnectionInfo::KeyExchangeHashAlgorithm
getproperty

Retrieves the hashing algorithm used specifically during the Key Exchange.

◆ ServerToClientCompression

SSHCompression ISSHConnectionInfo::ServerToClientCompression
getproperty

Retrieves the compression method used for data received FROM the server.

◆ ServerToClientEncryption

Encryption ISSHConnectionInfo::ServerToClientEncryption
getproperty

Retrieves the symmetric encryption algorithm used for data received FROM the server.

◆ ServerToClientMAC

HMAC ISSHConnectionInfo::ServerToClientMAC
getproperty

Retrieves the Message Authentication Code (MAC) algorithm for incoming data.

Note: If an Authenticated Encryption with Associated Data (AEAD) cipher is used (like aes256-gcm or chacha20-poly1305), the MAC is implicit, and this property returns ftpHMACNone.


The documentation for this interface was generated from the following file: