Lines Matching defs:cert
228 /* Initial cert verify state: verify with default system roots */
1476 * -- Get raw cert data, convert to ctx->localCert
1478 * -- validate cert chain
1493 /* changing the client cert invalidates negotiated auth type */
1496 return errSecSuccess; // we have cleared the cert, as requested
1518 * -- Get raw cert data, convert to ctx->encryptCert
1520 * -- validate cert chain
1651 /* single-cert version of SSLSetCertificateAuthorities() */
1654 SecCertificateRef cert)
1661 subjectName = SecCertificateCopySubjectSequence(cert);
1665 ortn = SecCertificateCopyFirstFieldValue(cert, &CSSMOID_X509V1SubjectNameStd, &subjectName);
1669 /* add to acceptableCAs as cert, creating array if necessary */
1677 CFArrayAppendValue(ctx->acceptableCAs, cert);
1679 /* then add this cert's subject name to acceptableDNList */
1723 /* one cert */
1733 SecCertificateRef cert = (SecCertificateRef)CFArrayGetValueAtIndex(cfa, dex);
1734 if(CFGetTypeID(cert) != SecCertificateGetTypeID()) {
1737 ortn = sslAddCA(ctx, cert);
2354 * See if we have a signing cert that matches one of the
2356 * have a cert that we think the server will accept".