if (cipherSuitesFilter != null) {
newInstance.setCipherSuitesFilter(createFilterParameters(cipherSuitesFilter));
}
if (secureSocketProtocols != null) {
SecureSocketProtocolsParameters secureSocketProtocolsInstance = new SecureSocketProtocolsParameters();
secureSocketProtocolsInstance.getSecureSocketProtocol().addAll(secureSocketProtocols.getSecureSocketProtocol());
newInstance.setSecureSocketProtocols(secureSocketProtocolsInstance);
}
if (secureSocketProtocolsFilter != null) {
newInstance.setSecureSocketProtocolsFilter(createFilterParameters(secureSocketProtocolsFilter));