Searched refs:nss_cert (Results 1 – 1 of 1) sorted by relevance
350 nss2kmf_cert(CERTCertificate *nss_cert, KMF_X509_DER_CERT *kmf_cert) in nss2kmf_cert() argument355 kmf_cert->certificate.Length = nss_cert->derCert.len; in nss2kmf_cert()357 if ((kmf_cert->certificate.Data = malloc(nss_cert->derCert.len)) == in nss2kmf_cert()362 (void) memcpy(kmf_cert->certificate.Data, nss_cert->derCert.data, in nss2kmf_cert()363 nss_cert->derCert.len); in nss2kmf_cert()364 if (nss_cert->nickname != NULL) in nss2kmf_cert()366 (char *)strdup(nss_cert->nickname); in nss2kmf_cert()376 CERTCertificate *nss_cert; in nss_getcert_by_label() local379 nss_cert = PK11_FindCertFromNickname(name, NULL); in nss_getcert_by_label()380 if (nss_cert == NULL) { in nss_getcert_by_label()[all …]