public class SSLUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CIPHER_DHE_REGEX |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
filterCiphers(String excludedCipherRegex,
String[] ciphers) |
static SSLContext |
getSSLContext(TrustManager trustManager) |
static boolean |
supportsDHECipherKeysOf(int length)
Returns
true if the jdk supports DEH cipher keys in the given
length. inspired by http://stackoverflow.com/a/18254095/231357 |
public static final String CIPHER_DHE_REGEX
public static boolean supportsDHECipherKeysOf(int length)
true if the jdk supports DEH cipher keys in the given
length. inspired by http://stackoverflow.com/a/18254095/231357public static final String[] filterCiphers(String excludedCipherRegex, String[] ciphers)
public static SSLContext getSSLContext(TrustManager trustManager) throws NoSuchAlgorithmException, KeyManagementException
Copyright © 2020 Red Hat, Inc. All Rights Reserved.