Copyright (C) 2000-2012 |
GNU Info (gpgme.info)Information About Trust ItemsInformation About Trust Items ----------------------------- Trust items have attributes which can be queried using the interfaces below. The attribute identifiers are shared with those for key attributes. Note: Information About Keys. - Function: const char * gpgme_trust_item_get_string_attr (GpgmeTrustItem ITEM, GpgmeAttr WHAT, const void *RESERVED, int IDX) The function `gpgme_trust_item_get_string_attr' returns the value of the string-representable attribute WHAT of trust item ITEM. If the attribute occurs more than once in the trust items, the index is specified by IDX. However, currently no such attributes exists, so IDX should be `0'. The argument RESERVED is reserved for later use and should be `NULL'. The string returned is only valid as long as the key is valid. The function returns `0' if an attribute can't be returned as a string, KEY is not a valid pointer, IDX out of range, or RESERVED not `NULL'. - Function: int gpgme_trust_item_get_int_attr (GpgmeTrustItem ITEM, GpgmeAttr WHAT, const void *RESERVED, int IDX) The function `gpgme_trust_item_get_int_attr' returns the value of the number-representable attribute WHAT of trust item ITEM. If the attribute occurs more than once in the trust item, the index is specified by IDX. However, currently no such attribute exists, so IDX should be `0'. The argument RESERVED is reserved for later use and should be `NULL'. The function returns `0' if the attribute can't be returned as a number, KEY is not a valid pointer, IDX out of range, or RESERVED not `NULL'. automatically generated by info2www version 1.2.2.9 |