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