com.hs.mail.container.server
Class SSLContextFactory

java.lang.Object
  extended by com.hs.mail.container.server.SSLContextFactory

public class SSLContextFactory
extends Object

Factory used to create SSLContexts.

Since:
Jul 29, 2010
Author:
Won Chul Doh

Constructor Summary
SSLContextFactory()
           
 
Method Summary
static SSLContext createContext(String keyStore, String keyStorePassword, String certificatePassword)
          Creates a SSLContext appropriate for use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLContextFactory

public SSLContextFactory()
Method Detail

createContext

public static SSLContext createContext(String keyStore,
                                       String keyStorePassword,
                                       String certificatePassword)
Creates a SSLContext appropriate for use

Parameters:
keyStore - the Java keystore file
keyStorePassword - password for the Java keystore
certificatePassword - certificate password
Returns:
SSLContext


Copyright © 2011. All Rights Reserved.