- virtual inline const QSslCertificate &certificate() const { return _cert; }
- virtual inline const QSslKey &key() const { return _key; }
- virtual inline bool isCertValid() const { return _isCertValid; }
+ const QSslCertificate& certificate() const { return _cert; }
+ const QSslKey& key() const { return _key; }
+ bool isCertValid() const { return _isCertValid; }
+
+ /**
+ * Reloads SSL certificates used for connections
+ *
+ * If this command fails, it will try to maintain the most recent working certificate. Error
+ * conditions are automatically written to the log.
+ *
+ * @return True if certificates reloaded successfully, otherwise false.
+ */
+ bool reloadCerts();