Lines Matching refs:cert0
602 SecCertificateRef cert0, cert1;
603 isnt(cert0 = SecCertificateCreateWithBytes(NULL, _c0, sizeof(_c0)),
604 NULL, "create cert0");
608 cert0,
616 ok_status(SecTrustCreateWithCertificates(cert0, policy, &trust),
617 "create trust with single cert0");
619 is(SecTrustGetCertificateAtIndex(trust, 0), cert0, "cert 0 is leaf");
625 is_status(SecTrustCreateWithCertificates(cert0, kCFBooleanTrue, &trust),
635 is(SecTrustGetCertificateAtIndex(trust, 0), cert0, "cert 0 is leaf");
669 ok(serial = SecCertificateCopySerialNumber(cert0), "copy cert0 serial");
698 ok_status(SecTrustCreateWithCertificates(cert0, policy, &trust),
699 "create trust with single cert0");
825 CFReleaseSafe(cert0);