public abstract class SSLUtil extends Object
| Constructor and Description |
|---|
SSLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SSLContext |
getSSLContext(KeyManager[] keymanagers)
Returns a SSLContext
|
static SSLContext |
setupClientSSL(String certPath,
String certPassword)
Create a SSLContext with provided client certificate
|
public static SSLContext getSSLContext(KeyManager[] keymanagers) throws SSLConfigurationException
keymanagers - KeyManager[] The key managersSSLConfigurationExceptionIOException - if an IOException occurspublic static SSLContext setupClientSSL(String certPath, String certPassword) throws SSLConfigurationException
certPath - certPassword - SSLConfigurationExceptionCopyright © 2016. All Rights Reserved.