@Contract(threading=STATELESS) public class TrustAllStrategy extends Object implements org.apache.hc.core5.ssl.TrustStrategy
SSLContextBuilder
loadTrustMaterial
methods.Modifier and Type | Field and Description |
---|---|
static TrustAllStrategy |
INSTANCE
Default instance of
TrustAllStrategy . |
Constructor and Description |
---|
TrustAllStrategy() |
public static final TrustAllStrategy INSTANCE
TrustAllStrategy
.public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException
isTrusted
in interface org.apache.hc.core5.ssl.TrustStrategy
CertificateException
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.