public final class SSLUtils extends Object
public static KeyManager[] getDefaultKeyStoreManagers(Logger log)
public static TrustManager[] getDefaultTrustStoreManagers(Logger log)
public static KeyManager[] loadKeyStore(KeyManagerFactory kmf, KeyStore ks, ByteArrayInputStream bin, String keyStoreLocation, String keyStorePassword, Logger log)
protected static byte[] loadFile(String fileName) throws IOException
IOException
public static String getKeystoreAlgorithm(String keyStoreMgrFactoryAlgorithm, Logger log)
public static String getTrustStoreAlgorithm(String trustStoreMgrFactoryAlgorithm, Logger log)
public static SSLContext getSSLContext(String protocol, KeyManager[] keyStoreManagers, TrustManager[] trustStoreManagers) throws NoSuchAlgorithmException, KeyManagementException
public static String[] getSupportedCipherSuites(SSLContext context)
public static String[] getServerSupportedCipherSuites(SSLContext context)
public static String[] getCiphersuitesToInclude(List<String> cipherSuitesList, FiltersType filters, String[] defaultCipherSuites, String[] supportedCipherSuites, Logger log)
public static String[] getFilteredCiphersuites(FiltersType filters, String[] supportedCipherSuites, Logger log, boolean exclude)
public static String getTrustStoreType(String trustStoreType, Logger log, String def)
public static String getTruststorePassword(String trustStorePassword, Logger log)
public static String getTruststoreProvider(String trustStoreProvider, Logger log)
Copyright © 2019 JBoss by Red Hat. All rights reserved.