public class UserAuthPublicKeyIterator extends AbstractKeyPairIterator<PublicKeyIdentity> implements Channel
| Constructor and Description |
|---|
UserAuthPublicKeyIterator(ClientSession session,
SignatureFactoriesManager signatureFactories) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
closeAgent() |
boolean |
hasNext() |
protected Iterable<KeyAgentIdentity> |
initializeAgentIdentities(ClientSession session) |
protected Iterable<KeyPairIdentity> |
initializeSessionIdentities(ClientSession session,
SignatureFactoriesManager signatureFactories) |
boolean |
isOpen() |
PublicKeyIdentity |
next() |
getClientSession, getSession, remove, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaininggetSessionContextpublic UserAuthPublicKeyIterator(ClientSession session, SignatureFactoriesManager signatureFactories) throws Exception
Exceptionprotected Iterable<KeyPairIdentity> initializeSessionIdentities(ClientSession session, SignatureFactoriesManager signatureFactories)
protected Iterable<KeyAgentIdentity> initializeAgentIdentities(ClientSession session) throws IOException
IOExceptionpublic boolean hasNext()
hasNext in interface Iterator<PublicKeyIdentity>public PublicKeyIdentity next()
next in interface Iterator<PublicKeyIdentity>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionprotected void closeAgent()
throws IOException
IOExceptionCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.