Searched defs:pubid (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/plugins/mail-crypt/
H A Dmail-crypt-plugin.c250 const char *pubid; local
304 &pubid, &error) < 0) {
H A Dtest-mail-key.c50 const char *pubid, const char **value_r, const char **error_r)
55 if (strcmp(pubid, ACTIVE_KEY_NAME) == 0) {
65 pubid);
88 bool user_key, bool shared, const char *pubid,
94 if (strcmp(pubid, ACTIVE_KEY_NAME) == 0) {
104 pubid);
201 const char *pubid; local
208 &pubid, &error) < 0) {
213 test_assert(pubid != NULL);
215 test_user_key_id = p_strdup(test_pool, pubid);
49 test_mail_attribute_get(struct mailbox *box, bool user_key, bool shared, const char *pubid, const char **value_r, const char **error_r) argument
87 test_mail_attribute_set(struct mailbox_transaction_context *t, bool user_key, bool shared, const char *pubid, const char *value, const char **error_r) argument
238 const char *error = NULL, *pubid = NULL; local
[all...]
H A Ddoveadm-mail-crypt.c172 const char *pubid, struct dcrypt_private_key *key)
216 if (mail_crypt_box_set_shared_key(t, pubid, key,
301 const char *pubid; local
313 &pubid, &error) < 0) {
325 res->id = p_strdup(_ctx->pool, pubid);
361 if (mail_crypt_user_generate_keypair(user, &pair, &pubid,
368 res->id = p_strdup(_ctx->pool, pubid);
407 &pair, &pubid,
420 res->id = pubid;
422 mcp_update_shared_keys(box, user, pubid, pai
171 mcp_update_shared_keys(struct mailbox *box, struct mail_user *user, const char *pubid, struct dcrypt_private_key *key) argument
[all...]
H A Dmail-crypt-key.c22 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...]

Completed in 38 milliseconds