com.ning.http.util
Class SslUtils

java.lang.Object
  extended by com.ning.http.util.SslUtils

public class SslUtils
extends Object


Constructor Summary
SslUtils()
           
 
Method Summary
 SSLEngine createClientSSLEngine(AsyncHttpClientConfig config, String peerHost, int peerPort)
           
static SslUtils getInstance()
           
 SSLContext getSSLContext(boolean acceptAnyCertificate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslUtils

public SslUtils()
Method Detail

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.