Lines Matching defs:key_id
48 buffer_t *key_id;
54 key_id = t_buffer_create(MAIL_CRYPT_HASH_BUF_SIZE);
55 if (!dcrypt_key_id_private(key, MAIL_CRYPT_KEY_ID_ALGORITHM, key_id, &error)) {
59 *key_id_r = binary_to_hex(key_id->data, key_id->used);
61 buffer_set_used_size(key_id, 0);
67 if (!dcrypt_key_id_private_old(key, key_id, &error)) {
72 *key_id_old_r = binary_to_hex(key_id->data, key_id->used);
120 const char *key_id, *key_id_old;
121 if (mail_crypt_key_get_ids(key, &key_id, &key_id_old, error_r) < 0) {
129 priv_key->key_id = i_strdup(key_id);
151 i_free(priv_key->key_id);
167 if (strcmp(priv_key->key_id, pubkey_digest) == 0)