Package io.jmix.imap.impl
Class ImapStoreBuilder.UnifiedTrustManager
java.lang.Object
io.jmix.imap.impl.ImapStoreBuilder.UnifiedTrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
- Enclosing class:
- ImapStoreBuilder
protected static class ImapStoreBuilder.UnifiedTrustManager
extends Object
implements X509TrustManager
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] chain, String authType) void
checkServerTrusted
(X509Certificate[] chain, String authType) protected X509TrustManager
createTrustManager
(KeyStore store)
-
Field Details
-
defaultTrustManager
-
localTrustManager
-
-
Method Details
-
createTrustManager
protected X509TrustManager createTrustManager(KeyStore store) throws NoSuchAlgorithmException, KeyStoreException -
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-