public class ControlPanel extends Object
Constructor and Description |
---|
ControlPanel() |
Modifier and Type | Method and Description |
---|---|
static void |
displaySystemProperties()
Sorts and displays the system properties.
|
static boolean |
doVerifyServerHostName()
Checks the setting for HTTPS host name verification.
|
static HashSet<X509Certificate>[] |
getCertificates(ILogConsole logger,
boolean isVerbose)
Loads the certificates: CA, JSSE and Trusted Certificates (Code Signing).
|
static String[] |
getClientCertificatesKeystoreFileNames()
Gets the file name for the System Client Certificates keystore.
|
static boolean |
initDeployData(ILogConsole logger)
Initializes the control panel to load the deployment data.
|
static void |
processProxyParam(ILogConsole logger,
String param,
boolean isApplet,
boolean isVerbose)
Checks the proxy option parameters and acts accordingly to install or not the proxy support.
|
static boolean |
useSystemProxies()
Checks if system proxies are used by default.
|
public static boolean useSystemProxies()
public static boolean doVerifyServerHostName()
public static void displaySystemProperties()
public static void processProxyParam(ILogConsole logger, String param, boolean isApplet, boolean isVerbose)
param
- The parameter for the proxy. It can be "*SYSTEM" (case is ignored), or a list of proxies
such as proxy1:proxy2:...
where each proxy definition is either a HTTP(S)-type
of proxy can start with *SOCKS:
to indicate that the socket is of SOCKS type,
then two parameters as PROXYHOST:PORT
(note: the port specification must be a valid
integer between 1 and 65534). The proxy specification can also be "*DIRECT", where no
PROXYHOST:PORT
is used at all.
Example: MYHTTP:8080:*SOCKS:MYSOCKS:1080
.isApplet
- Flag indicating this is an applet.isVerbose
- If the option "Verbose" is enabled and should print verbose information.public static boolean initDeployData(ILogConsole logger)
public static HashSet<X509Certificate>[] getCertificates(ILogConsole logger, boolean isVerbose)
initDeployData()
has been called.ArrayList<X509Certificate>
. The first
list contains the CA certificates, the second, the JSSE trusted certificates,
and the third the Trusted (code signing) certificates.public static String[] getClientCertificatesKeystoreFileNames()
initDeployData()
has been called.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.