| Modifier and Type | Field and Description |
|---|---|
| public static final ConnectorFactory. | |
| private final PageantLibrary |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public boolean | connect()
Implements org. Connects to an SSH agent if there is one running. |
| public byte[] | rpc(byte
to send command, byte[] to send; must have at least 5 bytes, and must have 5 unused
bytes at the front. message)Implements org. Performs a remote call to the SSH agent and returns the result. |
| DESCRIPTOR | back to summary |
|---|---|
| public static final ConnectorFactory.
| |
| lib | back to summary |
|---|---|
| private final PageantLibrary lib | |
| PageantConnector | back to summary |
|---|---|
| public PageantConnector() Creates a new | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| connect | back to summary |
|---|---|
| public boolean connect() throws IOException Implements org. Doc from org. Connects to an SSH agent if there is one running. If called when already
connected just returns
| |
| rpc | back to summary |
|---|---|
| public byte[] rpc(byte command, byte[] message) throws IOException Implements org. Doc from org. Performs a remote call to the SSH agent and returns the result.
| |