Class KnownHostMatchers.HashedHostMatcher
java.lang.Object
com.hierynomus.sshj.transport.verification.KnownHostMatchers.HashedHostMatcher
- All Implemented Interfaces:
KnownHostMatchers.HostMatcher
- Enclosing class:
KnownHostMatchers
private static class KnownHostMatchers.HashedHostMatcher
extends Object
implements KnownHostMatchers.HostMatcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
sha1
-
hash
-
salt
-
saltyBytes
private byte[] saltyBytes
-
-
Constructor Details
-
HashedHostMatcher
HashedHostMatcher(String hash) throws SSHException - Throws:
SSHException
-
-
Method Details
-
match
- Specified by:
match
in interfaceKnownHostMatchers.HostMatcher
- Throws:
IOException
-
hashHost
- Throws:
IOException
-
getSaltyBytes
private byte[] getSaltyBytes()
-