public class TLSUtils extends Object
| Constructor and Description |
|---|
TLSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static SSLContext |
getSecureContext(Configuration sslConfig) |
static SSLContext |
getSecureContext(String contextTransportAlgo,
String keyManagerAlgo,
String keyStoreType,
String keyStorePassword,
String keyStoreFile,
String trustManagerAlgo,
String trustStoreType,
String trustStorePassword,
String trustStoreFile) |
static Configuration |
getSSLConfiguration(Configuration cnf,
String ref) |
public static SSLContext getSecureContext(Configuration sslConfig) throws Exception
Exceptionpublic static SSLContext getSecureContext(String contextTransportAlgo, String keyManagerAlgo, String keyStoreType, String keyStorePassword, String keyStoreFile, String trustManagerAlgo, String trustStoreType, String trustStorePassword, String trustStoreFile) throws Exception
Exceptionpublic static Configuration getSSLConfiguration(Configuration cnf, String ref)
Copyright © 2016. All Rights Reserved.