Feature notes: SSH implementation notes
inherits from iCustomDSIKeyFormat
(no public members)
inherits from tDSIIFPublicKeyFormat
(no public members)
inherits from tCustomSSHRSAKeyFormat
implements iSSHProtocolFormat
(no public members)
inherits from tDSIDLPublicKeyFormat
implements iSSHProtocolFormat
procedure SuggestRequiredUnits(aProc: tGetStringMethod); override;
inherits from tCustomSSHDSSKeyFormat
implements iSSHProtocolFormat
(no public members)
inherits from tDSIDLPublicKeyFormat
ssh-ed25519 / ssh-ed448 (RFC 8709). EdDSA keys are iDLPublicKey but sign/verify through the EdDSA pool (GetDSIED), so NewPool returns GetDSIED. The public-key blob is string "ssh-edXXX" || string ENC(A) (the raw 32- or 57-byte point). The shared base codes both curves (the type string / point size selects the curve); the two concrete classes differ only by RegisterIdentifier. The base does not itself answer iSSHProtocolFormat, which marks a format that writes the bare wire blob: the RFC 4716 formats below derive from it and must not be chosen for that.
procedure SuggestRequiredUnits(aProc: tGetStringMethod); override;
inherits from tCustomSSHEdDSAKeyFormat
implements iSSHProtocolFormat
(no public members)
inherits from tCustomSSHEdDSAKeyFormat
implements iSSHProtocolFormat
(no public members)
inherits from tDSIDLPublicKeyFormat
ecdsa-sha2-nistp256/384/521 (RFC 5656). EC keys verified through GetDSIEC. The public-key blob is string "ecdsa-sha2-nistpNNN" || string "nistpNNN" || string Q (Q = uncompressed point 0x04||X||Y). One format handles all three curves (the curve identifier is in the blob / derivable from the point size). As for EdDSA, the base leaves iSSHProtocolFormat to the wire-blob class.
procedure SuggestRequiredUnits(aProc: tGetStringMethod); override;
inherits from tCustomSSHECDSAKeyFormat
implements iSSHProtocolFormat
(no public members)
inherits from tCustomSSHRSAKeyFormat
(no public members)
inherits from tCustomSSHDSSKeyFormat
(no public members)
inherits from tCustomSSHECDSAKeyFormat
RFC 4716, "The Secure Shell (SSH) Public Key File Format", for ECDSA and EdDSA keys: the wire blob of SSH-ECDSA / SSH-ED25519 / SSH-ED448, base64 between the ---- BEGIN SSH2 PUBLIC KEY ---- and ---- END SSH2 PUBLIC KEY ---- lines, headed by the key's iKeyFileHeader (iSignPublicKey.Data) - Subject:, Comment: and the like - as SSH-Base64-RSA and SSH-Base64-DSS do for their keys. Reading attaches the header found to the key in the same way. TstSSHPublicKeyList writes ECDSA and EdDSA keys to its file in these formats, the Subject header carrying the identifier the key is held under.
(no public members)
inherits from tCustomSSHEdDSAKeyFormat
Both EdDSA curves, as the wire-blob base does; the two concrete classes differ only by RegisterIdentifier.
(no public members)
inherits from tCustomSSHBase64EdDSAKeyFormat
(no public members)
inherits from tCustomSSHBase64EdDSAKeyFormat
(no public members)