ServerTlsCredentials class

Inheritance

Constructors

ServerTlsCredentials({List<int>? certificate, String? certificatePassword, List<int>? privateKey, String? privateKeyPassword})
TLS credentials for a Server.

Properties

certificate → List<int>?
final
certificatePassword → String?
final
hashCode → int
The hash code for this object.
no setterinherited
privateKey → List<int>?
final
privateKeyPassword → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityContext → SecurityContext
Creates SecurityContext from these credentials if possible. Otherwise returns null.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validateClient(Socket socket) → bool
Validates incoming connection. Returns true if connection is allowed to proceed.
override

Operators

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