com.jscape.inet.ssh.util
Interface HostKeyVerifier
- All Known Implementing Classes:
- HostKeyFingerprintVerifier
public interface HostKeyVerifier
Defines the host key validation contract.
All methods throw NullPointerException if some object
parameter is null and IllegalArgumentException
if some parameter doesn't correspond to the method contract.
- Author:
- Alex
|
Method Summary |
void |
verify(java.net.InetAddress host,
byte[] key)
Verifies the specified host key. |
verify
void verify(java.net.InetAddress host,
byte[] key)
throws HostKeyVerifier.VerificationException
- Verifies the specified host key.
- Parameters:
host - host addresskey - host key data
- Throws:
HostKeyVerifier.VerificationException - if validation error occurs
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved