H A D | mail-crypt-key.c | 22 char *pubid; member in struct:mail_crypt_key_cache_entry 29 const char *pubid, 36 if (strcmp(pubid, ent->pubid) == 0) { 57 const char *pubid, 64 if (strcmp(pubid, ent->pubid) == 0) { 84 ent->pubid = i_strdup(pubid); 108 i_free(cur->pubid); 28 mail_crypt_get_key_cache(struct mail_crypt_key_cache_entry *cache, const char *pubid, struct dcrypt_private_key **privkey_r, struct dcrypt_public_key **pubkey_r) argument 56 mail_crypt_put_key_cache(struct mail_crypt_key_cache_entry **cache, const char *pubid, struct dcrypt_private_key *privkey, struct dcrypt_public_key *pubkey) argument 118 mail_crypt_private_key_id_match(struct dcrypt_private_key *key, const char *pubid, const char **error_r) argument 143 mail_crypt_public_key_id_match(struct dcrypt_public_key *key, const char *pubid, const char **error_r) argument 169 mail_crypt_env_get_private_key(struct mail_user *user, const char *pubid, struct dcrypt_private_key **key_r, const char **error_r) argument 197 mail_crypt_get_key_path(bool user_key, bool public, const char *pubid) argument 209 mail_crypt_decrypt_private_key(struct mailbox *box, const char *pubid, const char *data, struct dcrypt_private_key **key_r, const char **error_r) argument 295 mail_crypt_get_private_key(struct mailbox *box, const char *pubid, bool user_key, bool shared, struct dcrypt_private_key **key_r, const char **error_r) argument 341 mail_crypt_user_get_private_key(struct mail_user *user, const char *pubid, struct dcrypt_private_key **key_r, const char **error_r) argument 408 mail_crypt_set_private_key(struct mailbox_transaction_context *t, bool user_key, bool shared, const char *pubid, struct dcrypt_public_key *enc_key, struct dcrypt_private_key *key, const char **error_r) argument 465 mail_crypt_user_set_private_key(struct mail_user *user, const char *pubid, struct dcrypt_private_key *key, const char **error_r) argument 517 mail_crypt_box_set_private_key(struct mailbox *box, const char *pubid, struct dcrypt_private_key *key, struct dcrypt_public_key *user_key, const char **error_r) argument 539 mail_crypt_get_public_key(struct mailbox *box, const char *pubid, bool user_key, struct dcrypt_public_key **key_r, const char **error_r) argument 664 mail_crypt_set_public_key(struct mailbox_transaction_context *t, bool user_key, const char *pubid, struct dcrypt_public_key *key, const char **error_r) argument 700 mail_crypt_user_set_public_key(struct mail_user *user, const char *pubid, struct dcrypt_public_key *key, const char **error_r) argument 751 mail_crypt_box_set_public_key(struct mailbox *box, const char *pubid, struct dcrypt_public_key *key, const char **error_r) argument 790 mail_crypt_user_set_keys(struct mail_user *user, const char *pubid, struct dcrypt_private_key *privkey, struct dcrypt_public_key *pubkey, const char **error_r) argument 804 mail_crypt_box_set_keys(struct mailbox *box, const char *pubid, struct dcrypt_private_key *privkey, struct dcrypt_public_key *user_key, struct dcrypt_public_key *pubkey, const char **error_r) argument 819 mail_crypt_box_get_shared_key(struct mailbox *box, const char *pubid, struct dcrypt_private_key **key_r, const char **error_r) argument 870 mail_crypt_box_set_shared_key(struct mailbox_transaction_context *t, const char *pubid, struct dcrypt_private_key *privkey, const char *target_uid, struct dcrypt_public_key *user_key, const char **error_r) argument 927 mail_crypt_box_unset_shared_key(struct mailbox_transaction_context *t, const char *pubid, const char *target_uid, const char **error_r) argument 1150 const char *pubid = NULL; local 1182 const char *pubid = NULL; local [all...] |