| Top |
LiKeyringLiKeyring — Database of trusted keys as well as methods to verify signatures on Limba packages |
| #define | LI_TYPE_KEYRING |
| GQuark | li_keyring_error_quark () |
| LiKeyring * | li_keyring_new () |
| gboolean | li_keyring_add_key () |
| gboolean | li_keyring_add_key_file () |
| gboolean | li_keyring_refresh_keys () |
| gchar * | li_keyring_verify_clear_signature () |
| LiTrustLevel | li_keyring_process_signature () |
| struct | LiKeyringClass |
| enum | LiKeyringKind |
| enum | LiKeyringError |
| #define | LI_KEYRING_ERROR |
| LiKeyring |
Limba maintains two keyrings: One with keys which are trusted explicitly (meaning that a human has explicitly defined them as trusted), and one which is trusted implicitly (meaning that it contains keys of software which has been installed on the system).
gboolean li_keyring_add_key (LiKeyring *kr,const gchar *fpr,GError **error);
Get a key matching the fingerprint and add it to the list of trusted keys.
gboolean li_keyring_add_key_file (LiKeyring *kr,const gchar *fname,GError **error);
Get a key matching the fingerprint and add it to the list of trusted keys.
gboolean li_keyring_refresh_keys (LiKeyring *kr,GError **error);
Scan for keys in keyring import directories and rebuild the actual keyrings using them.
gchar * li_keyring_verify_clear_signature (LiKeyring *kr,LiKeyringKind kind,const gchar *sigtext,gchar **out_fpr,GError **error);
Verifies a GPG signature.
LiTrustLevel li_keyring_process_signature (LiKeyring *kr,const gchar *sigtext,gchar **out_data,gchar **out_fpr,GError **error);
Validate the signature of an IPK package and check the trusted keyrings to determine a trust-level for this package.
The error type.