Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
computeExchangeHash({required Digest digest, SSHKexDH? groupExchange, required String clientVersion, required String serverVersion, required Uint8List clientKexInit, required Uint8List serverKexInit, required Uint8List hostKey, required Uint8List clientPublicKey, required Uint8List serverPublicKey, required BigInt sharedSecret})
→ Uint8List
-
-
deriveKey({required Digest digest, required BigInt sharedSecret, required Uint8List exchangeHash, required SSHDeriveKeyType keyType, required Uint8List sessionId, required int keySize})
→ Uint8List
-
Derive various keys from the exchange hash.
-
selectAlgorithm<T extends SSHAlgorithm>({required List<T> localAlgorithms, required List<String> remoteAlgorithms, required bool isServer})
→ T?
-
The first algorithm on the client's name-list and is also supported by the
server must be chosen. (rfc4253, section 7.1)