Package tigase.io
Class CertFilesTrustManager
java.lang.Object
tigase.io.CertFilesTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
Class CertFilesTrustManager
- Version:
- $Rev: $
- Author:
- Bartosz Malkowski
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(X509Certificate[] chain, String authType) static CertFilesTrustManagergetInstance(String pathToCertsFiles)
-
Method Details
-
getInstance
- Throws:
Exception
-
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
-