Lines Matching defs:keystore
44 #include <keystore.h>
59 * Desc: Imports a user certificate into the keystore, along with a
89 keystore_handle_t keystore = NULL;
184 /* set up proper keystore */
202 * root's keystore on that alternate root,
216 * use superuser's keystore
377 log_msg(LOG_MSG_DEBUG, "Loading keystore <%s>", keystore_file);
382 KEYSTORE_ACCESS_READWRITE | KEYSTORE_PATH_HARD, &keystore) != 0) {
388 /* now merge the new cert into the keystore */
396 if (merge_ca_cert(err, cert, keystore) != 0) {
409 if (merge_cert_and_key(err, cert, key, alias, keystore) != 0) {
417 log_msg(LOG_MSG_DEBUG, "Closing keystore");
420 if (close_keystore(err, keystore, pkg_passphrase_cb) != 0) {