BeforeOpenStorage Event
Informs about imminent access to the certificate storage.
Syntax
typedef struct { __int64 ConnectionId; String StorageId; String SigningCertificate; String CertificatePassword; } TsbxDCAuthWebServerBeforeOpenStorageEventParams; typedef void __fastcall (__closure *TsbxDCAuthWebServerBeforeOpenStorageEvent)(System::TObject* Sender, TsbxDCAuthWebServerBeforeOpenStorageEventParams *e); __property TsbxDCAuthWebServerBeforeOpenStorageEvent OnBeforeOpenStorage = { read=FOnBeforeOpenStorage, write=FOnBeforeOpenStorage };
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.