SecureBlackbox Lite 2020 .NET Edition

Questions / Feedback?

RecipientFound Event

Signifies that the archive was found to be encrypted with a digital certificate.

Syntax

public event OnRecipientFoundHandler OnRecipientFound;

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

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

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

Public Class ArchivewriterRecipientFoundEventArgs Inherits EventArgs
  Public ReadOnly Property PublicKeyHash As Byte()
  Public ReadOnly Property CertFound As Boolean
End Class

Remarks

The component fires this event to notify the application that the archive was found to be encrypted with a digital certificate. The hash of the certificate's public key is provided in the PublicKeyHash parameter.

CertFound indicates whether a certificate with a matching public key hash was found in the DecryptionCertificates list. If it wasn't, you need to locate it on the system and add it to that list: component won't be able to decrypt the archive otherwise.

Please note that the certificate must have an associated private key to be capable of decryption.

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