BeforeOpenStorage Event
Informs about imminent access to the certificate storage.
Syntax
type TBeforeOpenStorageEvent = procedure ( Sender: TObject; ConnectionId: Int64; var StorageId: String; var SigningCertificate: String; var CertificatePassword: String ) of Object;
property OnBeforeOpenStorage: TBeforeOpenStorageEvent 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.