Class KnownHostsServerKeyVerifier.HostEntryPair

  • Enclosing class:
    KnownHostsServerKeyVerifier

    public static class KnownHostsServerKeyVerifier.HostEntryPair
    extends java.lang.Object
    Represents an entry in the internal verifier's cache
    • Field Detail

      • serverKey

        private java.security.PublicKey serverKey
    • Constructor Detail

      • HostEntryPair

        public HostEntryPair()
      • HostEntryPair

        public HostEntryPair​(KnownHostEntry entry,
                             java.security.PublicKey key)
    • Method Detail

      • setHostEntry

        public void setHostEntry​(KnownHostEntry hostEntry)
      • getServerKey

        public java.security.PublicKey getServerKey()
      • setServerKey

        public void setServerKey​(java.security.PublicKey serverKey)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object