Home
last modified time | relevance | path

Searched refs:KMF_KEYSTORE_NSS (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkey.c46 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in genkey_nss()
494 if (kstype == KMF_KEYSTORE_NSS) { in pk_genkey()
514 (kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_OPENSSL)) { in pk_genkey()
523 } else if (kstype == KMF_KEYSTORE_NSS && tokenname == NULL) { in pk_genkey()
528 if (kstype == KMF_KEYSTORE_PK11TOKEN || kstype == KMF_KEYSTORE_NSS) in pk_genkey()
536 if (kstype == KMF_KEYSTORE_NSS) { in pk_genkey()
H A Dgenkeypair.c234 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in genkeypair_nss()
465 if (keyAlg == KMF_DSA && kstype == KMF_KEYSTORE_NSS) { in pk_genkeypair()
478 if (kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_genkeypair()
486 if (kstype == KMF_KEYSTORE_NSS) { in pk_genkeypair()
496 if (kstype == KMF_KEYSTORE_NSS) { in pk_genkeypair()
H A Dimport.c221 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in pk_import_pk12_nss()
372 } else if (kstype == KMF_KEYSTORE_NSS) { in pk_import_cert()
392 if (kstype == KMF_KEYSTORE_NSS) { in pk_import_cert()
463 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in pk_import_nss_crl()
955 if (kstype == KMF_KEYSTORE_NSS && in pk_import()
1026 if (kstype == KMF_KEYSTORE_NSS) { in pk_import()
1064 else if (kstype == KMF_KEYSTORE_NSS && EMPTYSTRING(token_spec)) in pk_import()
1073 (kstype == KMF_KEYSTORE_PK11TOKEN || kstype == KMF_KEYSTORE_NSS)) { in pk_import()
1115 case KMF_KEYSTORE_NSS: in pk_import()
H A Dgencsr.c277 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in gencsr_nss()
577 if ((kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN)) { in pk_gencsr()
692 if (keyAlg == KMF_DSA && !y_flag && kstype == KMF_KEYSTORE_NSS) in pk_gencsr()
695 if (kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_gencsr()
697 if (kstype == KMF_KEYSTORE_NSS) { in pk_gencsr()
713 if (kstype == KMF_KEYSTORE_NSS) { in pk_gencsr()
H A Dsetpin.c52 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in setpin_nss()
292 } else if (kstype == KMF_KEYSTORE_NSS && EMPTYSTRING(token_spec)) { in pk_setpin()
312 case KMF_KEYSTORE_NSS: in pk_setpin()
H A Dsigncsr.c387 } else if (kstype == KMF_KEYSTORE_NSS) { in pk_signcsr_pk11_nss()
419 if (kstype == KMF_KEYSTORE_NSS) { in pk_signcsr_pk11_nss()
490 if (kstype == KMF_KEYSTORE_NSS) { in pk_signcsr_pk11_nss()
701 } else if (kstype == KMF_KEYSTORE_NSS && EMPTYSTRING(token_spec)) { in pk_signcsr()
725 kstype == KMF_KEYSTORE_NSS)) { in pk_signcsr()
783 } else if (kstype == KMF_KEYSTORE_NSS) { in pk_signcsr()
H A Ddelete.c75 case KMF_KEYSTORE_NSS: in pk_destroy_keys()
232 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in delete_nss_keys()
322 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in delete_nss_certs()
387 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in delete_nss_crl()
835 } else if (kstype == KMF_KEYSTORE_NSS && token_spec == NULL) { in pk_delete()
867 kstype == KMF_KEYSTORE_NSS) && in pk_delete()
910 case KMF_KEYSTORE_NSS: in pk_delete()
H A Dgencert.c426 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in gencert_nss()
763 if ((kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN)) { in pk_gencert()
812 if (keyAlg == KMF_DSA && !y_flag && kstype == KMF_KEYSTORE_NSS) in pk_gencert()
911 if (kstype == KMF_KEYSTORE_NSS || kstype == KMF_KEYSTORE_PK11TOKEN) { in pk_gencert()
913 if (kstype == KMF_KEYSTORE_NSS) { in pk_gencert()
923 if (kstype == KMF_KEYSTORE_NSS) { in pk_gencert()
H A Dexport.c178 kstype = KMF_KEYSTORE_NSS; in pk_export_pk12_nss()
287 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in pk_export_nss_objects()
814 else if (kstype == KMF_KEYSTORE_NSS && EMPTYSTRING(token_spec)) in pk_export()
870 ((kstype == KMF_KEYSTORE_NSS) && in pk_export()
902 case KMF_KEYSTORE_NSS: in pk_export()
H A Dcommon.h160 if (k != KMF_KEYSTORE_NSS && d != NULL) { \
H A Dlist.c708 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in list_nss_objects()
1026 } else if (kstype == KMF_KEYSTORE_NSS && EMPTYSTRING(token_spec)) { in pk_list()
1055 kstype == KMF_KEYSTORE_NSS) && in pk_list()
1067 } else if (kstype == KMF_KEYSTORE_NSS) { in pk_list()
H A Dcommon.c517 return (KMF_KEYSTORE_NSS); in KS2Int()
756 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; in configure_nss()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c170 #define SET_ERROR(h, c) h->lasterr.kstype = KMF_KEYSTORE_NSS; \
353 kmf_cert->kmf_private.keystore_type = KMF_KEYSTORE_NSS; in nss2kmf_cert()
974 privkey->kstype = KMF_KEYSTORE_NSS; in NSS_CreateKeypair()
980 pubkey->kstype = KMF_KEYSTORE_NSS; in NSS_CreateKeypair()
1280 key->kstype = KMF_KEYSTORE_NSS; in NSS_FindPrikeyByCert()
1464 keys[count].kstype = KMF_KEYSTORE_NSS; in NSS_FindKey()
1498 keys[count].kstype = KMF_KEYSTORE_NSS; in NSS_FindKey()
1555 keys[count].kstype = KMF_KEYSTORE_NSS; in NSS_FindKey()
2008 symkey->kstype = KMF_KEYSTORE_NSS; in NSS_CreateSymKey()
2252 } else if (pubkey != NULL && pubkey->kstype == KMF_KEYSTORE_NSS) { in NSS_StoreKey()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dcertop.c400 if (key->kstype == KMF_KEYSTORE_NSS) in get_default_signoid()
782 if (plugin->type == KMF_KEYSTORE_NSS && in kmf_sign_data()
1489 if (kstype == KMF_KEYSTORE_NSS) in check_crl_validity()
1610 if (*kstype == KMF_KEYSTORE_NSS) { in cert_crl_check()
1646 if (*kstype != KMF_KEYSTORE_NSS) { in cert_crl_check()
1678 case KMF_KEYSTORE_NSS: in cert_crl_check()
1820 if (*kstype == KMF_KEYSTORE_NSS && slotlabel != NULL) { in cert_ocsp_check()
2151 if (*kstype == KMF_KEYSTORE_NSS && slotlabel != NULL) { in find_issuer_cert()
2303 if (*kstype == KMF_KEYSTORE_NSS && slotlabel != NULL) { in find_ta_cert()
H A Dcsrcrlop.c671 case KMF_KEYSTORE_NSS: in setup_crl_call()
771 case KMF_KEYSTORE_NSS: in kmf_find_crl()
H A Dgeneralop.c154 {KMF_KEYSTORE_NSS, KMF_PLUGIN_PATH "kmf_nss.so.1", FALSE}
2666 *kstype = KMF_KEYSTORE_NSS; in kmf_get_plugin_info()
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h75 #define KMF_KEYSTORE_NSS 1 macro
79 #define VALID_DEFAULT_KEYSTORE_TYPE(t) ((t >= KMF_KEYSTORE_NSS) &&\