Searched refs:global_keys (Results 1 - 8 of 8) sorted by relevance
/dovecot/src/plugins/mail-crypt/ |
H A D | mail-crypt-global-key.h | 24 void mail_crypt_global_keys_free(struct mail_crypt_global_keys *global_keys); 27 struct mail_crypt_global_keys *global_keys, 31 struct mail_crypt_global_keys *global_keys, 35 mail_crypt_global_key_find(struct mail_crypt_global_keys *global_keys,
|
H A D | mail-crypt-global-key.c | 14 struct mail_crypt_global_keys *global_keys, 34 if (!dcrypt_key_load_public(&global_keys->public_key, key_data, &error)) { 78 struct mail_crypt_global_keys *global_keys, 127 array_append_space(&global_keys->private_keys); 140 void mail_crypt_global_keys_free(struct mail_crypt_global_keys *global_keys) argument 144 if (global_keys->public_key != NULL) 145 dcrypt_key_unref_public(&global_keys->public_key); 147 if (!array_is_created(&global_keys->private_keys)) 149 array_foreach_modifiable(&global_keys->private_keys, priv_key) { 154 array_free(&global_keys 13 mail_crypt_load_global_public_key(const char *set_key, const char *key_data, struct mail_crypt_global_keys *global_keys, const char **error_r) argument 76 mail_crypt_load_global_private_key(const char *set_key, const char *key_data, const char *set_pw, const char *key_password, struct mail_crypt_global_keys *global_keys, const char **error_r) argument 158 mail_crypt_global_key_find(struct mail_crypt_global_keys *global_keys, const char *pubkey_digest) argument [all...] |
H A D | mail-crypt-plugin.h | 18 struct mail_crypt_global_keys global_keys; member in struct:mail_crypt_user
|
H A D | mail-crypt-userenv.c | 11 struct mail_crypt_global_keys *global_keys, 27 global_keys, 9 mail_crypt_load_global_private_keys(struct mail_user *user, const char *set_prefix, struct mail_crypt_global_keys *global_keys, bool ignore_errors, const char **error_r) argument
|
H A D | mail-crypt-pluginenv.c | 58 struct mail_crypt_global_keys *global_keys, 73 global_keys, error_r) < 0) 56 mail_crypt_load_global_private_keys(const struct fs_crypt_settings *set, const char *set_prefix, struct mail_crypt_global_keys *global_keys, const char **error_r) argument
|
H A D | mail-crypt-plugin.c | 128 *priv_key_r = mail_crypt_global_key_find(&muser->global_keys, 271 if (muser->global_keys.public_key != NULL) 272 pub_key = muser->global_keys.public_key; 376 if (muser->global_keys.public_key == NULL) 390 mail_crypt_global_keys_free(&muser->global_keys); 444 &muser->global_keys, FALSE, &error) < 0) {
|
H A D | test-mail-global-key.c | 32 struct mail_crypt_global_keys *global_keys,
|
H A D | mail-crypt-key.c | 173 struct mail_crypt_global_keys global_keys; local 175 if (mail_crypt_global_keys_load(user, "mail_crypt", &global_keys, 177 mail_crypt_global_keys_free(&global_keys); 183 mail_crypt_global_key_find(&global_keys, pubid); 191 mail_crypt_global_keys_free(&global_keys);
|
Completed in 1254 milliseconds