Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c351 nss2kmf_cert(CERTCertificate *nss_cert, KMF_X509_DER_CERT *kmf_cert) in nss2kmf_cert() argument
356 kmf_cert->certificate.Length = nss_cert->derCert.len; in nss2kmf_cert()
358 if ((kmf_cert->certificate.Data = malloc(nss_cert->derCert.len)) == in nss2kmf_cert()
363 (void) memcpy(kmf_cert->certificate.Data, nss_cert->derCert.data, in nss2kmf_cert()
364 nss_cert->derCert.len); in nss2kmf_cert()
365 if (nss_cert->nickname != NULL) in nss2kmf_cert()
367 (char *)strdup(nss_cert->nickname); in nss2kmf_cert()
377 CERTCertificate *nss_cert; in nss_getcert_by_label() local
380 nss_cert = PK11_FindCertFromNickname(name, NULL); in nss_getcert_by_label()
381 if (nss_cert == NULL) { in nss_getcert_by_label()
[all …]