Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dexport.c89 KMF_X509_DER_CERT kmfcert; in pk_export_file_objects() local
130 &kmfcert); in pk_export_file_objects()
140 KMF_CERT_DATA_ATTR, &kmfcert.certificate, in pk_export_file_objects()
152 kmf_free_kmf_cert(kmfhandle, &kmfcert); in pk_export_file_objects()
286 KMF_X509_DER_CERT kmfcert; in pk_export_nss_objects() local
338 &kmfcert); in pk_export_nss_objects()
348 KMF_CERT_DATA_ATTR, &kmfcert.certificate, in pk_export_nss_objects()
363 kmf_free_kmf_cert(kmfhandle, &kmfcert); in pk_export_nss_objects()
593 KMF_X509_DER_CERT kmfcert; in pk_export_pk11_objects() local
640 rv = pk_find_export_cert(kmfhandle, attrlist, numattr, &kmfcert); in pk_export_pk11_objects()
[all …]
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c218 KMF_X509_DER_CERT *kmfcert) in PK11Cert2KMFCert() argument
290 if (kmfcert != NULL) { in PK11Cert2KMFCert()
311 kmfcert->certificate.Data = value; in PK11Cert2KMFCert()
312 kmfcert->certificate.Length = value_len; in PK11Cert2KMFCert()
313 kmfcert->kmf_private.flags |= KMF_FLAG_CERT_SIGNED; in PK11Cert2KMFCert()
314 kmfcert->kmf_private.keystore_type = in PK11Cert2KMFCert()
319 kmfcert->kmf_private.label = (char *)label; in PK11Cert2KMFCert()
333 if (kmfcert) { in PK11Cert2KMFCert()
334 kmfcert->certificate.Data = NULL; in PK11Cert2KMFCert()
335 kmfcert->certificate.Length = 0; in PK11Cert2KMFCert()