PQSecureSocket class abstract final

Client side of a PQSecureChannel over TCP.

Named PQSecureSocket so it does not clash with dart:io's TLS SecureSocket.

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

Operators

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

Static Methods

connect(Object host, int port, {required SigningPublicKey serverKey, required String serverId, String clientId = '', SigningKeyPair? clientIdentity, PostQuantumCryptoEngine? engine, PQSecureChannelOptions options = const PQSecureChannelOptions(), Duration? connectTimeout}) → Future<PQSecureChannel>
Opens a TCP connection to host:port and runs the client handshake (see PQSecureChannel.connect). connectTimeout bounds the TCP connect; options.handshakeTimeout bounds the handshake.