/** * Instantiates a new trusted proxy authentication trust store ssl socket factory. * @param trustStoreFile the trust store file * @param trustStorePassword the trust store password * @param trustStoreType the trust store type */ public FileTrustStoreSslSocketFactory(final File trustStoreFile, final String trustStorePassword, final String trustStoreType) { super(getTrustedSslContext(trustStoreFile, trustStorePassword, trustStoreType)); }
final X509KeyManager customKeyManager = getKeyManager("PKIX", casTrustStore, trustStorePasswordCharArray); final X509KeyManager jvmKeyManager = getKeyManager(defaultAlgorithm, null, null); final X509TrustManager customTrustManager = getTrustManager("PKIX", casTrustStore); final X509TrustManager jvmTrustManager = getTrustManager(defaultAlgorithm, null);