Secure iNet Factory

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

Nested Class Summary
static class HostKeyVerifier.VerificationException
           
 
Method Summary
 void verify(java.net.InetAddress host, byte[] key)
          Verifies the specified host key.
 

Method Detail

verify

void verify(java.net.InetAddress host,
            byte[] key)
            throws HostKeyVerifier.VerificationException
Verifies the specified host key.

Parameters:
host - host address
key - host key data
Throws:
HostKeyVerifier.VerificationException - if validation error occurs

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved