public class SslUtils extends Object
| Constructor and Description |
|---|
SslUtils() |
| Modifier and Type | Method and Description |
|---|---|
SSLEngine |
createClientSSLEngine(AsyncHttpClientConfig config,
String peerHost,
int peerPort) |
static SslUtils |
getInstance() |
SSLContext |
getSSLContext(boolean acceptAnyCertificate) |
public static SslUtils getInstance()
public SSLEngine createClientSSLEngine(AsyncHttpClientConfig config, String peerHost, int peerPort) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionpublic SSLContext getSSLContext(boolean acceptAnyCertificate) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionCopyright © 2014. All Rights Reserved.