org.apache.qpid.transport.network.security.ssl
Class SSLUtil

java.lang.Object
  extended by org.apache.qpid.transport.network.security.ssl.SSLUtil

public class SSLUtil
extends Object


Constructor Summary
SSLUtil()
           
 
Method Summary
static SSLContext createSSLContext(ConnectionSettings settings)
           
static KeyStore getInitializedKeyStore(String storePath, String storePassword)
           
static String retriveIdentity(SSLEngine engine)
           
static void verifyHostname(SSLEngine engine, String hostnameExpected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLUtil

public SSLUtil()
Method Detail

verifyHostname

public static void verifyHostname(SSLEngine engine,
                                  String hostnameExpected)

retriveIdentity

public static String retriveIdentity(SSLEngine engine)

createSSLContext

public static SSLContext createSSLContext(ConnectionSettings settings)
                                   throws Exception
Throws:
Exception

getInitializedKeyStore

public static KeyStore getInitializedKeyStore(String storePath,
                                              String storePassword)
                                       throws GeneralSecurityException,
                                              IOException
Throws:
GeneralSecurityException
IOException


Licensed to the Apache Software Foundation