|
SmartFTP FTP Library
|
Encapsulates the cryptographic parameters of an active TLS/SSL connection. More...
import "sfFTPLib.idl";
Properties | |
| long | Protocol [get] |
| Retrieves the specific security protocol used for the connection. | |
| BSTR | CipherAlgo [get] |
| Retrieves the name of the symmetric encryption algorithm used for data confidentiality. | |
| long | CipherStrength [get] |
| Retrieves the strength (key length) of the cipher algorithm in bits. | |
| BSTR | HashAlgo [get] |
| Retrieves the name of the hashing algorithm used for message integrity. | |
| long | HashStrength [get] |
| Retrieves the strength (bit length) of the hash algorithm. | |
| BSTR | ExchangeAlgo [get] |
| Retrieves the name of the Key Exchange algorithm used to establish the session keys. | |
| long | ExchangeStrength [get] |
| Retrieves the strength of the Key Exchange algorithm in bits. | |
Encapsulates the cryptographic parameters of an active TLS/SSL connection.
The Context: When a secure FTPS connection is established, the client and server negotiate a specific set of algorithms to protect the data. This "Cipher Suite" determines the privacy and integrity of the session.
Origin: This interface is retrieved via the ITlsSocket::ConnectionInfo property. The values map directly to the Win32 SecPkgContext_ConnectionInfoEx structure used by the Windows SChannel security provider (TLS).
|
getproperty |
Retrieves the name of the symmetric encryption algorithm used for data confidentiality.
Examples: "AES", "3DES", "RC4".
| [out] | retval | The cipher algorithm name. |
|
getproperty |
Retrieves the strength (key length) of the cipher algorithm in bits.
| [out] | retval | The key length in bits (e.g., 128, 256). |
|
getproperty |
Retrieves the name of the Key Exchange algorithm used to establish the session keys.
Examples: "ECDH" (Elliptic Curve Diffie-Hellman), "RSA", "DH".
| [out] | retval | The exchange algorithm name. |
|
getproperty |
Retrieves the strength of the Key Exchange algorithm in bits.
Often corresponds to the size of the public key or curve used during the handshake (e.g., 2048, 4096, 256 for curves).
| [out] | retval | The exchange strength in bits. |
|
getproperty |
Retrieves the name of the hashing algorithm used for message integrity.
Examples: "SHA", "SHA-256", "SHA-384", "MD5".
| [out] | retval | The hash algorithm name. |
|
getproperty |
Retrieves the strength (bit length) of the hash algorithm.
Examples: 160 (SHA-1), 256 (SHA-256).
| [out] | retval | The hash length in bits. |
|
getproperty |
Retrieves the specific security protocol used for the connection.
Returns a constant identifying the protocol version, such as:
| [out] | retval | The protocol identifier. |