Skip to content

PostgreSqlSslMode Enum ​

Enumerates SSL Modes for a PostgreSQL connection

Namespace: JASE.Database
Assembly: JASE.Database.dll

Underlying Type int

Fields ​

NameValueDescription
Disable0I don't care about security, and I don't want to pay the overhead of encryption.
Allow1I don't care about security, but I will pay the overhead of encryption if the server insists on it.
Prefer2I don't care about encryption, but I wish to pay the overhead of encryption if the server supports it.
Require3I want my data to be encrypted, and I accept the overhead. I trust that the network will make sure I always connect to the server I want.
VerifyCA4I want my data encrypted, and I accept the overhead. I want to be sure that I connect to a server that I trust.
VerifyFull5I want my data encrypted, and I accept the overhead. I want to be sure that I connect to a server I trust, and that it's the one I specify.