CertIdentity::CertIdentity(const CertIdentity& other, QObject* parent)
: Identity(other, parent)
-#ifdef HAVE_SSL
, _isDirty(other._isDirty)
, _sslKey(other._sslKey)
, _sslCert(other._sslCert)
-#endif
{}
-#ifdef HAVE_SSL
void CertIdentity::enableEditSsl(bool enable)
{
if (!enable || _certManager)
{
_certIdentity->setSslCert(QSslCertificate(encoded));
}
-
-#endif // HAVE_SSL