Searched refs:p12ecx (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 1738 add_cert_to_bag(SEC_PKCS12ExportContext *p12ecx, in add_cert_to_bag() argument 1744 keySafe = SEC_PKCS12CreateUnencryptedSafe(p12ecx); in add_cert_to_bag() 1748 certSafe = SEC_PKCS12CreatePasswordPrivSafe(p12ecx, pwitem, in add_cert_to_bag() 1757 if (SEC_PKCS12AddCertAndKey(p12ecx, certSafe, NULL, cert, in add_cert_to_bag() 1772 SEC_PKCS12ExportContext *p12ecx = NULL; in NSS_ExportPK12() local 1852 p12ecx = SEC_PKCS12CreateExportContext(NULL, NULL, slot, NULL); in NSS_ExportPK12() 1853 if (!p12ecx) { in NSS_ExportPK12() 1857 if (SEC_PKCS12AddPasswordIntegrity(p12ecx, &pwitem, SEC_OID_SHA1) in NSS_ExportPK12() 1870 rv = add_cert_to_bag(p12ecx, node->cert, &pwitem); in NSS_ExportPK12() 1873 rv = add_cert_to_bag(p12ecx, nsscert, &pwitem); in NSS_ExportPK12() [all …]
|