RecipientFound Event
Informs the application that an archive is encrypted with a digital certificate.
Syntax
archivereader.on('RecipientFound', [callback])
Callback
The 'callback' is called when the 'RecipientFound' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.recipientHash (buffer) e.certFound
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.