SshSecureSocketTransport class

Implemented types

Constructors

SshSecureSocketTransport({SshBannerExchange bannerExchange = const SshBannerExchange(), bool tcpNoDelay = true, SshRekeyPolicy rekeyPolicy = const SshRekeyPolicy(), Random? random, List<String> keyExchangeAlgorithms = SshTransportAlgorithms.defaultKeyExchangeAlgorithms, List<String> serverHostKeyAlgorithms = SshTransportAlgorithms.defaultServerHostKeyAlgorithms, List<String> encryptionAlgorithms = SshTransportAlgorithms.defaultEncryptionAlgorithms, List<String> macAlgorithms = SshTransportAlgorithms.defaultMacAlgorithms, List<String> compressionAlgorithms = SshTransportAlgorithms.defaultCompressionAlgorithms})

Properties

bannerExchange SshBannerExchange
final
compressionAlgorithms List<String>
final
encryptionAlgorithms List<String>
final
handshake SshHandshakeInfo?
no setter
hashCode int
The hash code for this object.
no setterinherited
keyExchangeAlgorithms List<String>
final
macAlgorithms List<String>
final
rekeyPolicy SshRekeyPolicy
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverHostKeyAlgorithms List<String>
final
socket Socket?
no setter
state SshTransportState
no setteroverride
tcpNoDelay bool
final

Methods

connect({required SshEndpoint endpoint, required SshTransportSettings settings}) Future<SshHandshakeInfo>
override
disconnect() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPacket() Future<SshBinaryPacket>
override
rekey() Future<void>
sendGlobalRequest(SshGlobalRequest request) Future<void>
override
sendGlobalRequestWithReply(SshGlobalRequest request) Future<SshGlobalRequestReply>
override
toString() String
A string representation of this object.
inherited
writeBytes(List<int> bytes) Future<void>
override
writePacket(List<int> payload) Future<void>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited