@Contract(threading=STATELESS) public class TrustAllStrategy extends Object implements org.apache.hc.core5.ssl.TrustStrategy
Modifier and Type | Field and Description |
---|---|
static TrustAllStrategy |
INSTANCE |
Constructor and Description |
---|
TrustAllStrategy() |
public static final TrustAllStrategy INSTANCE
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.