Skip to content

SshSupportedAlgorithms

[Source]

The algorithms this transport can actually perform. Negotiation must not commit to anything outside these sets: the key-exchange code runs X25519 unconditionally and the cipher code dispatches on these exact names, so a negotiated name we cannot run would either die mid-handshake or, worse, leave the negotiated name in the exchange hash disagreeing with the math performed.

primitive val SshSupportedAlgorithms

Constructors

create

[Source]

new val create()
: SshSupportedAlgorithms val^

Returns


Public Functions

kex

[Source]

fun box kex(
  name: String val)
: Bool val

Parameters

Returns


host_key

[Source]

fun box host_key(
  name: String val)
: Bool val

Parameters

Returns


cipher

[Source]

fun box cipher(
  name: String val)
: Bool val

Parameters

Returns


mac

[Source]

fun box mac(
  name: String val)
: Bool val

Parameters

Returns


supports_all

[Source]

True only when every negotiated algorithm is one this transport runs.

fun box supports_all(
  n: SshNegotiatedAlgorithms val)
: Bool val

Parameters

Returns


eq

[Source]

fun box eq(
  that: SshSupportedAlgorithms val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SshSupportedAlgorithms val)
: Bool val

Parameters

Returns