Error Event
Information about errors during PGP decryption/verification.
Syntax
ANSI (Cross Platform) virtual int FireError(PGPReaderErrorEventParams *e);
typedef struct {
int ErrorCode;
const char *Description; int reserved; } PGPReaderErrorEventParams; Unicode (Windows) virtual INT FireError(PGPReaderErrorEventParams *e);
typedef struct {
INT ErrorCode;
LPCWSTR Description; INT reserved; } PGPReaderErrorEventParams;
- (void)onError:(int)errorCode :(NSString*)description;
#define EID_PGPREADER_ERROR 2 virtual INT SECUREBLACKBOX_CALL FireError(INT &iErrorCode, LPSTR &lpszDescription);
Remarks
The event is fired in case of exceptional conditions during decryption/verification of protected data.
ErrorCode contains an error code and Description contains a textual description of the error.