RecipientInfo Event

Fired with information about the recipient key of the encrypted message.

Syntax

ANSI (Cross Platform)
virtual int FireRecipientInfo(JWTRecipientInfoEventParams *e);
typedef struct {
const char *KeyId;
const char *Algorithm; int reserved; } JWTRecipientInfoEventParams; Unicode (Windows) virtual INT FireRecipientInfo(JWTRecipientInfoEventParams *e);
typedef struct {
LPCWSTR KeyId;
LPCWSTR Algorithm; INT reserved; } JWTRecipientInfoEventParams;
- (void)onRecipientInfo:(NSString*)keyId :(NSString*)algorithm;
#define EID_JWT_RECIPIENTINFO 4

virtual INT IPWORKSAUTH_CALL FireRecipientInfo(LPSTR &lpszKeyId, LPSTR &lpszAlgorithm);

Remarks

This event fires with information about the key used to encrypt the data. This may be used to help identify the Key or Certificate to load in order to decrypt the message. This event fires when Decrypt or Parse is called.

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

Algorithm is the encryption algorithm used to encrypt the data.

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