SecureBlackbox 2020 .NET Edition

Questions / Feedback?

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, OfficeverifierStoreOCSPResponseEventArgs e);

public class OfficeverifierStoreOCSPResponseEventArgs : EventArgs {
  public byte[] OCSPResponse { get; }
  public string URI { get; set; }
}
Public Event OnStoreOCSPResponse As OnStoreOCSPResponseHandler

Public Delegate Sub OnStoreOCSPResponseHandler(sender As Object, e As OfficeverifierStoreOCSPResponseEventArgs)

Public Class OfficeverifierStoreOCSPResponseEventArgs 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]