Class TrustAllStrategy

java.lang.Object
org.apache.hc.client5.http.ssl.TrustAllStrategy
All Implemented Interfaces:
org.apache.hc.core5.ssl.TrustStrategy

@Contract(threading=STATELESS) public class TrustAllStrategy extends Object implements org.apache.hc.core5.ssl.TrustStrategy
A trust strategy that accepts all certificates as trusted. Verification of all other certificates is done by the trust manager configured in the SSL context.
Since:
4.5.4, 5.0