SSLSocketFactory(Settings settings, SecureSettings secureSettings) { sslProtocol = settings.getNetworkSSLProtocol(); keyStoreLocation = settings.getNetworkSSLKeyStoreLocation(); keyStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_KEYSTORE_PASS); keyStoreType = settings.getNetworkSSLKeyStoreType(); trustStoreLocation = settings.getNetworkSSLTrustStoreLocation(); trustStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_TRUST_STORE_PASS); trust = (settings.getNetworkSSLAcceptSelfSignedCert() ? new SelfSignedStrategy() : null); }
SSLSocketFactory(Settings settings) { sslProtocol = settings.getNetworkSSLProtocol(); keyStoreLocation = settings.getNetworkSSLKeyStoreLocation(); keyStorePass = settings.getNetworkSSLKeyStorePass(); keyStoreType = settings.getNetworkSSLKeyStoreType(); trustStoreLocation = settings.getNetworkSSLTrustStoreLocation(); trustStorePass = settings.getNetworkSSLTrustStorePass(); trust = (settings.getNetworkSSLAcceptSelfSignedCert() ? new SelfSignedStrategy() : null); }
SSLSocketFactory(Settings settings, SecureSettings secureSettings) { sslProtocol = settings.getNetworkSSLProtocol(); keyStoreLocation = settings.getNetworkSSLKeyStoreLocation(); keyStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_KEYSTORE_PASS); keyStoreType = settings.getNetworkSSLKeyStoreType(); trustStoreLocation = settings.getNetworkSSLTrustStoreLocation(); trustStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_TRUST_STORE_PASS); trust = (settings.getNetworkSSLAcceptSelfSignedCert() ? new SelfSignedStrategy() : null); }
SSLSocketFactory(Settings settings, SecureSettings secureSettings) { sslProtocol = settings.getNetworkSSLProtocol(); keyStoreLocation = settings.getNetworkSSLKeyStoreLocation(); keyStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_KEYSTORE_PASS); keyStoreType = settings.getNetworkSSLKeyStoreType(); trustStoreLocation = settings.getNetworkSSLTrustStoreLocation(); trustStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_TRUST_STORE_PASS); trust = (settings.getNetworkSSLAcceptSelfSignedCert() ? new SelfSignedStrategy() : null); }
SSLSocketFactory(Settings settings, SecureSettings secureSettings) { sslProtocol = settings.getNetworkSSLProtocol(); keyStoreLocation = settings.getNetworkSSLKeyStoreLocation(); keyStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_KEYSTORE_PASS); keyStoreType = settings.getNetworkSSLKeyStoreType(); trustStoreLocation = settings.getNetworkSSLTrustStoreLocation(); trustStorePass = secureSettings.getSecureProperty(ConfigurationOptions.ES_NET_SSL_TRUST_STORE_PASS); trust = (settings.getNetworkSSLAcceptSelfSignedCert() ? new SelfSignedStrategy() : null); }