org.apache.commons.ssl
Class Ping
java.lang.Object
org.apache.commons.ssl.Ping
public class Ping
- extends Object
- Since:
- 30-Mar-2006
- Author:
- Credit Union Central of British Columbia, www.cucbc.com, juliusdavies@cucbc.com
Nested Class Summary |
static class |
Ping.Arg
|
Constructor Summary |
Ping()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARGS
protected static SortedSet ARGS
ARGS_MATCH
protected static Map ARGS_MATCH
ARG_TARGET
protected static final Ping.Arg ARG_TARGET
ARG_BIND
protected static final Ping.Arg ARG_BIND
ARG_PROXY
protected static final Ping.Arg ARG_PROXY
ARG_TRUST_CERT
protected static final Ping.Arg ARG_TRUST_CERT
ARG_CLIENT_CERT
protected static final Ping.Arg ARG_CLIENT_CERT
ARG_CERT_CHAIN
protected static final Ping.Arg ARG_CERT_CHAIN
ARG_PASSWORD
protected static final Ping.Arg ARG_PASSWORD
ARG_HOST_HEADER
protected static final Ping.Arg ARG_HOST_HEADER
ARG_PATH
protected static final Ping.Arg ARG_PATH
ARG_METHOD
protected static final Ping.Arg ARG_METHOD
target
private static HostPort target
local
private static HostPort local
proxy
private static HostPort proxy
hostHeader
private static String hostHeader
httpMethod
private static String httpMethod
path
private static String path
targetAddress
private static InetAddress targetAddress
localAddress
private static InetAddress localAddress
targetPort
private static int targetPort
localPort
private static int localPort
clientCert
private static File clientCert
certChain
private static File certChain
password
private static char[] password
trustChain
private static TrustChain trustChain
Ping
public Ping()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
testTrust
private static Exception testTrust(SSLClient ssl,
String cipher,
TrustChain tc)
testHostname
private static Exception testHostname(SSLClient ssl)
testCRL
private static Exception testCRL(SSLClient ssl)
testExpiry
private static Exception testExpiry(SSLClient ssl)
parseArgs
private static void parseArgs(String[] cargs)
throws Exception
- Throws:
Exception