| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final Logger | |
| private final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addIdentity(KeyPair
KeyPair to addto associate with the key comment, SshAgentKeyConstraint... SshAgentKeyConstraints for this key to pass on to the agentImplements org. Adds a key to the agent. |
| public void | |
| public Iterable | |
| protected static Map. | |
| public boolean | |
| public void | |
| public void | |
| public KeyPair | resolveLocalIdentity(PublicKey
The key)PublicKey that is going to be usedOverrides default org. Used for reporting client-side public key authentication via agent |
| public Map. | sign(SessionContext
The current session, PublicKey SessionContextThe key, String PublicKey to use for signingRecommended signature algorithm - if algo, byte[] null/empty then one will be selected based on
the key type and/or signature factoriesNote even if specific algorithm specified, the implementation may disregard and choose another Data to sign data)Implements org.
|
| keys | back to summary |
|---|---|
| private final List<Map. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| open | back to summary |
|---|---|
| private final AtomicBoolean open | |
| AgentImpl | back to summary |
|---|---|
| public AgentImpl() | |
| addIdentity | back to summary |
|---|---|
| public void addIdentity(KeyPair key, String comment, SshAgentKeyConstraint... constraints) throws IOException Implements org. Doc from org. Adds a key to the agent.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this channel. After a channel is closed, any further attempt to invoke I/O
operations upon it will cause a If this channel is already closed then invoking this method has no effect. This method may be invoked at any time. If some other thread has already invoked it, however, then another invocation will block until the first invocation is complete, after which it will return without effect.
| |
| getIdentities | back to summary |
|---|---|
| public Iterable Implements org.
| |
| getKeyPair | back to summary |
|---|---|
| protected static Map. | |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements java. Doc from java. Tells whether or not this channel is open.
| |
| removeAllIdentities | back to summary |
|---|---|
| public void removeAllIdentities() throws IOException Implements org.
| |
| removeIdentity | back to summary |
|---|---|
| public void removeIdentity(PublicKey key) throws IOException Implements org.
| |
| resolveLocalIdentity | back to summary |
|---|---|
| public KeyPair resolveLocalIdentity(PublicKey key) Overrides default org. Doc from org. Used for reporting client-side public key authentication via agent | |
| sign | back to summary |
|---|---|
| public Map. Implements org.
| |