Interface OpenSSHKnownHosts.KnownHostEntry
-
- All Known Implementing Classes:
OpenSSHKnownHosts.BadHostEntry
,OpenSSHKnownHosts.CommentEntry
,OpenSSHKnownHosts.HostEntry
- Enclosing class:
- OpenSSHKnownHosts
public static interface OpenSSHKnownHosts.KnownHostEntry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
appliesTo(java.lang.String host)
boolean
appliesTo(KeyType type, java.lang.String host)
java.lang.String
getFingerprint()
java.lang.String
getLine()
KeyType
getType()
boolean
verify(java.security.PublicKey key)
-
-
-
Method Detail
-
getType
KeyType getType()
-
getFingerprint
java.lang.String getFingerprint()
-
appliesTo
boolean appliesTo(java.lang.String host) throws java.io.IOException
- Throws:
java.io.IOException
-
appliesTo
boolean appliesTo(KeyType type, java.lang.String host) throws java.io.IOException
- Throws:
java.io.IOException
-
verify
boolean verify(java.security.PublicKey key) throws java.io.IOException
- Throws:
java.io.IOException
-
getLine
java.lang.String getLine()
-
-