import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { withNamespaces } from 'react-i18next'; import Form from './Form'; import Card from '../../ui/Card'; class Encryption extends Component { handleFormSubmit = (values) => { this.props.setTlsConfig(values); }; render() { const { encryption, t } = this.props; const { processing, processingConfig, ...values } = encryption; return (