Crypto Key sorting functions. More...
Go to the source code of this file.
Enumerations | |
enum | KeySortType { KEY_SORT_ADDRESS , KEY_SORT_DATE , KEY_SORT_KEYID , KEY_SORT_TRUST } |
Methods for sorting Crypto Keys. More... | |
Functions | |
void | gpgme_sort_keys (struct CryptKeyInfoArray *ckia) |
Sort an array of GPGME keys. | |
void | pgp_sort_keys (struct PgpUidArray *pua) |
Sort an array of PGP keys. | |
Crypto Key sorting functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file sort.h.
enum KeySortType |
Methods for sorting Crypto Keys.
Enumerator | |
---|---|
KEY_SORT_ADDRESS | Sort by address. |
KEY_SORT_DATE | Sort by date. |
KEY_SORT_KEYID | Sort by key id. |
KEY_SORT_TRUST | Sort by trust level. |
void gpgme_sort_keys | ( | struct CryptKeyInfoArray * | ckia | ) |
Sort an array of GPGME keys.
ckia | Array to sort |
Sort GPGME keys according to $pgp_sort_keys
Definition at line 175 of file sort_gpgme.c.
void pgp_sort_keys | ( | struct PgpUidArray * | pua | ) |
Sort an array of PGP keys.
pua | Array to sort |
Sort PGP keys according to $pgp_sort_keys
Definition at line 142 of file sort_pgp.c.