class HttpsFactory {

    public SSLContext createSslContext() {
        if (config.isVerifySslCertificatesOfServices()) {
            return createSecureSslContext();
        } else {
            return createIgnoringSslContext();
        }
    }

    public  HttpsFactory(HttpsConfig httpsConfig);

}