public class SecurityUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SecurityUtils.SSLCredentials |
static class |
SecurityUtils.StoreCredentials |
Constructor and Description |
---|
SecurityUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
defaultTLSVersion() |
static java.lang.String |
generateSSLConfig(SecurityUtils.SSLCredentials credentials) |
static java.lang.String |
generateSSLConfig(SecurityUtils.SSLCredentials credentials,
java.lang.String file) |
static SecurityUtils.SSLCredentials |
generateSSLPair() |
static SecurityUtils.SSLCredentials |
generateSSLPair(java.lang.String passwd,
java.lang.String name,
java.lang.String location) |
static java.lang.String |
passwordGenerator(int len) |
public static SecurityUtils.SSLCredentials generateSSLPair(java.lang.String passwd, java.lang.String name, java.lang.String location) throws java.lang.Exception
java.lang.Exception
public static SecurityUtils.SSLCredentials generateSSLPair() throws java.lang.Exception
java.lang.Exception
public static java.lang.String passwordGenerator(int len)
public static java.lang.String generateSSLConfig(SecurityUtils.SSLCredentials credentials) throws java.io.IOException
java.io.IOException
public static java.lang.String generateSSLConfig(SecurityUtils.SSLCredentials credentials, java.lang.String file) throws java.io.IOException
java.io.IOException
public static java.lang.String defaultTLSVersion()