Searched refs:certdata (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/libkmf/libkmf/common/ |
H A D | certgetsetop.c | 130 kmf_get_cert_extn(const KMF_DATA *certdata, in kmf_get_cert_extn() argument 138 if (certdata == NULL || extoid == NULL || extdata == NULL) in kmf_get_cert_extn() 141 ret = DerDecodeSignedCertificate(certdata, &cert); in kmf_get_cert_extn() 185 kmf_get_cert_extns(const KMF_DATA *certdata, KMF_FLAG_CERT_EXTN flag, in kmf_get_cert_extns() argument 193 if (certdata == NULL || extlist == NULL || nextns == NULL) in kmf_get_cert_extns() 201 ret = DerDecodeSignedCertificate(certdata, &cert); in kmf_get_cert_extns() 265 kmf_get_cert_ku(const KMF_DATA *certdata, in kmf_get_cert_ku() argument 271 if (certdata == NULL || keyusage == NULL) in kmf_get_cert_ku() 278 ret = kmf_get_cert_extn(certdata, (KMF_OID *)&KMFOID_KeyUsage, &extn); in kmf_get_cert_ku() 377 kmf_get_cert_eku(const KMF_DATA *certdata, in kmf_get_cert_eku() argument [all …]
|
H A D | certop.c | 2648 kmf_create_cert_file(const KMF_DATA *certdata, KMF_ENCODE_FORMAT format, in kmf_create_cert_file() argument 2655 if (certdata == NULL || certfile == NULL) in kmf_create_cert_file() 2664 certdata->Data, certdata->Length, in kmf_create_cert_file() 2682 if (write(fd, certdata->Data, certdata->Length) != in kmf_create_cert_file() 2683 certdata->Length) { in kmf_create_cert_file()
|
/titanic_44/usr/src/cmd/cmd-crypto/pktool/ |
H A D | signcsr.c | 268 KMF_DATA certdata = { 0, NULL }; in pk_signcsr_files() local 335 rv = pk_sign_cert(handle, &signedCert, &cakey, NULL, &certdata); in pk_signcsr_files() 342 rv = kmf_create_cert_file(&certdata, fmt, certfile); in pk_signcsr_files() 346 kmf_free_data(&certdata); in pk_signcsr_files()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 1267 KMF_DATA certdata = { 0, NULL }; in OpenSSL_DeleteCert() local 1321 serial, validity, fname, &certdata); in OpenSSL_DeleteCert() 1325 kmf_free_data(&certdata); in OpenSSL_DeleteCert() 1340 kmf_free_data(&certdata); in OpenSSL_DeleteCert() 1347 fullpath, &certdata); in OpenSSL_DeleteCert() 1360 kmf_free_data(&certdata); in OpenSSL_DeleteCert() 3510 KMF_X509_DER_CERT certdata; in OpenSSL_ExportPK12() local 3533 (void) memset(&certdata, 0, sizeof (certdata)); in OpenSSL_ExportPK12() 3535 fullpath, &certdata.certificate); in OpenSSL_ExportPK12() 3540 certdata.kmf_private.keystore_type = KMF_KEYSTORE_OPENSSL; in OpenSSL_ExportPK12() [all …]
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 2854 KMF_DATA *certdata; in NSS_FindCertInCRL() local 2875 certdata = kmf_get_attr_ptr(KMF_CERT_DATA_ATTR, in NSS_FindCertInCRL() 2878 if (certdata == NULL) in NSS_FindCertInCRL() 2881 derCert.data = certdata->Data; in NSS_FindCertInCRL() 2882 derCert.len = certdata->Length; in NSS_FindCertInCRL()
|