Class SshAgentPublicKeyIterator
- java.lang.Object
-
- org.apache.sshd.client.auth.pubkey.AbstractKeyPairIterator<KeyAgentIdentity>
-
- org.apache.sshd.client.auth.pubkey.SshAgentPublicKeyIterator
-
- All Implemented Interfaces:
Iterator<KeyAgentIdentity>
,ClientSessionHolder
,SessionContextHolder
,SessionHolder<ClientSession>
public class SshAgentPublicKeyIterator extends AbstractKeyPairIterator<KeyAgentIdentity>
- Author:
- Apache MINA SSHD Project
-
-
Constructor Summary
Constructors Constructor Description SshAgentPublicKeyIterator(ClientSession session, SshAgent agent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
KeyAgentIdentity
next()
-
Methods inherited from class org.apache.sshd.client.auth.pubkey.AbstractKeyPairIterator
getClientSession, getSession, remove, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface org.apache.sshd.common.session.SessionHolder
getSessionContext
-
-
-
-
Constructor Detail
-
SshAgentPublicKeyIterator
public SshAgentPublicKeyIterator(ClientSession session, SshAgent agent) throws IOException
- Throws:
IOException
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public KeyAgentIdentity next()
-
-