Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dcertop.c425 KMF_X509_CERTIFICATE *x509cert = NULL; in check_for_basic_constraint() local
458 rv = DerDecodeSignedCertificate(cert, &x509cert); in check_for_basic_constraint()
464 rv = kmf_set_cert_basic_constraint(x509cert, in check_for_basic_constraint()
467 kmf_free_signed_cert(x509cert); in check_for_basic_constraint()
468 free(x509cert); in check_for_basic_constraint()
475 rv = kmf_encode_cert_record(x509cert, cert); in check_for_basic_constraint()
478 kmf_free_signed_cert(x509cert); in check_for_basic_constraint()
479 free(x509cert); in check_for_basic_constraint()
521 KMF_X509_CERTIFICATE *x509cert; in kmf_sign_cert() local
595 x509cert = kmf_get_attr_ptr(KMF_X509_CERTIFICATE_ATTR, attrlist, in kmf_sign_cert()
[all …]
/titanic_50/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c415 ssl_cert2KMFDATA(KMF_HANDLE *kmfh, X509 *x509cert, KMF_DATA *cert) in ssl_cert2KMFDATA() argument
424 if ((len = i2d_X509(x509cert, NULL)) < 0) { in ssl_cert2KMFDATA()
440 if ((len = i2d_X509(x509cert, &p)) < 0) { in ssl_cert2KMFDATA()
763 X509 *x509cert = NULL; in kmf_load_cert() local
765 rv = load_X509cert(kmfh, issuer, subject, serial, pathname, &x509cert); in kmf_load_cert()
766 if (rv == KMF_OK && x509cert != NULL && cert != NULL) { in kmf_load_cert()
767 rv = ssl_cert2KMFDATA(kmfh, x509cert, cert); in kmf_load_cert()
792 if (x509cert != NULL) in kmf_load_cert()
793 X509_free(x509cert); in kmf_load_cert()
/titanic_50/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c1809 ExtractX509CertParts(KMF_DATA *x509cert, KMF_DATA *tbscert, in ExtractX509CertParts() argument
1818 if (tbscert == NULL || x509cert == NULL) in ExtractX509CertParts()
1821 x509.bv_val = (char *)x509cert->Data; in ExtractX509CertParts()
1822 x509.bv_len = x509cert->Length; in ExtractX509CertParts()