SecureBlackbox 2020 .NET Edition

Questions / Feedback?

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

public class SoapsignerStoreCertificateEventArgs : EventArgs {
  public byte[] Cert { get; }
  public string URI { get; set; }
}
Public Event OnStoreCertificate As OnStoreCertificateHandler

Public Delegate Sub OnStoreCertificateHandler(sender As Object, e As SoapsignerStoreCertificateEventArgs)

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

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