IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

SignerInfo Event

Fires with information about the signature.

Syntax

ANSI (Cross Platform)
virtual int FireSignerInfo(JWSSignerInfoEventParams *e);
typedef struct {
const char *KeyId;
const char *Algorithm; int reserved; } JWSSignerInfoEventParams; Unicode (Windows) virtual INT FireSignerInfo(JWSSignerInfoEventParams *e);
typedef struct {
LPCWSTR KeyId;
LPCWSTR Algorithm; INT reserved; } JWSSignerInfoEventParams;
- (void)onSignerInfo:(NSString*)keyId :(NSString*)algorithm;
#define EID_JWS_SIGNERINFO 3

virtual INT IPWORKSENCRYPT_CALL FireSignerInfo(LPSTR &lpszKeyId, LPSTR &lpszAlgorithm);

Remarks

This event fires with information about the signature. This may be used to help identify the Key or Certificate to load in order to verify the signature. This event fires when Verify or Parse is called.

KeyId is the Id of the key as supplied by the signer that created the message. This may be empty.

Algorithm is the signature algorithm used to sign the message.

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