Lines Matching refs:cert
963 CF_INLINE CFStringRef getsubject(SecCertificateRef cert)
969 server_cert_summary = SecCertificateCopySubjectSummary(cert);
975 SecCertificateCopyLongDescription(NULL, cert, NULL);
981 server_cert_summary = SecCertificateCopySubjectSummary(cert);
985 (void)SecCertificateCopyCommonName(cert, &server_cert_summary);
991 SecCertificateRef cert, char **certp)
993 CFStringRef c = getsubject(cert);
1048 SecCertificateRef cert = NULL;
1066 (SecKeychainItemRef *)&cert);
1067 if(status == noErr && cert) {
1069 status = SecIdentityCreateWithCertificate(NULL, cert, out_c_a_k);
1070 CFRelease(cert);
1131 SecCertificateRef cert = NULL;
1134 err = SecIdentityCopyCertificate(identity, &cert);
1139 common_name = SecCertificateCopySubjectSummary(cert);
1141 copy_status = SecCertificateCopyCommonName(cert, &common_name);
1145 CFRelease(cert);
1155 CFRelease(cert);
1845 /* User wants to authenticate with a client cert. Look for it. Assume that
1869 SecCertificateRef cert = NULL;
1874 err = SecIdentityCopyCertificate(cert_and_key, &cert);
1877 CURLcode result = CopyCertSubject(data, cert, &certp);
1883 CFRelease(cert);
2649 /* This error is raised if the server's cert didn't match the server's