public interface HostKeyVerificationService
Modifier and Type | Interface and Description |
---|---|
static class |
HostKeyVerificationService.InvalidHostKeyException
Represents a verification failure.
|
static class |
HostKeyVerificationService.OperationException
Represents operation error.
|
Modifier and Type | Field and Description |
---|---|
static HostKeyVerificationService |
NULL
Represents a service which does no verification.
|
Modifier and Type | Method and Description |
---|---|
void |
assertKeyValid(java.net.InetAddress host,
java.security.PublicKey key)
Checks if specified key is valid.
|
static final HostKeyVerificationService NULL
void assertKeyValid(java.net.InetAddress host, java.security.PublicKey key) throws HostKeyVerificationService.OperationException
host
- a server hostkey
- a server keyHostKeyVerificationService.OperationException
- if an error occursCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved