Searched refs:user_key (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/plugins/mail-crypt/
H A Dmail-crypt-key.h34 bool user_key, bool shared,
67 struct dcrypt_public_key *user_key,
81 struct dcrypt_public_key *user_key,
89 struct dcrypt_public_key *user_key,
H A Dtest-mail-key.c49 int test_mail_attribute_get(struct mailbox *box, bool user_key, bool shared, argument
56 attr_name = user_key ? USER_CRYPT_PREFIX ACTIVE_KEY_NAME :
61 user_key ? USER_CRYPT_PREFIX :
88 bool user_key, bool shared, const char *pubid,
95 attr_name = user_key ? USER_CRYPT_PREFIX ACTIVE_KEY_NAME :
100 user_key ? USER_CRYPT_PREFIX :
236 struct dcrypt_public_key *user_key; local
242 if (mail_crypt_user_get_public_key(test_mail_user, &user_key,
253 if (mail_crypt_box_generate_keypair(box, &pair, user_key, &pubid,
262 dcrypt_key_unref_public(&user_key);
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
304 struct dcrypt_private_key *privkey = NULL, *user_key = NULL; local
[all...]
H A Dmail-crypt-key.c197 const char *mail_crypt_get_key_path(bool user_key, bool public, const char *pubid) argument
200 user_key ? USER_CRYPT_PREFIX :
296 bool user_key, bool shared,
311 const char *attr_name = mail_crypt_get_key_path(user_key, FALSE, pubid);
409 bool user_key, bool shared, const char *pubid,
416 i_assert(user_key || shared || enc_key != NULL);
424 const char *attr_name = mail_crypt_get_key_path(user_key, FALSE, pubid);
430 } else if (user_key &&
519 struct dcrypt_public_key *user_key,
526 if ((ret = mail_crypt_set_private_key(t, FALSE, FALSE, pubid, user_key,
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
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
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
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
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
1010 mail_crypt_box_generate_keypair(struct mailbox *box, struct dcrypt_keypair *pair, struct dcrypt_public_key *user_key, const char **pubid_r, const char **error_r) argument
1175 struct dcrypt_public_key *user_key; local
[all...]
H A Ddoveadm-mail-crypt.c241 struct dcrypt_public_key *user_key,
275 user_key, pubid_r, error_r)) < 0) {
298 struct dcrypt_public_key *user_key; local
305 if ((ret = mail_crypt_user_get_public_key(user, &user_key,
330 user_key = pair.pub;
340 if (!dcrypt_key_id_public(user_key,
357 dcrypt_key_unref_public(&user_key);
369 user_key = pair.pub;
406 } else if ((ret = mcp_keypair_generate(ctx, user_key, box,
435 dcrypt_key_unref_public(&user_key);
240 mcp_keypair_generate(struct mcp_cmd_context *ctx, struct dcrypt_public_key *user_key, struct mailbox *box, struct dcrypt_keypair *pair_r, const char **pubid_r, const char **error_r) argument
642 bool user_key = FALSE; local
[all...]

Completed in 1042 milliseconds