methodTstSSHPublicKeyList.SaveKeys
procedure SaveKeys;
Serializes the entire in-memory key list and writes it out through SetPublicKeyStream (to PublicKeyFileName), clearing the Modified flag. Call this to persist changes explicitly; note it also happens automatically on destroy and on disabling when ShouldSaveKeys is True, so most apps rely on AutoSave rather than calling this. Each key is written with its identifier as a Subject header, which is what LoadKeys files it under: an RSA key in RSAPublicKeyFormat and a DSS key in DSSPublicKeyFormat - select SSH-Base64-RSA and SSH-Base64-DSS there, the formats that carry a header - and an ECDSA or EdDSA key as an RFC 4716 block (SSH-Base64-ECDSA, SSH-Base64-ED25519, SSH-Base64-ED448) whatever the two properties select.