SecureBlackbox 2020 .NET Edition

Questions / Feedback?

CountersignatureValidated Event

Reports the completion of countersignature validation.

Syntax

public event OnCountersignatureValidatedHandler OnCountersignatureValidated;

public delegate void OnCountersignatureValidatedHandler(object sender, CadesverifierCountersignatureValidatedEventArgs e);

public class CadesverifierCountersignatureValidatedEventArgs : EventArgs {
  public string IssuerRDN { get; }
  public byte[] SerialNumber { get; }
  public byte[] SubjectKeyID { get; }
  public int ValidationResult { get; }
}
Public Event OnCountersignatureValidated As OnCountersignatureValidatedHandler

Public Delegate Sub OnCountersignatureValidatedHandler(sender As Object, e As CadesverifierCountersignatureValidatedEventArgs)

Public Class CadesverifierCountersignatureValidatedEventArgs Inherits EventArgs
  Public ReadOnly Property IssuerRDN As String
  Public ReadOnly Property SerialNumber As Byte()
  Public ReadOnly Property SubjectKeyID As Byte()
  Public ReadOnly Property ValidationResult As Integer
End Class

Remarks

This event marks the completion of a countersignature validation process.

Use IssuerRDN, SerialNumber, and/or SubjectKeyID to identify the signing certificate.

When validation is successful, ValidationResult returns 0. Any other value reports a failure.

cvtValid0The chain is valid

cvtValidButUntrusted1The chain is valid, but the root certificate is not trusted

cvtInvalid2The chain is not valid (some of certificates are revoked, expired, or contain an invalid signature)

cvtCantBeEstablished3The validity of the chain cannot be established because of missing or unavailable validation information (certificates, CRLs, or OCSP responses)

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