IP*Works! OpenPGP V9 - Online Help
IP*Works! OpenPGP V9
Questions / Feedback?

SignatureInfo Event

Fired during verification of the signed message.

Syntax

[VB.NET]
Public Event OnSignatureInfo As OnSignatureInfoHandler
[C#]
public event OnSignatureInfoHandler OnSignatureInfo;

public delegate void OnSignatureInfoHandler(object sender, PpopSignatureInfoEventArgs e);

class PpopSignatureInfoEventArgs : EventArgs {
  string KeyId {get;}
  string SigningAlgorithm {get;}
  string PublicKeyAlgorithm {get;}
}

Remarks

This event fires when the VerifySignature or DecryptAndVerifySignature method is called. It provides information about the signature of the message.

KeyId is the Id of the key used to sign the message. If a subkey was used to sign the message this will be the Id of that subkey. It is the hex-encoded, 4- or 8-byte Id of the key. It is the same as the last 4 or 8 bytes of the Fingerprint. For instance:

BF52A0AB
This can be used to identify the correct key to specify in SignerKeys. This property can be set from within this event as this event fires directly before the verification process begins.

SigningAlgorithm describes the hash algorithm used when the message was originally signed. This value is applicable only to the message signature, not the key used to sign the message. Possible values are "SHA1", "SHA256", "SHA384", "SHA512", "SHA224", and "MD5".

PublicKeyAlgorithm is the algorithm of the public key used to sign the message. Possible values are "RSA" and "DSA".

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0