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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSessionContext
private 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.IOException
public boolean hasNext()
public KeyAgentIdentity next()