// Path: src/main/java/de/idrinth/waraddonclient/service/logger/BaseLogger.java
// public abstract class BaseLogger {
//     protected static final String LEVEL_INFO = "INFO";
// 
//     protected static final String LEVEL_ERROR = "ERROR";
// 
//     protected static final String LEVEL_WARNING = "WARN";
// 
//     protected abstract void log(String message, String severity);
// 
//     public void info(Throwable message) {
//         info(message.getLocalizedMessage());
//     }
// 
//     public void info(String message) {
//         log(message, LEVEL_INFO);
//     }
// 
//     public void warn(Throwable message) {
//         warn(message.getLocalizedMessage());
//     }
// 
//     public void warn(String message) {
//         log(message, LEVEL_WARNING);
//     }
// 
//     public void error(Throwable message) {
//         error(message.getLocalizedMessage());
//     }
// 
//     public void error(String message) {
//         log(message, LEVEL_ERROR);
//     }
// }


import de.idrinth.waraddonclient.service.logger.BaseLogger;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import org.apache.http.ssl.TrustStrategy;
package de.idrinth.waraddonclient.model;


public class TrustManager implements TrustStrategy {

    private java.security.KeyStore keyStore;

    private final javax.net.ssl.X509TrustManager manager;
    
// Path: src/main/java/de/idrinth/waraddonclient/service/logger/BaseLogger.java
// public abstract class BaseLogger {
//     protected static final String LEVEL_INFO = "INFO";
// 
//     protected static final String LEVEL_ERROR = "ERROR";
// 
//     protected static final String LEVEL_WARNING = "WARN";
// 
//     protected abstract void log(String message, String severity);
// 
//     public void info(Throwable message) {
//         info(message.getLocalizedMessage());
//     }
// 
//     public void info(String message) {
//         log(message, LEVEL_INFO);
//     }
// 
//     public void warn(Throwable message) {
//         warn(message.getLocalizedMessage());
//     }
// 
//     public void warn(String message) {
//         log(message, LEVEL_WARNING);
//     }
// 
//     public void error(Throwable message) {
//         error(message.getLocalizedMessage());
//     }
// 
//     public void error(String message) {
//         log(message, LEVEL_ERROR);
//     }
// }


// Path: src/main/java/de/idrinth/waraddonclient/model/TrustManager.java
import de.idrinth.waraddonclient.service.logger.BaseLogger;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import org.apache.http.ssl.TrustStrategy;

package de.idrinth.waraddonclient.model;


public class TrustManager implements TrustStrategy {

    private java.security.KeyStore keyStore;

    private final javax.net.ssl.X509TrustManager manager;
    
    private final BaseLogger logger;