/titanic_44/usr/src/cmd/cmd-crypto/pktool/ |
H A D | export.c | 161 char *certlabel, char *issuer, char *subject, in pk_export_pk12_nss() argument 183 if (certlabel != NULL) { in pk_export_pk12_nss() 185 KMF_CERT_LABEL_ATTR, certlabel, strlen(certlabel)); in pk_export_pk12_nss() 281 int oclass, char *certlabel, char *issuer, char *subject, in pk_export_nss_objects() argument 302 if (certlabel != NULL) { in pk_export_nss_objects() 304 KMF_CERT_LABEL_ATTR, certlabel, in pk_export_nss_objects() 305 strlen(certlabel)); in pk_export_nss_objects() 371 char *certlabel, char *issuer, char *subject, in pk_export_pk12_pk11() argument 390 if (certlabel != NULL) { in pk_export_pk12_pk11() 392 KMF_CERT_LABEL_ATTR, certlabel, strlen(certlabel)); in pk_export_pk12_pk11() [all …]
|
H A D | gencert.c | 49 char *certlabel, KMF_KEY_ALG keyAlg, in gencert_pkcs11() argument 98 kmfrv = genkeypair_pkcs11(kmfhandle, token, certlabel, in gencert_pkcs11() 182 if (certlabel != NULL) { in gencert_pkcs11() 184 certlabel, strlen(certlabel)); in gencert_pkcs11() 583 char *certlabel = NULL; in pk_gencert() local 642 if (certlabel) in pk_gencert() 644 certlabel = optarg_av; in pk_gencert() 763 if (interactive && EMPTYSTRING(certlabel)) { in pk_gencert() 764 (void) get_certlabel(&certlabel); in pk_gencert() 767 if (EMPTYSTRING(certlabel)) { in pk_gencert() [all …]
|
H A D | gencsr.c | 49 char *certlabel, KMF_KEY_ALG keyAlg, in gencsr_pkcs11() argument 79 kmfrv = genkeypair_pkcs11(kmfhandle, token, certlabel, in gencsr_pkcs11() 379 char *certlabel = NULL; in pk_gencsr() local 444 if (certlabel) in pk_gencsr() 446 certlabel = optarg_av; in pk_gencsr() 578 if (EMPTYSTRING(certlabel) && interactive) in pk_gencsr() 579 (void) get_certlabel(&certlabel); in pk_gencsr() 581 if (EMPTYSTRING(certlabel)) { in pk_gencsr() 719 certlabel, dir, prefix, in pk_gencsr() 727 certlabel, keyAlg, keylen, in pk_gencsr()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 594 char *certlabel = NULL; in NSS_FindCert() local 620 certlabel = kmf_get_attr_ptr(KMF_CERT_LABEL_ATTR, attrlist, numattr); in NSS_FindCert() 632 if (certlabel != NULL) { in NSS_FindCert() 634 rv = nss_getcert_by_label(kmfh, certlabel, kmfcerts, num_certs, in NSS_FindCert() 693 char *certlabel = NULL; in NSS_DeleteCert() local 707 certlabel = kmf_get_attr_ptr(KMF_CERT_LABEL_ATTR, attrlist, numattr); in NSS_DeleteCert() 720 if (certlabel != NULL) { in NSS_DeleteCert() 721 cert = PK11_FindCertFromNickname(certlabel, NULL); in NSS_DeleteCert() 1780 char *certlabel = NULL; in NSS_ExportPK12() local 1812 certlabel = kmf_get_attr_ptr(KMF_CERT_LABEL_ATTR, attrlist, numattr); in NSS_ExportPK12() [all …]
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 674 char *certlabel = NULL; in KMFPK11_FindCert() local 704 certlabel = kmf_get_attr_ptr(KMF_CERT_LABEL_ATTR, attrlist, numattr); in KMFPK11_FindCert() 731 rv = search_certs(handle, certlabel, issuer, subject, serial, private, in KMFPK11_FindCert() 1340 char *certlabel = NULL; in KMFPK11_DeleteCert() local 1355 certlabel = kmf_get_attr_ptr(KMF_CERT_LABEL_ATTR, attrlist, numattr); in KMFPK11_DeleteCert() 1379 rv = search_certs(handle, certlabel, issuer, subject, serial, in KMFPK11_DeleteCert() 4071 char *certlabel = NULL; in KMFPK11_ExportPK12() local 4109 certlabel = kmf_get_attr_ptr(KMF_CERT_LABEL_ATTR, attrlist, numattr); in KMFPK11_ExportPK12() 4110 if (certlabel != NULL) { in KMFPK11_ExportPK12() 4112 KMF_CERT_LABEL_ATTR, certlabel, strlen(certlabel)); in KMFPK11_ExportPK12()
|