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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(X509Certificate[] chain, String authType) protected X509TrustManagercreateTrustManager(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:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-