VerificationStatus Event
Fired after verification of the signed message.
Syntax
[VB.NET] Public Event OnVerificationStatus As OnVerificationStatusHandler
[C#] public event OnVerificationStatusHandler OnVerificationStatus; public delegate void OnVerificationStatusHandler(object sender, PpopVerificationStatusEventArgs e); class PpopVerificationStatusEventArgs : EventArgs { string KeyId {get;} int Status {get;} }
Remarks
This event fires when VerifySignature or DecryptAndVerifySignature is called. It provides information about the result.
KeyId is the Id of the key used to sign the message. 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
Status holds the result of the operation. Possible values are:
0 | Verification succeeded |
1 | Verification failed |
2 | The required key could not be found |