|  | 
| int | alpm_decode_signature (const char *base64_data, unsigned char **data, size_t *data_len) | 
|  | Decode a loaded signature in base64 form. 
 | 
|  | 
| static const char * | string_validity (gpgme_validity_t validity) | 
|  | Return a statically allocated validity string based on the GPGME validity code. 
 | 
|  | 
| static void | sigsum_test_bit (gpgme_sigsum_t sigsum, alpm_list_t **summary, gpgme_sigsum_t bit, const char *value) | 
|  | 
| static alpm_list_t * | list_sigsum (gpgme_sigsum_t sigsum) | 
|  | Calculate a set of strings to represent the given GPGME signature summary value. 
 | 
|  | 
| static int | init_gpgme (alpm_handle_t *handle) | 
|  | Initialize the GPGME library. 
 | 
|  | 
| static int | key_import_wkd (alpm_handle_t *handle, const char *email, const char *fpr) | 
|  | Import a key from a Web Key Directory (WKD) into the local keyring using. 
 | 
|  | 
| static int | key_search_keyserver (alpm_handle_t *handle, const char *fpr, alpm_pgpkey_t *pgpkey) | 
|  | Search for a GPG key on a keyserver. 
 | 
|  | 
| static int | key_import_keyserver (alpm_handle_t *handle, alpm_pgpkey_t *key) | 
|  | Import a key into the local keyring. 
 | 
|  | 
| static int | email_from_uid (const char *uid, char **email) | 
|  | Extract the email address from a user ID. 
 | 
|  | 
| int | alpm_pkg_check_pgp_signature (alpm_pkg_t *pkg, alpm_siglist_t *siglist) | 
|  | Check the PGP signature for the given package file. 
 | 
|  | 
| int | alpm_db_check_pgp_signature (alpm_db_t *db, alpm_siglist_t *siglist) | 
|  | Check the PGP signature for the given database. 
 | 
|  | 
| int | alpm_siglist_cleanup (alpm_siglist_t *siglist) | 
|  | Clean up and free a signature result list. 
 | 
|  | 
| static size_t | length_check (size_t length, size_t position, size_t a, alpm_handle_t *handle, const char *identifier) | 
|  | 
| static int | parse_subpacket (alpm_handle_t *handle, const char *identifier, const unsigned char *sig, const size_t len, const size_t pos, const size_t plen, alpm_list_t **keys) | 
|  | 
| int | alpm_extract_keyid (alpm_handle_t *handle, const char *identifier, const unsigned char *sig, const size_t len, alpm_list_t **keys) | 
|  | Extract the Issuer Key ID from a signature. 
 | 
|  | 
  
  | 
        
          | static int key_search_keyserver | ( | alpm_handle_t * | handle, |  
          |  |  | const char * | fpr, |  
          |  |  | alpm_pgpkey_t * | pgpkey ) |  | static | 
 
Search for a GPG key on a keyserver. 
This requires GPGME to call the gpg binary and have a keyserver previously defined in a gpg.conf configuration file. 
- Parameters
- 
  
    | handle | the context handle |  | fpr | the fingerprint key ID to look up |  | pgpkey | storage location for the given key if found |  
 
- Returns
- 1 on success, 0 on key not found, -1 on error 
References ALPM_ERR_MEMORY, ALPM_LOG_DEBUG, CHECK_ERR, alpm_pgpkey_t::created, alpm_pgpkey_t::data, alpm_pgpkey_t::email, alpm_pgpkey_t::expires, alpm_pgpkey_t::fingerprint, alpm_pgpkey_t::length, MALLOC, alpm_pgpkey_t::name, alpm_pgpkey_t::pubkey_algo, RET_ERR, alpm_pgpkey_t::revoked, and alpm_pgpkey_t::uid.