public class SSLSupport extends Object
Constructor and Description |
---|
SSLSupport() |
Modifier and Type | Method and Description |
---|---|
static SSLContext |
createClientContext(String keystorePath,
String keystorePassword) |
static SSLContext |
createServerContext(String keystorePath,
String keystorePassword,
String trustStorePath,
String trustStorePassword) |
static SSLContext |
getInstance(boolean client,
String keystorePath,
String keystorePassword,
String trustStorePath,
String trustStorePassword) |
public static SSLContext createServerContext(String keystorePath, String keystorePassword, String trustStorePath, String trustStorePassword) throws Exception
Exception
public static SSLContext createClientContext(String keystorePath, String keystorePassword) throws Exception
Exception
public static SSLContext getInstance(boolean client, String keystorePath, String keystorePassword, String trustStorePath, String trustStorePassword) throws GeneralSecurityException, Exception
GeneralSecurityException
Exception
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.