| Modifier and Type | Class and Description |
|---|---|
| public static class | LibPQFactory.
A CallbackHandler that reads the password from the console or returns the password given to its constructor. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv @Nullable KeyManager |
| Access | Constructor and Description |
|---|---|
| public | LibPQFactory(Properties
the connection parameters The following parameters are used:
sslmode,sslcert,sslkey,sslrootcert,sslhostnameverifier,sslpasswordcallback,sslpassword info)
|
| Modifier and Type | Method and Description |
|---|---|
| private CallbackHandler | |
| private void | |
| private void | |
| public void |
| defaultfile | back to summary |
|---|---|
| pack-priv boolean defaultfile | |
| km | back to summary |
|---|---|
| pack-priv @Nullable KeyManager km | |
| LibPQFactory | back to summary |
|---|---|
public LibPQFactory(Properties info) throws PSQLException
| |
| getCallbackHandler | back to summary |
|---|---|
| private CallbackHandler getCallbackHandler(Properties info) throws PSQLException | |
| initP12 | back to summary |
|---|---|
| private void initP12(String sslkeyfile, Properties info) throws PSQLException | |
| initPk8 | back to summary |
|---|---|
| private void initPk8(String sslkeyfile, String defaultdir, Properties info) throws PSQLException | |
| throwKeyManagerException | back to summary |
|---|---|
| public void throwKeyManagerException() throws PSQLException Propagates any exception from
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | handle(Callback[]
The callbacks to handle callbacks)Implements javax. Handles the callbacks. |
| password | back to summary |
|---|---|
| private @Nullable char[] password | |
| ConsoleCallbackHandler | back to summary |
|---|---|
| pack-priv ConsoleCallbackHandler(@Nullable String password) | |
| handle | back to summary |
|---|---|
| public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException Implements javax. Handles the callbacks.
| |