SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Signed Event

Notifies the application about a signed message.

Syntax

ANSI (Cross Platform)
virtual int FireSigned(PGPReaderSignedEventParams *e);
typedef struct {
const char *KeyIDs;
int SignatureType; int reserved; } PGPReaderSignedEventParams; Unicode (Windows) virtual INT FireSigned(PGPReaderSignedEventParams *e);
typedef struct {
LPCWSTR KeyIDs;
INT SignatureType; INT reserved; } PGPReaderSignedEventParams;
- (void)onSigned:(NSString*)keyIDs :(int)signatureType;
#define EID_PGPREADER_SIGNED 10

virtual INT SECUREBLACKBOX_CALL FireSigned(LPSTR &lpszKeyIDs, INT &iSignatureType);

Remarks

The class fires this event when it identifies a signed message to allow the application to prepare the component for verification.

Use the KeyIDs parameter to identify keys used that were used to sign the message, and make sure they are available in the VerifyingKeys list.

SignatureType indicates the signature type:

pstNormal0A traditional signature, compatible (algorithm permitting) with PGP 2.6.x

pstOnePass1A newer one-pass signature

pstDetached2A detached signature, i.e., a signature contained in a separate file from the data it covers

pstCleartext3A signature made over textual data and appended to it

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]