Package org.apache.http.conn.ssl
Class TrustSelfSignedStrategy
java.lang.Object
org.apache.http.conn.ssl.TrustSelfSignedStrategy
- All Implemented Interfaces:
TrustStrategy
,org.apache.http.ssl.TrustStrategy
A trust strategy that accepts self-signed certificates as trusted. Verification of all other
certificates is done by the trust manager configured in the SSL context.
- Since:
- 4.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
TrustSelfSignedStrategy
public TrustSelfSignedStrategy()
-
-
Method Details
-
isTrusted
- Specified by:
isTrusted
in interfaceorg.apache.http.ssl.TrustStrategy
- Throws:
CertificateException
-