Lines Matching defs:alias

115  * alias - Name of certificate to print, NULL means print all
124 print_certs(PKG_ERR *err, keystore_handle_t keystore_h, char *alias,
148 if ((alias != NULL) && (!streq(alias, fname))) {
183 if ((alias != NULL) && (!streq(alias, fname))) {
207 if (alias != NULL) {
210 alias, keystore->path);
229 * alias - Name of certificate to print
238 keystore_encoding_format_t format, char *alias, boolean_t is_trusted,
315 gettext(MSG_KEYSTORE_AL), alias);
610 * public key certificate and private key, given an alias.
615 * alias - Name to used to match certificate's alias
624 find_key_cert_pair(PKG_ERR *err, keystore_handle_t ks_h, char *alias,
673 /* Attempt to find the right pair given the alias */
674 items_found = sunw_find_fname(alias, ks->pkeys, ks->clcerts,
681 gettext(ERR_KEYSTORE_NOMATCH), alias);
766 * alias - Name which to store the cert and key under
775 merge_cert_and_key(PKG_ERR *err, X509 *cert, EVP_PKEY *key, char *alias,
789 /* set the friendlyName of the key and cert to the supplied alias */
790 if (sunw_set_fname(alias, key, cert) != 0) {
806 if (sunw_find_fname(alias, NULL, keystore->clcerts,
819 gettext(ERR_KEYSTORE_DUPLICATECERT), alias);
834 if (sunw_find_fname(alias, keystore->pkeys, NULL,
847 gettext(ERR_KEYSTORE_DUPLICATEKEY), alias);
871 * alias - Name which to search for certificates and keys
875 * 0 - Success - All trusted certs which match 'alias'
877 * which match 'alias' are deleted, along
882 delete_cert_and_keys(PKG_ERR *err, keystore_handle_t ks_h, char *alias)
897 if (streq(fname, alias)) {
922 if (streq(fname, alias)) {
948 if (streq(fname, alias)) {
974 alias, ks->path);