public class Ping extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Ping.Arg |
Modifier and Type | Field and Description |
---|---|
protected static Ping.Arg |
ARG_BIND |
protected static Ping.Arg |
ARG_CERT_CHAIN |
protected static Ping.Arg |
ARG_CLIENT_CERT |
protected static Ping.Arg |
ARG_HOST_HEADER |
protected static Ping.Arg |
ARG_METHOD |
protected static Ping.Arg |
ARG_PASSWORD |
protected static Ping.Arg |
ARG_PATH |
protected static Ping.Arg |
ARG_PROXY |
protected static Ping.Arg |
ARG_TARGET |
protected static Ping.Arg |
ARG_TRUST_CERT |
protected static SortedSet |
ARGS |
protected static Map |
ARGS_MATCH |
private static File |
certChain |
private static File |
clientCert |
private static String |
hostHeader |
private static String |
httpMethod |
private static HostPort |
local |
private static InetAddress |
localAddress |
private static int |
localPort |
private static char[] |
password |
private static String |
path |
private static HostPort |
proxy |
private static HostPort |
target |
private static InetAddress |
targetAddress |
private static int |
targetPort |
private static TrustChain |
trustChain |
Constructor and Description |
---|
Ping() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
private static void |
parseArgs(String[] cargs) |
private static Exception |
testCRL(SSLClient ssl) |
private static Exception |
testExpiry(SSLClient ssl) |
private static Exception |
testHostname(SSLClient ssl) |
private static Exception |
testTrust(SSLClient ssl,
String cipher,
TrustChain tc) |
protected static Map ARGS_MATCH
protected static final Ping.Arg ARG_TARGET
protected static final Ping.Arg ARG_TRUST_CERT
protected static final Ping.Arg ARG_CLIENT_CERT
protected static final Ping.Arg ARG_CERT_CHAIN
protected static final Ping.Arg ARG_PASSWORD
protected static final Ping.Arg ARG_HOST_HEADER
protected static final Ping.Arg ARG_METHOD
private static String hostHeader
private static String httpMethod
private static InetAddress targetAddress
private static InetAddress localAddress
private static int targetPort
private static int localPort
private static File clientCert
private static char[] password
private static TrustChain trustChain
public Ping()
private static Exception testTrust(SSLClient ssl, String cipher, TrustChain tc)
private static Exception testHostname(SSLClient ssl)
private static Exception testExpiry(SSLClient ssl)