Package com.jcraft.jsch
Class KnownHosts.HashedHostKey
- java.lang.Object
-
- com.jcraft.jsch.HostKey
-
- com.jcraft.jsch.KnownHosts.HashedHostKey
-
- Enclosing class:
- KnownHosts
class KnownHosts.HashedHostKey extends HostKey
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]
hash
private static java.lang.String
HASH_DELIM
private static java.lang.String
HASH_MAGIC
private boolean
hashed
(package private) byte[]
salt
-
Constructor Summary
Constructors Constructor Description HashedHostKey(java.lang.String host, byte[] key)
HashedHostKey(java.lang.String host, int type, byte[] key)
HashedHostKey(java.lang.String marker, java.lang.String host, int type, byte[] key, java.lang.String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
hash()
(package private) boolean
isHashed()
(package private) boolean
isMatched(java.lang.String _host)
-
Methods inherited from class com.jcraft.jsch.HostKey
getComment, getFingerPrint, getHost, getKey, getMarker, getType, name2type
-
-
-
-
Field Detail
-
HASH_MAGIC
private static final java.lang.String HASH_MAGIC
- See Also:
- Constant Field Values
-
HASH_DELIM
private static final java.lang.String HASH_DELIM
- See Also:
- Constant Field Values
-
hashed
private boolean hashed
-
salt
byte[] salt
-
hash
byte[] hash
-
-
Constructor Detail
-
HashedHostKey
HashedHostKey(java.lang.String host, byte[] key) throws JSchException
- Throws:
JSchException
-
HashedHostKey
HashedHostKey(java.lang.String host, int type, byte[] key) throws JSchException
- Throws:
JSchException
-
HashedHostKey
HashedHostKey(java.lang.String marker, java.lang.String host, int type, byte[] key, java.lang.String comment) throws JSchException
- Throws:
JSchException
-
-