AutocryptHeader.compare
int compare(gmime.autocrypt_header.AutocryptHeader ah2)Compare two Autocrypt Headers. This is useful for comparison, as well as for sorting headers by:
- address
- effective_date
- keydata
- prefer_encrypt
Parameters
ah2 | a #GMimeAutocryptHeader object |
Returns
-1, 0, or 1 when ah1 is less than, equal to, or greater than ah2.