Class KnownHostsServerKeyVerifier.HostEntryPair
- java.lang.Object
-
- org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair
-
- Enclosing class:
- KnownHostsServerKeyVerifier
public static class KnownHostsServerKeyVerifier.HostEntryPair extends java.lang.ObjectRepresents an entry in the internal verifier's cache
-
-
Field Summary
Fields Modifier and Type Field Description private KnownHostEntryhostEntryprivate java.security.PublicKeyserverKey
-
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 KnownHostEntrygetHostEntry()java.security.PublicKeygetServerKey()voidsetHostEntry(KnownHostEntry hostEntry)voidsetServerKey(java.security.PublicKey serverKey)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-