RecipientFound Event
Provides recipient certificate details to the application.
Syntax
public event OnRecipientFoundHandler OnRecipientFound; public delegate void OnRecipientFoundHandler(object sender, PdfverifierRecipientFoundEventArgs e); public class PdfverifierRecipientFoundEventArgs : EventArgs { public string IssuerRDN { get; } public byte[] SerialNumber { get; } public byte[] SubjectKeyID { get; } public bool CertFound { get; } }
Public Event OnRecipientFound As OnRecipientFoundHandler Public Delegate Sub OnRecipientFoundHandler(sender As Object, e As PdfverifierRecipientFoundEventArgs) Public Class PdfverifierRecipientFoundEventArgs Inherits EventArgs Public ReadOnly Property IssuerRDN As String Public ReadOnly Property SerialNumber As Byte() Public ReadOnly Property SubjectKeyID As Byte() Public ReadOnly Property CertFound As Boolean End Class
Remarks
The component fires this event when processing encrypted documents to report encryption certificate details to the user.
Subscribe to this event to obtain encryption certificate information and pass the corresponding certificate to the component via DecryptionCertificate (DecryptionCertificates) property.