public final class SSLCertPlugin extends AbstractPlugin
This class is designed to be used by the capabilities daemon to test for the existance of an TCP server on remote interfaces. The class implements the Plugin interface that allows it to be used along with other plugins by the daemon.
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_PORT |
static String |
PARAMETER_RETRY |
static String |
PARAMETER_TIMEOUT |
| Constructor and Description |
|---|
SSLCertPlugin() |
| Modifier and Type | Method and Description |
|---|---|
String |
getProtocolName()
Returns the name of the protocol that this plugin checks on the target
system for support.
|
protected SocketWrapper |
getSocketWrapper()
wrapSocket
|
boolean |
isProtocolSupported(InetAddress address)
Returns true if the protocol defined by this plugin is supported.
|
boolean |
isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
Returns true if the protocol defined by this plugin is supported.
|
public static final String PARAMETER_TIMEOUT
public static final String PARAMETER_RETRY
public static final String PARAMETER_PORT
public String getProtocolName()
getProtocolName in interface PlugingetProtocolName in class AbstractPluginpublic boolean isProtocolSupported(InetAddress address)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.public boolean isProtocolSupported(InetAddress address, Map<String,Object> qualifiers)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.qualifiers - The map where qualification are set by the plugin.protected SocketWrapper getSocketWrapper()
wrapSocket
socket - a Socket object.Socket object.IOException - if any.Copyright © 2015. All rights reserved.