PublicKey[C] struct FlowSshC_PublicKey {};
[C++] class PublicKey : public IRefCountable, public NoCopy
[C#] public class PublicKey : IDisposable
Members Creation, Destruction
Get Information and Data **
[C] Handler Registration
[Net] Disposing
Remarks This interface manages public-keys. It enables you to create or to load (from data) a public-key object, to examine its various attributes, and to export its data to several available formats. In FlowSshC, public-keys are represented by an opaque FlowSshC_PublicKey structure. In FlowSshCpp/Net they are managed by the PublicKey class. For the most part, you will end up using public-keys when connecting to SSH servers. Note that before a connection is established, a public-key representing the server is passed to you through the [Client]OnHostKey handler. There one evaluates the fingerprint(s) of the host-key to decide if the server is trustworthy. ** [C] The caller must release the returned BSTR with SysFreeString. |