ChainValidated Event
Reports the end of the validation process.
Syntax
public event OnChainValidatedHandler OnChainValidated; public delegate void OnChainValidatedHandler(object sender, XadesverifierChainValidatedEventArgs e); public class XadesverifierChainValidatedEventArgs : EventArgs { public string SubjectRDN { get; } public int ValidationResult { get; } public int ValidationDetails { get; } }
Public Event OnChainValidated As OnChainValidatedHandler Public Delegate Sub OnChainValidatedHandler(sender As Object, e As XadesverifierChainValidatedEventArgs) Public Class XadesverifierChainValidatedEventArgs Inherits EventArgs Public ReadOnly Property SubjectRDN As String Public ReadOnly Property ValidationResult As Integer Public ReadOnly Property ValidationDetails As Integer End Class
Remarks
This event is fired when a certificate chain has been validated. SubjectRDN identifies the owner of the validated certificate.
If ValidationResult equals to 0 (zero), validation has succeeded. Any other value reports failure, and ValidationDetails specifies more details on possible reason for it.