IP*Works! OpenPGP 2016 C++ Edition
IP*Works! OpenPGP 2016 C++ Edition
Questions / Feedback?

SignatureList Event

Fires for each signature of the current key when ListSignatures is called.

Syntax

 virtual int FireSignatureList(KeyMgrSignatureListEventParams *e);

 
typedef struct {
char* UserId;
char* IssuerKeyId;
char* IssuerUserId;
char* PublicKeyAlgorithm;
char* HashAlgorithm;
char* EffectiveDate;
int SignatureClass;
int ValidityStatus;
int reserved;
} KeyMgrSignatureListEventParams;

Remarks

This event fires once for each signature of the current key when ListSignatures is called.

UserId holds the current user Id of the key.

The UserId format is:

FirstName LastName (Comment) <Email>
Not all values are required when selecting or generating a key, but at least FirstName or Email are required.

IssuerKeyId is the hex-encoded, 4- or-8-byte Id of the issuer's key. It is the same as the last 4 or 8 bytes of the Fingerprint. For instance:

BF52A0AB

IssuerUserId is the user Id of the issuer. If this is empty the issuer's key could not be found in the current keyring.

PublicKeyAlgorithm is the public key algorithm. Possible values are "RSA" and "DSA".

HashAlgorithm is the hash algorithm used by the signature. Possible values are "SHA1", "SHA256", "SHA384", "SHA512", "SHA224", and "MD5".

EffectiveDate is the date when this signature became valid. The following example illustrates the format of an encoded date:

23-Jan-2000 15:00:00. 

SignatureClass is the type of signature. Possible values are:

16Generic Signature
17Personal Signature
18Casual Signature
19Positive Signature (self-signed)

ValidityStatus specifies the current validity status of the signature. Possible values are:

1Invalid
2Valid
3Unknown (the issuer's public key could not be found)

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
IP*Works! OpenPGP 2016 C++ Edition - Version 16.0 [Build 7239]