Package com.soffid.iam.ssl
Class ConnectionFactory
- java.lang.Object
-
- com.soffid.iam.ssl.ConnectionFactory
-
public class ConnectionFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpURLConnection
getConnection(URL url)
static SSLSocketFactory
getSocketFactory()
static void
reloadKeys()
static void
setTrustedCertificateLoader(TrustedCertificateLoader loader)
-
-
-
Method Detail
-
setTrustedCertificateLoader
public static void setTrustedCertificateLoader(TrustedCertificateLoader loader)
-
reloadKeys
public static void reloadKeys() throws KeyManagementException, UnrecoverableKeyException, KeyStoreException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException
-
getSocketFactory
public static SSLSocketFactory getSocketFactory() throws KeyManagementException, UnrecoverableKeyException, KeyStoreException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException
-
getConnection
public static HttpURLConnection getConnection(URL url) throws RemoteException
- Throws:
RemoteException
-
-