Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/net/wanboot/
H A Dp12auxpars.c650 X509 *x509 = NULL; in parse_one_bag() local
690 if ((x509 = M_PKCS12_certbag2x509(bag)) == NULL) { in parse_one_bag()
704 if (X509_keyid_set1(x509, in parse_one_bag()
734 if (X509_alias_set1(x509, data, len) == 0) { in parse_one_bag()
742 if (sk_X509_push(cl, x509) == 0) { in parse_one_bag()
747 x509 = NULL; in parse_one_bag()
840 if (x509 != NULL) in parse_one_bag()
841 X509_free(x509); in parse_one_bag()
/titanic_41/usr/src/lib/libpkg/common/
H A Dp12lib.c1808 X509 *x509 = NULL; in parse_one_bag() local
1848 if ((x509 = M_PKCS12_certbag2x509(bag)) == NULL) { in parse_one_bag()
1862 if (X509_keyid_set1(x509, in parse_one_bag()
1892 if (X509_alias_set1(x509, data, len) == 0) { in parse_one_bag()
1900 if (sk_X509_push(cl, x509) == 0) { in parse_one_bag()
1905 x509 = NULL; in parse_one_bag()
1998 if (x509 != NULL) in parse_one_bag()
1999 X509_free(x509); in parse_one_bag()
2068 if (x->x509) { in pem_info()
2069 if (sk_X509_push(work_cl, x->x509) == 0) { in pem_info()
[all …]
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObject.h275 x509_cert_t x509; member
678 ((o)->object_class_u.certificate->cert_type_u.x509)
680 ((o)->object_class_u.certificate->cert_type_u.x509.subject)
682 ((o)->object_class_u.certificate->cert_type_u.x509.value)
H A DsoftAttributeUtil.c495 x509_cert_t x509; in soft_copy_certificate() local
504 x509 = oldcert->cert_type_u.x509; in soft_copy_certificate()
505 if (x509.subject) in soft_copy_certificate()
506 if ((rv = copy_cert_attr(x509.subject, in soft_copy_certificate()
507 &cert->cert_type_u.x509.subject))) in soft_copy_certificate()
509 if (x509.value) in soft_copy_certificate()
510 if ((rv = copy_cert_attr(x509.value, in soft_copy_certificate()
511 &cert->cert_type_u.x509.value))) in soft_copy_certificate()
3473 &cert->cert_type_u.x509.subject,
3478 &cert->cert_type_u.x509.value,
H A DsoftKeystore.c1761 &cert->cert_type_u.x509.subject, in soft_unpack_object()
1771 &cert->cert_type_u.x509.value, in soft_unpack_object()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dcertop.c2710 KMF_X509_CERTIFICATE *x509 = NULL; in kmf_is_cert_data() local
2723 rv = DerDecodeSignedCertificate(data, &x509); in kmf_is_cert_data()
2733 rv = DerDecodeSignedCertificate(&oldpem, &x509); in kmf_is_cert_data()
2742 if (x509 != NULL) { in kmf_is_cert_data()
2743 kmf_free_signed_cert(x509); in kmf_is_cert_data()
2744 free(x509); in kmf_is_cert_data()
/titanic_41/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c1814 BerValue x509; in ExtractX509CertParts() local
1821 x509.bv_val = (char *)x509cert->Data; in ExtractX509CertParts()
1822 x509.bv_len = x509cert->Length; in ExtractX509CertParts()
1824 der = kmfder_init(&x509); in ExtractX509CertParts()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c3204 KMF_X509_CERTIFICATE *x509 = NULL; in store_raw_key() local
3260 rv = DerDecodeSignedCertificate((const KMF_DATA *)cert, &x509); in store_raw_key()
3265 rv = DerEncodeName(&x509->certificate.subject, &subject); in store_raw_key()
3450 kmf_free_signed_cert(x509); in store_raw_key()
3451 free(x509); in store_raw_key()
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c5881 if (xi != NULL && xi->x509 != NULL && catype != CATYPE_CRLS) {
5885 sk_X509_push(ca_certs, xi->x509);
5886 xi->x509 = NULL;
5891 flag = X509_cmp(x, xi->x509);
5898 sk_X509_push(ca_certs, X509_dup(xi->x509));
/titanic_41/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c3659 x = cert_infos[ncerts - 1]->x509; in extract_pem()
3685 rv = check_cert(info->x509, issuer, subject, serial, &match); in extract_pem()
3691 rv = ssl_cert2KMFDATA(kmfh, info->x509, in extract_pem()