RetrieveCertificate Event
This event is fired when a certificate should be retrieved.
Syntax
public event OnRetrieveCertificateHandler OnRetrieveCertificate; public delegate void OnRetrieveCertificateHandler(object sender, AsicverifierRetrieveCertificateEventArgs e); public class AsicverifierRetrieveCertificateEventArgs : EventArgs { public string URI { get; } }
Public Event OnRetrieveCertificate As OnRetrieveCertificateHandler Public Delegate Sub OnRetrieveCertificateHandler(sender As Object, e As AsicverifierRetrieveCertificateEventArgs) Public Class AsicverifierRetrieveCertificateEventArgs Inherits EventArgs Public ReadOnly Property URI As String End Class
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.