+
+CoreIdentity::CoreIdentity(const CoreIdentity &other, QObject *parent)
+ : Identity(other, parent)
+#ifdef HAVE_SSL
+ , _sslKey(other._sslKey),
+ _sslCert(other._sslCert),
+ _certManager(*this)
+#endif
+{
+#ifdef HAVE_SSL
+ connect(this, &Identity::idSet, &_certManager, &CoreCertManager::setId);
+ connect(&_certManager, &SyncableObject::updated, this, &SyncableObject::updated);
+#endif