IpConfigurationSslMode enum
Specify how SSL/TLS is enforced in database connections. This flag is supported only for PostgreSQL. Use the legacy require_ssl flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use the ssl_mode flag instead of the legacy require_ssl flag. To avoid the conflict between those flags in PostgreSQL, only the following value pairs are valid: * ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED and require_ssl=false * ssl_mode=ENCRYPTED_ONLY and require_ssl=false * ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED and require_ssl=true Note that the value of ssl_mode gets priority over the value of the legacy require_ssl. For example, for the pair ssl_mode=ENCRYPTED_ONLY, require_ssl=false, the ssl_mode=ENCRYPTED_ONLY means "only accepts SSL connection", while the require_ssl=false means "both non-SSL and SSL connections are allowed". The database respects ssl_mode in this case and only accepts SSL connections.
Values
- sslModeUnspecified → const IpConfigurationSslMode
-
const IpConfigurationSslMode("SSL_MODE_UNSPECIFIED") - allowUnencryptedAndEncrypted → const IpConfigurationSslMode
-
const IpConfigurationSslMode("ALLOW_UNENCRYPTED_AND_ENCRYPTED") - encryptedOnly → const IpConfigurationSslMode
-
const IpConfigurationSslMode("ENCRYPTED_ONLY") - trustedClientCertificateRequired → const IpConfigurationSslMode
-
const IpConfigurationSslMode("TRUSTED_CLIENT_CERTIFICATE_REQUIRED")
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
- wireValue → String
-
final
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
Static Methods
-
fromValue(
String value) → IpConfigurationSslMode
Constants
-
values
→ const List<
IpConfigurationSslMode> - A constant List of the values in this enum, in order of their declaration.