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