Class SessionKeyPairIterator
- java.lang.Object
-
- org.apache.sshd.client.auth.pubkey.AbstractKeyPairIterator<KeyPairIdentity>
-
- org.apache.sshd.client.auth.pubkey.SessionKeyPairIterator
-
- All Implemented Interfaces:
Iterator<KeyPairIdentity>
,ClientSessionHolder
,SessionContextHolder
,SessionHolder<ClientSession>
public class SessionKeyPairIterator extends AbstractKeyPairIterator<KeyPairIdentity>
- Author:
- Apache MINA SSHD Project
-
-
Constructor Summary
Constructors Constructor Description SessionKeyPairIterator(ClientSession session, SignatureFactoriesManager signatureFactories, Iterator<KeyPair> keys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
KeyPairIdentity
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
-
SessionKeyPairIterator
public SessionKeyPairIterator(ClientSession session, SignatureFactoriesManager signatureFactories, Iterator<KeyPair> keys)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public KeyPairIdentity next()
-
-