| Modifier and Type | Field and Description |
|---|---|
| public static final SslMode | ALLOW
Start with non-encrypted connection, then try encrypted one. |
| public static final SslMode | DISABLE
Do not use encrypted connections. |
| public static final SslMode | PREFER
Start with encrypted connection, fallback to non-encrypted (default). |
| public static final SslMode | REQUIRE
Ensure connection is encrypted. |
| public final String | |
| public static final SslMode[] | |
| public static final SslMode | VERIFY_CA
Ensure connection is encrypted, and client trusts server certificate. |
| public static final SslMode | VERIFY_FULL
Ensure connection is encrypted, client trusts server certificate, and server hostname matches the one listed in the server certificate. |
| Modifier and Type | Method and Description |
|---|---|
| public static SslMode | |
| public boolean | |
| public static SslMode | |
| public static SslMode[] | |
| public boolean | |
| public boolean |
| ALLOW | back to summary |
|---|---|
| public static final SslMode ALLOW Start with non-encrypted connection, then try encrypted one. | |
| DISABLE | back to summary |
|---|---|
| public static final SslMode DISABLE Do not use encrypted connections. | |
| PREFER | back to summary |
|---|---|
| public static final SslMode PREFER Start with encrypted connection, fallback to non-encrypted (default). | |
| REQUIRE | back to summary |
|---|---|
| public static final SslMode REQUIRE Ensure connection is encrypted. | |
| value | back to summary |
|---|---|
| public final String value | |
| VALUES | back to summary |
|---|---|
| public static final SslMode[] VALUES | |
| VERIFY_CA | back to summary |
|---|---|
| public static final SslMode VERIFY_CA Ensure connection is encrypted, and client trusts server certificate. | |
| VERIFY_FULL | back to summary |
|---|---|
| public static final SslMode VERIFY_FULL Ensure connection is encrypted, client trusts server certificate, and server hostname matches the one listed in the server certificate. | |
| SslMode | back to summary |
|---|---|
| private SslMode(String value) | |
| of | back to summary |
|---|---|
| public static SslMode of(Properties info) throws PSQLException | |
| requireEncryption | back to summary |
|---|---|
| public boolean requireEncryption() | |
| valueOf | back to summary |
|---|---|
| public static SslMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SslMode[] values() | |
| verifyCertificate | back to summary |
|---|---|
| public boolean verifyCertificate() | |
| verifyPeerName | back to summary |
|---|---|
| public boolean verifyPeerName() | |