Class SSLUtil
- java.lang.Object
-
- org.wso2.carbon.websocket.transport.utils.SSLUtil
-
public class SSLUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SSLUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SSLContext
createClientSSLContext(String trustStoreLocation, String trustStorePwd)
static SSLContext
createServerSSLContext(String keyStoreLocation, String keyStorePwd)
static TrustManagerFactory
createTrustmanager(String trustStoreLocation, String trustStorePwd)
-
-
-
Method Detail
-
createServerSSLContext
public static SSLContext createServerSSLContext(String keyStoreLocation, String keyStorePwd)
-
createClientSSLContext
public static SSLContext createClientSSLContext(String trustStoreLocation, String trustStorePwd)
-
createTrustmanager
public static TrustManagerFactory createTrustmanager(String trustStoreLocation, String trustStorePwd)
-
-