IPWorks Encrypt 2020 .NET Edition

Questions / Feedback?

SignerInfo Event

Fires with information about the signature.

Syntax

public event OnSignerInfoHandler OnSignerInfo;

public delegate void OnSignerInfoHandler(object sender, JwsSignerInfoEventArgs e);

public class JwsSignerInfoEventArgs : EventArgs {
  public string KeyId { get; }
  public string Algorithm { get; }
}
Public Event OnSignerInfo As OnSignerInfoHandler

Public Delegate Sub OnSignerInfoHandler(sender As Object, e As JwsSignerInfoEventArgs)

Public Class JwsSignerInfoEventArgs 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.

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