public class AdditionalKeyStoresSSLSocketFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AdditionalKeyStoresSSLSocketFactory.AdditionalKeyStoresTrustManager |
Constructor and Description |
---|
AdditionalKeyStoresSSLSocketFactory() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.conn.ssl.SSLConnectionSocketFactory |
create(java.security.KeyStore keyStore,
java.lang.Class<?> socketFactory)
Creates a customized keystore
|
public static org.apache.http.conn.ssl.SSLConnectionSocketFactory create(java.security.KeyStore keyStore, java.lang.Class<?> socketFactory) throws java.security.NoSuchAlgorithmException, java.security.KeyManagementException
keyStore
- The keystore object that should be used in addition to the environments
default key store.socketFactory
- The class that should be used to instantiate a new socket factory, must
be a subclass of SSLConnectionSocketFactory
.SSLConnectionSocketFactory
java.security.NoSuchAlgorithmException
java.security.KeyManagementException