SignerInfo Event
Fires with information about the signature.
Syntax
public event OnSignerInfoHandler OnSignerInfo; public delegate void OnSignerInfoHandler(object sender, JwtSignerInfoEventArgs e); public class JwtSignerInfoEventArgs : EventArgs { public string KeyId { get; } public string Algorithm { get; } }
Public Event OnSignerInfo As OnSignerInfoHandler Public Delegate Sub OnSignerInfoHandler(sender As Object, e As JwtSignerInfoEventArgs) Public Class JwtSignerInfoEventArgs Inherits EventArgs Public ReadOnly Property KeyId As String Public ReadOnly Property Algorithm As String End Class
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.