Home
last modified time | relevance | path

Searched refs:keystore_name (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dinstall.c46 char *keystore_name = NULL; in kc_install() local
64 if (keystore_name != NULL) in kc_install()
67 keystore_name = get_string(optarg_av, &rv); in kc_install()
68 if (keystore_name == NULL) { in kc_install()
115 if (keystore_name == NULL || modulepath == NULL) { in kc_install()
121 if (strcasecmp(keystore_name, "nss") == 0 || in kc_install()
122 strcasecmp(keystore_name, "pkcs11") == 0 || in kc_install()
123 strcasecmp(keystore_name, "file") == 0) { in kc_install()
126 keystore_name); in kc_install()
131 entry = get_keystore_entry(keystore_name); in kc_install()
[all …]
H A Duninstall.c46 char *keystore_name = NULL; in kc_uninstall() local
59 if (keystore_name != NULL) in kc_uninstall()
62 keystore_name = get_string(optarg_av, &rv); in kc_uninstall()
63 if (keystore_name == NULL) { in kc_uninstall()
88 if (keystore_name == NULL) { in kc_uninstall()
95 if (strcasecmp(keystore_name, "nss") == 0 || in kc_uninstall()
96 strcasecmp(keystore_name, "pkcs11") == 0 || in kc_uninstall()
97 strcasecmp(keystore_name, "file") == 0) { in kc_uninstall()
100 keystore_name); in kc_uninstall()
105 entry = get_keystore_entry(keystore_name); in kc_uninstall()
[all …]
H A Dmodify.c951 char *keystore_name = NULL; in kc_modify_plugin() local
975 if (keystore_name != NULL) in kc_modify_plugin()
978 keystore_name = get_string(optarg_av, &rv); in kc_modify_plugin()
979 if (keystore_name == NULL) { in kc_modify_plugin()
1016 if (keystore_name == NULL || has_option_arg == B_FALSE) { in kc_modify_plugin()
1023 if (strcasecmp(keystore_name, "nss") == 0 || in kc_modify_plugin()
1024 strcasecmp(keystore_name, "pkcs11") == 0 || in kc_modify_plugin()
1025 strcasecmp(keystore_name, "file") == 0) { in kc_modify_plugin()
1028 keystore_name); in kc_modify_plugin()
1033 entry = get_keystore_entry(keystore_name); in kc_modify_plugin()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c2646 kmf_get_plugin_info(KMF_HANDLE_T handle, char *keystore_name, in kmf_get_plugin_info() argument
2658 if (handle == NULL || keystore_name == NULL || kstype == NULL) in kmf_get_plugin_info()
2661 if (strcmp(keystore_name, "pkcs11") == 0) { in kmf_get_plugin_info()
2663 } else if (strcmp(keystore_name, "file") == 0) { in kmf_get_plugin_info()
2665 } else if (strcmp(keystore_name, "nss") == 0) { in kmf_get_plugin_info()
2679 if (strcmp(phead->entry->keystore, keystore_name) == 0) in kmf_get_plugin_info()