BeforeOpenStorage Event
Informs about imminent access to the certificate storage.
Syntax
class DCAuthWebServerBeforeOpenStorageEventParams { public: qint64 ConnectionId(); const QString &StorageId(); void SetStorageId(const QString &qsStorageId); const QString &SigningCertificate(); void SetSigningCertificate(const QString &qsSigningCertificate); const QString &CertificatePassword(); void SetCertificatePassword(const QString &qsCertificatePassword); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void BeforeOpenStorage(DCAuthWebServerBeforeOpenStorageEventParams *e);
// Or, subclass DCAuthWebServer and override this emitter function. virtual int FireBeforeOpenStorage(DCAuthWebServerBeforeOpenStorageEventParams *e) {...}
Remarks
This event is fired to inform the application that the configured certificate is about to be accessed for the purpose of signing. The location of the certificate is taken from SigningCertificate and StorageId properties. The application may alter these parameters in this event handler to specify a different certificate, if required.