Next: , Previous: Key Management, Up: Contexts


7.5 Trust Item Management

Caution: The trust items interface is experimental.

— Data type: gpgme_trust_item_t

The gpgme_trust_item_t type is a pointer to a trust item object. It has the following members:

char *keyid
This is a string describing the key to which this trust items belongs.
int type
This is the type of the trust item. A value of 1 refers to a key, a value of 2 refers to a user ID.
int level
This is the trust level.
char *owner_trust
The owner trust if type is 1.
char *validity
The calculated validity.
char *name
The user name if type is 2.