SmartFTP FTP Library
sfFTPLib::KeyManager Class Reference

Provides a centralized toolkit for creating, loading, and managing SSH user identity keys. More...

import "sfFTPLib.idl";

Detailed Description

Provides a centralized toolkit for creating, loading, and managing SSH user identity keys.

The Role: The KeyManager acts as a factory and conversion tool for SSH keys. While the connection object uses an abstract IKey interface, this class handles the specific details of reading and writing the various file formats used on disk.

Key Capabilities:

  • Loading: Reads private keys from standard formats (OpenSSH, PEM, PuTTY .ppk, PKCS#8).
  • Generation: Creates new public/private key pairs (RSA, ECDSA, Ed25519).
  • Conversion: Converts keys between formats (e.g., exporting an OpenSSH key to PuTTY format).

Usage: Create an instance of this class to load your private key file, then pass the resulting IKey object to ISSHConnection::PrivateKey.


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