public class SslTrustUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SslTrustUtils.DelegatingTrustManager |
Modifier and Type | Field and Description |
---|---|
static javax.net.ssl.HostnameVerifier |
ALL_HOSTS_VALID |
static javax.net.ssl.TrustManager |
TRUST_ALL
trusts all SSL certificates
|
static javax.net.ssl.TrustManager |
TRUST_NONE
trusts no SSL certificates
|
Constructor and Description |
---|
SslTrustUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends java.net.URLConnection> |
trustAll(T connection)
configures a connection to accept all certificates, if it is for https
|