DVSslMode enum
How much the client insists on encryption, matching libpq's sslmode.
The names are libpq's on purpose: a connection string copied from a provider's console carries one of these, and a different vocabulary would make it something to translate rather than something to paste.
Values
- disable → const DVSslMode
-
Never ask. Local sockets and test servers.
- prefer → const DVSslMode
-
Ask, and carry on in plaintext if the server declines.
- require → const DVSslMode
-
Ask, and fail if the server declines. Encrypted, but the certificate is not checked — it stops passive eavesdropping and not an active attacker.
- verifyCa → const DVSslMode
-
As require, and the certificate must chain to a trusted root.
- verifyFull → const DVSslMode
-
As verifyCa, and the certificate must be for the host asked for. The only mode that resists an active attacker, and what a managed endpoint should be reached with.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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