Class TrustManagerWrapper
java.lang.Object
com.predic8.membrane.core.transport.TrustManagerWrapper
- All Implemented Interfaces:
TrustManager,X509TrustManager
-
Constructor Summary
ConstructorsConstructorDescriptionTrustManagerWrapper(TrustManager[] trustManagers, boolean ignoreTimestampCheckFailure) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(X509Certificate[] chain, String authType)
-
Constructor Details
-
TrustManagerWrapper
public TrustManagerWrapper(TrustManager[] trustManagers, boolean ignoreTimestampCheckFailure) throws KeyManagementException - Throws:
KeyManagementException
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-