com.ning.http.util
Class SslUtils
java.lang.Object
com.ning.http.util.SslUtils
public class SslUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SslUtils
public SslUtils()
getInstance
public static SslUtils getInstance()
createClientSSLEngine
public SSLEngine createClientSSLEngine(AsyncHttpClientConfig config,
String peerHost,
int peerPort)
throws GeneralSecurityException,
IOException
- Throws:
GeneralSecurityException
IOException
getSSLContext
public SSLContext getSSLContext(boolean acceptAnyCertificate)
throws GeneralSecurityException,
IOException
- Throws:
GeneralSecurityException
IOException
Copyright © 2014. All Rights Reserved.