RecipientFound Event
Signifies that the archive was found to be encrypted with a digital certificate.
Syntax
type TRecipientFoundEvent = procedure ( Sender: TObject; PublicKeyHash: TBytes; CertFound: Boolean ) of Object;
property OnRecipientFound: TRecipientFoundEvent read FOnRecipientFound write FOnRecipientFound;
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.