RetrieveCertificate Event
This event is fired when a certificate should be retrieved.
Syntax
ANSI (Cross Platform) virtual int FireRetrieveCertificate(OfficeVerifierRetrieveCertificateEventParams *e);
typedef struct {
const char *URI; int reserved; } OfficeVerifierRetrieveCertificateEventParams; Unicode (Windows) virtual INT FireRetrieveCertificate(OfficeVerifierRetrieveCertificateEventParams *e);
typedef struct {
LPCWSTR URI; INT reserved; } OfficeVerifierRetrieveCertificateEventParams;
- (void)onRetrieveCertificate:(NSString*)URI;
#define EID_OFFICEVERIFIER_RETRIEVECERTIFICATE 4 virtual INT SECUREBLACKBOX_CALL FireRetrieveCertificate(LPSTR &lpszURI);
Remarks
This event could occur if you are verifying XAdES-C form or higher. URI parameter contains a URI value of the stored certificate along with a signature. The user should add the certificate to the KnownCertificates property.