public class SshAgentPublicKeyIterator extends AbstractKeyPairIterator<KeyAgentIdentity>
| Modifier and Type | Field and Description |
|---|---|
private SshAgent |
agent |
private java.util.Iterator<? extends java.util.Map.Entry<java.security.PublicKey,java.lang.String>> |
keys |
| Constructor and Description |
|---|
SshAgentPublicKeyIterator(ClientSession session,
SshAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
KeyAgentIdentity |
next() |
getClientSession, getSession, remove, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSessionContextprivate final SshAgent agent
private final java.util.Iterator<? extends java.util.Map.Entry<java.security.PublicKey,java.lang.String>> keys
public SshAgentPublicKeyIterator(ClientSession session, SshAgent agent) throws java.io.IOException
java.io.IOExceptionpublic boolean hasNext()
public KeyAgentIdentity next()