com.hs.mail.container.server
Class SSLContextFactory
java.lang.Object
com.hs.mail.container.server.SSLContextFactory
public class SSLContextFactory
- extends Object
Factory used to create SSLContexts.
- Since:
- Jul 29, 2010
- Author:
- Won Chul Doh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLContextFactory
public SSLContextFactory()
createContext
public static SSLContext createContext(String keyStore,
String keyStorePassword,
String certificatePassword)
- Creates a SSLContext appropriate for use
- Parameters:
keyStore
- the Java keystore filekeyStorePassword
- password for the Java keystorecertificatePassword
- certificate password
- Returns:
- SSLContext
Copyright © 2011. All Rights Reserved.