Package com.logicaldoc.util.http
Class EasyX509TrustManager
- java.lang.Object
-
- com.logicaldoc.util.http.EasyX509TrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class EasyX509TrustManager extends Object implements X509TrustManager
Trust manager that trusts all the certificates.- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description EasyX509TrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] arg0, String arg1)
void
checkServerTrusted(X509Certificate[] arg0, String arg1)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
-