Package org.apache.http.conn.ssl
Class TrustAllStrategy
java.lang.Object
org.apache.http.conn.ssl.TrustAllStrategy
- All Implemented Interfaces:
TrustStrategy
,org.apache.http.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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
TrustAllStrategy
public TrustAllStrategy()
-
-
Method Details
-
isTrusted
- Specified by:
isTrusted
in interfaceorg.apache.http.ssl.TrustStrategy
- Throws:
CertificateException
-