SecureSocketConfig class

class to store configuration to create a security context while creating secure sockets

Constructors

SecureSocketConfig()

Properties

connectTimeout ↔ Duration?
Maximum time to wait for the TCP + TLS connect to complete. When null, AtNetworkTimeouts.effectiveDefault is used. The resolved value is always capped at AtNetworkTimeouts.maxAllowed.
getter/setter pair
decryptPackets ↔ bool
setting to true will create a Secure Socket with Security Context. setting to false will just create a Secure Socket setting to true will save session TLS keys at the provided path in tlsKeysSavePath
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
pathToCerts ↔ String?
creating a Security Context requires providing a certificate. pathToCerts will be the path to this certificate.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tlsKeysSavePath ↔ String?
location of where the TLS keys file will be stored.
getter/setter pair

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