RecipientFound Event
Informs the application that an archive is encrypted with a digital certificate.
Syntax
public open class DefaultArchivereaderEventListener : ArchivereaderEventListener { ... public override fun recipientFound(e: ArchivereaderRecipientFoundEvent) {} ... } public class ArchivereaderRecipientFoundEvent { val recipientHash: ByteArray? val certFound: Boolean }
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.