Class UserAuthPublicKeyIterator

    • Field Detail

      • open

        private final java.util.concurrent.atomic.AtomicBoolean open
    • Constructor Detail

      • UserAuthPublicKeyIterator

        public UserAuthPublicKeyIterator​(ClientSession session,
                                         SignatureFactoriesManager signatureFactories)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • initializeAgentIdentities

        protected java.lang.Iterable<KeyAgentIdentity> initializeAgentIdentities​(ClientSession session)
                                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<PublicKeyIdentity>
      • isOpen

        public boolean isOpen()
        Specified by:
        isOpen in interface java.nio.channels.Channel
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.nio.channels.Channel
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • closeAgent

        protected void closeAgent()
                           throws java.io.IOException
        Throws:
        java.io.IOException