IPWorks Auth 2020 JavaScript Edition

Questions / Feedback?

RecipientInfo Event

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

Syntax

jwt.on('RecipientInfo', listener: (e: {readonly keyId: string, readonly algorithm: string}) => void )

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) 2021 /n software inc. - All rights reserved.
IPWorks Auth 2020 JavaScript Edition - Version 20.0 [Build 7721]