Class KnownHostsServerKeyVerifier.HostEntryPair
- java.lang.Object
-
- org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair
-
- Enclosing class:
- KnownHostsServerKeyVerifier
public static class KnownHostsServerKeyVerifier.HostEntryPair extends java.lang.Object
Represents an entry in the internal verifier's cache
-
-
Field Summary
Fields Modifier and Type Field Description private KnownHostEntry
hostEntry
private java.security.PublicKey
serverKey
-
Constructor Summary
Constructors Constructor Description HostEntryPair()
HostEntryPair(KnownHostEntry entry, java.security.PublicKey key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnownHostEntry
getHostEntry()
java.security.PublicKey
getServerKey()
void
setHostEntry(KnownHostEntry hostEntry)
void
setServerKey(java.security.PublicKey serverKey)
java.lang.String
toString()
-
-
-
Field Detail
-
hostEntry
private KnownHostEntry hostEntry
-
serverKey
private java.security.PublicKey serverKey
-
-
Constructor Detail
-
HostEntryPair
public HostEntryPair()
-
HostEntryPair
public HostEntryPair(KnownHostEntry entry, java.security.PublicKey key)
-
-
Method Detail
-
getHostEntry
public KnownHostEntry getHostEntry()
-
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 classjava.lang.Object
-
-