+
+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, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
+ connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated()));
+#endif