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.