SshAlgorithmNegotiation¶
Constructors¶
create¶
Returns¶
Public Functions¶
negotiate¶
First client preference that server also supports, per category (RFC 4253 ยง7.1).
fun box negotiate(
client: SshAlgorithmPreferences val,
server: SshAlgorithmPreferences val)
: (SshNegotiatedAlgorithms val | SshAlgorithmNegotiationFailed val)
Parameters¶
- client: SshAlgorithmPreferences val
- server: SshAlgorithmPreferences val
Returns¶
- (SshNegotiatedAlgorithms val | SshAlgorithmNegotiationFailed val)
eq¶
Parameters¶
- that: SshAlgorithmNegotiation val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SshAlgorithmNegotiation val
Returns¶
- Bool val