SecureSocketOpenSslSync class
A synchronous TLS socket that reuses the OpenSSL BIO engine.
Constructors
- SecureSocketOpenSslSync.clientFromSocket(RawSynchronousSocket socket, {bool eagerHandshake = true, String? cryptoPath, String? sslPath})
-
factory
- SecureSocketOpenSslSync.clientWithCallbacks({required CiphertextWriterSync writer, required CiphertextReaderSync reader, bool eagerHandshake = true, String? cryptoPath, String? sslPath})
-
factory
- SecureSocketOpenSslSync.serverFromSocket(RawSynchronousSocket socket, {required String certFile, required String keyFile, bool eagerHandshake = true, String? cryptoPath, String? sslPath})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isHandshakeComplete → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket → RawSynchronousSocket?
-
no setter
Methods
-
close(
) → Future< void> -
ensureHandshakeCompleted(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recv(
int bufferSize) → Future< Uint8List> -
send(
Uint8List data) → Future< int> -
shutdown(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited