Deprecated
| Access | Constructor and Description |
|---|---|
| public | LibPQFactory(Properties
the connection parameters The following parameters are used:
sslmode,sslcert,sslkey,sslrootcert,sslhostnameverifier,sslpasswordcallback,sslpassword info)
Deprecated
prefer
org.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the certificate belongs to the server, false otherwise.Hostname or IP address of the server. hostname, SSLSession The SSL session. session)Implements javax.
Deprecated
use PgjdbcHostnameVerifier
Verifies the server certificate according to the libpq rules. |
| public static boolean | Returns: true when domain matches patterninput hostname hostname, String domain name pattern pattern)
Deprecated
use
PGjdbcHostnameVerifier
Verifies if given hostname matches pattern. |
| sslMode | back to summary |
|---|---|
| private final SslMode sslMode | |
| LibPQFactory | back to summary |
|---|---|
| public LibPQFactory(Properties info) throws PSQLException
Deprecated
| |
| verify | back to summary |
|---|---|
| public boolean verify(String hostname, SSLSession session) Implements javax. Deprecated use PgjdbcHostnameVerifier Verifies the server certificate according to the libpq rules. The cn attribute of the certificate is matched against the hostname. If the cn attribute starts with an asterisk (*), it will be treated as a wildcard, and will match all characters except a dot (.). This means the certificate will not match subdomains. If the connection is made using an IP address instead of a hostname, the IP address will be matched (without doing any DNS lookups).
| |
| verifyHostName | back to summary |
|---|---|
| public static boolean verifyHostName(String hostname, String pattern)
Deprecated Verifies if given hostname matches pattern.
| |