Package org.apache.ofbiz.base.util
Class MultiTrustManager
java.lang.Object
org.apache.ofbiz.base.util.MultiTrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
MultiTrustManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add.void
checkClientTrusted
(X509Certificate[] certs, String alg) void
checkServerTrusted
(X509Certificate[] certs, String alg)
-
Constructor Details
-
MultiTrustManager
-
MultiTrustManager
public MultiTrustManager()
-
-
Method Details
-
add
Add.- Parameters:
ks
- the ks
-
checkClientTrusted
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-