RetrieveCertificate Event
This event is fired when a certificate should be retrieved.
Syntax
asicverifier.on('RetrieveCertificate', [callback])
Callback
The 'callback' is called when the 'RetrieveCertificate' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.URI
Remarks
This event could occur if you are verifying XAdES-C form or higher. URI parameter contains a URI value of the stored certificate along with a signature. The user should add the certificate to the KnownCertificates property.