RecipientFound Event
Provides recipient certificate details to the application.
Syntax
ANSI (Cross Platform) virtual int FireRecipientFound(PDFDecryptorRecipientFoundEventParams *e);
typedef struct {
const char *IssuerRDN;
const char *SerialNumber; int lenSerialNumber;
const char *SubjectKeyID; int lenSubjectKeyID;
int CertFound; int reserved; } PDFDecryptorRecipientFoundEventParams; Unicode (Windows) virtual INT FireRecipientFound(PDFDecryptorRecipientFoundEventParams *e);
typedef struct {
LPCWSTR IssuerRDN;
LPCSTR SerialNumber; INT lenSerialNumber;
LPCSTR SubjectKeyID; INT lenSubjectKeyID;
BOOL CertFound; INT reserved; } PDFDecryptorRecipientFoundEventParams;
- (void)onRecipientFound:(NSString*)issuerRDN :(NSData*)serialNumber :(NSData*)subjectKeyID :(BOOL)certFound;
#define EID_PDFDECRYPTOR_RECIPIENTFOUND 5 virtual INT SECUREBLACKBOX_CALL FireRecipientFound(LPSTR &lpszIssuerRDN, LPSTR &lpSerialNumber, INT &lenSerialNumber, LPSTR &lpSubjectKeyID, INT &lenSubjectKeyID, BOOL &bCertFound);
Remarks
The class 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 class via DecryptionCertificate (DecryptionCertificates) property.