Home
last modified time | relevance | path

Searched refs:keystore (Results 1 – 24 of 24) sorted by relevance

/titanic_50/usr/src/lib/libpkg/common/
H A Dkeystore.c101 keystore_passphrase_cb cb, keystore_t *keystore);
131 keystore_t *keystore = keystore_h; in print_certs() local
133 if (keystore->clcerts != NULL) { in print_certs()
135 for (i = 0; i < sk_X509_num(keystore->clcerts); i++) { in print_certs()
136 cert = sk_X509_value(keystore->clcerts, i); in print_certs()
168 if (keystore->cacerts != NULL) { in print_certs()
170 for (i = 0; i < sk_X509_num(keystore->cacerts); i++) { in print_certs()
171 cert = sk_X509_value(keystore->cacerts, i); in print_certs()
210 alias, keystore->path); in print_certs()
214 keystore->path); in print_certs()
[all …]
H A Dpkgweb.h89 keystore_handle_t keystore; member
H A Dllib-lpkg31 #include <keystore.h>
H A Dpkgtrans.c243 keystore_handle_t keystore, char *keystore_alias) in _pkgtrans() argument
259 making_sig = (keystore != NULL) ? B_TRUE : B_FALSE; in _pkgtrans()
267 if (find_key_cert_pair(err, keystore, in _pkgtrans()
275 if (find_ca_certs(err, keystore, &cacerts) != 0) { in _pkgtrans()
282 if (find_cl_certs(err, keystore, &clcerts) != 0) { in _pkgtrans()
634 keystore_handle_t keystore, char *keystore_alias) in pkgtrans() argument
686 r = _pkgtrans(device1, device2, pkg, options, keystore, keystore_alias); in pkgtrans()
H A Dpkgweb.c283 if (ps->keystore) { in web_cleanup()
284 (void) close_keystore(err, ps->keystore, NULL); in web_cleanup()
287 ps->keystore = NULL; in web_cleanup()
351 keystore_handle_t keystore, char *proxy, ushort_t proxy_port, in web_session_control() argument
370 if (keystore != NULL) in web_session_control()
371 ps->keystore = keystore; in web_session_control()
1723 if (find_ca_certs(err, ps->keystore, &sec_cas) != 0) { in web_connect()
2631 ps->keystore = NULL; in init_session()
/titanic_50/usr/src/cmd/svr4pkg/libinst/
H A Dsetadmin.c63 &adm.keystore, "keystore",
269 check_keystore_admin(char **keystore) in check_keystore_admin() argument
272 if (!keystore) { in check_keystore_admin()
277 if (*keystore != NULL) { in check_keystore_admin()
278 if (!path_valid(*keystore)) { in check_keystore_admin()
288 if ((*keystore = set_keystore_admin()) == NULL) { in check_keystore_admin()
289 *keystore = PKGSEC; in check_keystore_admin()
327 if (ADMSET(keystore) && !path_valid(adm.keystore)) { in set_keystore_admin()
331 if (!ADMSET(keystore)) { in set_keystore_admin()
335 return (adm.keystore); in set_keystore_admin()
/titanic_50/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c49 static keystore_handle_t keystore = NULL; variable
170 pkg_passphrase_cb, KEYSTORE_DFLT_FLAGS, &keystore) != 0) { in main()
178 keystore = NULL; in main()
183 keystore, keystore_alias); in main()
187 if (close_keystore(err, keystore, NULL) != 0) { in main()
192 keystore = NULL; in main()
209 if (keystore != NULL) { in quit()
210 (void) close_keystore(err, keystore, NULL); in quit()
/titanic_50/usr/src/cmd/svr4pkg/pkgadm/
H A Dremovecert.c65 keystore_handle_t keystore = NULL; in removecert() local
167 KEYSTORE_ACCESS_READWRITE | KEYSTORE_PATH_HARD, &keystore) != 0) { in removecert()
175 if (delete_cert_and_keys(err, keystore, alias) != 0) { in removecert()
185 if (close_keystore(err, keystore, pkg_passphrase_cb) != 0) { in removecert()
H A Dlistcert.c69 keystore_handle_t keystore = NULL; in listcert() local
209 &keystore) != 0) { in listcert()
217 if (print_certs(err, keystore, alias, format, outfile) != 0) { in listcert()
227 if (close_keystore(err, keystore, pkg_passphrase_cb) != 0) { in listcert()
H A Daddcert.c89 keystore_handle_t keystore = NULL; in addcert() local
382 KEYSTORE_ACCESS_READWRITE | KEYSTORE_PATH_HARD, &keystore) != 0) { in addcert()
396 if (merge_ca_cert(err, cert, keystore) != 0) { in addcert()
409 if (merge_cert_and_key(err, cert, key, alias, keystore) != 0) { in addcert()
420 if (close_keystore(err, keystore, pkg_passphrase_cb) != 0) { in addcert()
/titanic_50/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAuthBlock.java1089 if (keystore != null) {
1090 return keystore;
1094 keystore = KeyStore.getInstance("amicerts", "SunAMI");
1095 keystore.load(null, null);
1104 return keystore;
1129 static private KeyStore keystore; // Certificate repository
H A DClientLib_en.properties65 no_keystore = Unable to get keystore: {0}
/titanic_50/usr/src/cmd/svr4pkg/hdrs/
H A Dinstall.h99 char *keystore; member
/titanic_50/usr/src/cmd/svr4pkg/pkgscripts/
H A Ddefault39 keystore=/var/sadm/security
/titanic_50/usr/src/lib/libpkg/
H A DMakefile.com41 pkgerr.o keystore.o p12lib.o \
/titanic_50/usr/src/lib/libkmf/include/
H A DkmfapiP.h328 char *keystore; member
/titanic_50/usr/src/cmd/cmd-crypto/scripts/
H A Di.kmfconf32 # keystore:modulepath=path[;option=option_str]
/titanic_50/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dlist.c201 (void) printf("%s:%s", phead->entry->keystore, in show_plugin()
H A Dutil.c508 if (strcmp(ptr->entry->keystore, kstore_name) == 0) in get_keystore_entry()
/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c2511 free(entry->keystore); in free_entry()
2546 if ((tmp->keystore = strdup(token1)) == NULL) { in parse_entry()
2621 if ((rtn_entry->keystore = strdup(entry->keystore)) == NULL) in dup_entry()
2679 if (strcmp(phead->entry->keystore, keystore_name) == 0) in kmf_get_plugin_info()
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c330 char keystore[MAXPATHLEN]; in create_keystore() local
345 (void) snprintf(keystore, sizeof (keystore), in create_keystore()
347 if (mkdirp(keystore, in create_keystore()
/titanic_50/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c316 keystore_handle_t keystore = NULL; in main() local
1195 KEYSTORE_DFLT_FLAGS, &keystore) != 0) { in main()
1203 if (!web_session_control(err, uri, dwnld_dir, keystore, proxy, in main()
1340 ignore_sig, err, proxy_port, proxy, keystore, in main()
/titanic_50/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh401 pktool genkey keystore=file keytype=aes \
/titanic_50/
H A D.gitignore3859 usr/src/lib/libpkg/common/keystore.i