BeforeOpenStorage Event
Informs about imminent access to the certificate storage.
Syntax
dcauthwebserver.on('BeforeOpenStorage', [callback])
Callback
The 'callback' is called when the 'BeforeOpenStorage' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.connectionId e.storageId e.signingCertificate e.certificatePassword
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.