SignerInfo Event
Fires with information about the signature.
Syntax
jwt.on('SignerInfo', [callback])
Callback
The 'callback' is called when the 'SignerInfo' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.keyId e.algorithm
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.