KeyManager[] keyManagers = null;
TrustManager[] trustManagers = null;
if(trustAll)
{
BlindTrustManagerProvider blindTrustProvider =
new BlindTrustManagerProvider();
trustManagers = blindTrustProvider.getTrustManagers();
} else if (trustStorePath == null) {
trustManagers = PromptTrustManager.getTrustManagers();
} else
{
TrustManager[] tmpTrustManagers =