+// ========================================
+// CoreCertManager
+// ========================================
+class CoreCertManager : public CertManager {
+ Q_OBJECT
+
+public:
+ CoreCertManager(CoreIdentity &identity);
+
+ virtual const QSslKey &sslKey() const;
+ virtual const QSslCertificate &sslCert() const;
+
+public slots:
+ virtual void setSslKey(const QByteArray &encoded);
+ virtual void setSslCert(const QByteArray &encoded);
+
+ void setId(IdentityId id);
+
+private:
+ CoreIdentity &identity;
+};
+
+// =========================================
+// CoreIdentity
+// =========================================