SslMode enum

Inheritance

Constructors

SslMode()
const

Values

disable → const SslMode

No SSL is used, implies that password may be sent as plaintext.

require → const SslMode

Always use SSL (but ignore verification errors).

If you're using this option to accept self-signed certificates, consider the security ramifications of accepting every certificate: Despite using TLS, MitM attacks are possible by injecting another certificate. An alternative is using verifyFull with a SecurityContext passed to ConnectionSettings.securityContext that only accepts the known self-signed certificate.

verifyFull → const SslMode

Always use SSL and verify certificates.

Properties

allowCleartextPassword bool
no setter
hashCode int
The hash code for this object.
no setterinherited
ignoreCertificateIssues bool
no setter
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<SslMode>
A constant List of the values in this enum, in order of their declaration.