Package uk.ac.ebi.utils.opt.net
Class SSLUtils.FakeX509TrustManager
java.lang.Object
uk.ac.ebi.utils.opt.net.SSLUtils.FakeX509TrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
- Enclosing class:
- SSLUtils
Trusts all certificates.
- Author:
- brandizi
- Date:
- 19 Jan 2017
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] certs, String authType) void
checkServerTrusted
(X509Certificate[] certs, String authType)
-
Constructor Details
-
FakeX509TrustManager
public FakeX509TrustManager()
-
-
Method Details
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkClientTrusted
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-