SecureBlackbox 2020 C++ Edition

Questions / Feedback?

RecipientFound Event

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

Syntax

ANSI (Cross Platform)
virtual int FireRecipientFound(ArchiveReaderRecipientFoundEventParams *e);
typedef struct {
const char *RecipientHash; int lenRecipientHash;
int CertFound; int reserved; } ArchiveReaderRecipientFoundEventParams; Unicode (Windows) virtual INT FireRecipientFound(ArchiveReaderRecipientFoundEventParams *e);
typedef struct {
LPCSTR RecipientHash; INT lenRecipientHash;
BOOL CertFound; INT reserved; } ArchiveReaderRecipientFoundEventParams;
- (void)onRecipientFound:(NSData*)recipientHash :(BOOL)certFound;
#define EID_ARCHIVEREADER_RECIPIENTFOUND 7

virtual INT SECUREBLACKBOX_CALL FireRecipientFound(LPSTR &lpRecipientHash, INT &lenRecipientHash, BOOL &bCertFound);

Remarks

The class 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 C++ Edition - Version 20.0 [Build 8166]