Searched refs:cert0 (Results 1 - 8 of 8) sorted by relevance
/macosx-10.9.5/Security-55471.14.18/sec/Security/Regressions/secitem/ |
H A D | si-28-sectrustsettings.c | 172 SecCertificateRef cert0; local 173 isnt(cert0 = SecCertificateCreateWithBytes(NULL, _c0, sizeof(_c0)), 174 NULL, "create cert0"); 178 ok(!SecTrustStoreContains(user_store, cert0), 179 "cert0 is not yet present"); 180 ok_status(SecTrustStoreSetTrustSettings(user_store, cert0, NULL), 181 "make cert0 trusted for anything"); 182 ok(SecTrustStoreContains(user_store, cert0), 183 "cert0 is present"); 184 ok_status(SecTrustStoreSetTrustSettings(user_store, cert0, NUL [all...] |
H A D | si-23-sectrust-ocsp-wwdr.c | 185 SecCertificateRef cert0, cert1; local 186 isnt(cert0 = SecCertificateCreateWithBytes(NULL, WWDR_NoRevInfo, sizeof(WWDR_NoRevInfo)), 192 CFArrayAppendValue(certs, cert0); 198 CFArrayRef ocspResponders = SecCertificateGetOCSPResponders(cert0); 239 CFReleaseSafe(cert0);
|
H A D | si-27-sectrust-exceptions.c | 301 SecCertificateRef cert0, cert1; local 302 isnt(cert0 = SecCertificateCreateWithBytes(NULL, _c0, sizeof(_c0)), 303 NULL, "create cert0"); 307 cert0, 377 CFReleaseSafe(cert0);
|
H A D | si-20-sectrust.c | 602 SecCertificateRef cert0, cert1; local 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), "cop [all...] |
H A D | si-15-certificate.c | 697 SecCertificateRef cert0, cert1, cert2, cert3, cert4, cert5, cert6; local 698 isnt(cert0 = SecCertificateCreateWithBytes(NULL, _c0, sizeof(_c0)), 699 NULL, "create cert0"); 723 ok(SecCertificateIsSelfSignedCA(cert0), "cert0 is CA"); 766 CFReleaseSafe(cert0);
|
H A D | si-29-sectrust-codesigning.c | 605 SecCertificateRef cert0, cert1, ntmd0, local 607 isnt(cert0 = SecCertificateCreateWithBytes(NULL, _c0, sizeof(_c0)), 608 NULL, "create cert0"); 618 cert0, 664 CFReleaseNull(cert0);
|
H A D | si-23-sectrust-ocsp.c | 567 SecCertificateRef cert0, cert1, responderCert; local 568 isnt(cert0 = SecCertificateCreateWithBytes(NULL, _c0, sizeof(_c0)), 569 NULL, "create cert0"); 574 CFArrayAppendValue(certs, cert0); 640 CFReleaseSafe(cert0);
|
H A D | si-24-sectrust-shoebox.c | 859 SecCertificateRef cert0, cert1; local 863 isnt(cert0 = SecCertificateCreateWithBytes(NULL, _leaf, sizeof(_leaf)), 864 NULL, "create cert0"); 869 CFArrayAppendValue(certs, cert0);
|
Completed in 133 milliseconds