StoreCertificate Event
This event is fired when a certificate should be stored along with a signature.
Syntax
public event OnStoreCertificateHandler OnStoreCertificate; public delegate void OnStoreCertificateHandler(object sender, AsicsignerStoreCertificateEventArgs e); public class AsicsignerStoreCertificateEventArgs : EventArgs { public byte[] Cert { get; } public string URI { get; set; } }
Public Event OnStoreCertificate As OnStoreCertificateHandler Public Delegate Sub OnStoreCertificateHandler(sender As Object, e As AsicsignerStoreCertificateEventArgs) Public Class AsicsignerStoreCertificateEventArgs Inherits EventArgs Public ReadOnly Property Cert As Byte() Public Property URI As String End Class
Remarks
This event could occur if you are verifying XAdES-C form or higher. Cert parameter contains a certificate in binary form that should be stored along with a signature, and the user should provide the URI of the stored certificate.