SecureBlackbox 2020 .NET Edition

Questions / Feedback?

RecipientFound Event

Informs the application that an archive is encrypted with a digital certificate.

Syntax

public event OnRecipientFoundHandler OnRecipientFound;

public delegate void OnRecipientFoundHandler(object sender, ArchivereaderRecipientFoundEventArgs e);

public class ArchivereaderRecipientFoundEventArgs : EventArgs {
  public byte[] RecipientHash { get; }
  public bool CertFound { get; }
}
Public Event OnRecipientFound As OnRecipientFoundHandler

Public Delegate Sub OnRecipientFoundHandler(sender As Object, e As ArchivereaderRecipientFoundEventArgs)

Public Class ArchivereaderRecipientFoundEventArgs Inherits EventArgs
  Public ReadOnly Property RecipientHash As Byte()
  Public ReadOnly Property CertFound As Boolean
End Class

Remarks

The component fires this event when processing archives encrypted with an X.509 certificate. CertFound indicates whether the matching certificate has been found in DecryptionCertificates collection.

This event is an opportunity to add the decryption certificate on a later stage if it was not known at the start of the processing.

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