/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/ |
H A D | sslKeychain.c | 120 SSLCertificate *certChain = NULL; /* Retained */ local 140 certChain=sslMalloc(numCerts*sizeof(SSLCertificate)); 141 if (!certChain) { 184 certChain[0].derCert.data = (uint8_t *)SecCertificateGetBytePtr(leafCert); 185 certChain[0].derCert.length = SecCertificateGetLength(leafCert); 186 certChain[0].next = NULL; 202 certChain[ix].derCert.data = (uint8_t *)SecCertificateGetBytePtr(intermediate); 203 certChain[ix].derCert.length = SecCertificateGetLength(intermediate); 204 certChain[ix].next = NULL; 205 certChain[i [all...] |
H A D | sslSession.c | 68 CFArrayRef certChain; local 87 certChain = ctx->peerCert; 88 certCount = certChain ? CFArrayGetCount(certChain) : 0; 90 SecCertificateRef cert = (SecCertificateRef)CFArrayGetValueAtIndex(certChain, ix); 126 SecCertificateRef certRef = (SecCertificateRef)CFArrayGetValueAtIndex(certChain, ix); 251 CFMutableArrayRef certChain = NULL; local 341 if (!certChain) { 342 certChain = CFArrayCreateMutable(kCFAllocatorDefault, 344 if (!certChain) { [all...] |
H A D | sslCrypto.h | 61 CFArrayRef certChain,
|
H A D | sslCrypto.c | 78 CFArrayRef certChain, 93 if (CFArrayGetCount(certChain) == 0) { 116 require_noerr(status = SecTrustCreateWithCertificates(certChain, policies, 184 CFArrayRef certChain, 190 assert(certChain); 197 status = sslCreateSecTrust(ctx, certChain, arePeerCerts, &trust); 227 if (sslGetMatchingCertInArray((SecCertificateRef)CFArrayGetValueAtIndex(certChain, 0), 76 sslCreateSecTrust( SSLContext *ctx, CFArrayRef certChain, bool arePeerCerts, SecTrustRef *pTrust) argument 182 sslVerifyCertChain( SSLContext *ctx, CFArrayRef certChain, bool arePeerCerts) argument
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/lib/ |
H A D | sslKeychain.c | 120 SSLCertificate *certChain = NULL; /* Retained */ local 140 certChain=sslMalloc(numCerts*sizeof(SSLCertificate)); 141 if (!certChain) { 184 certChain[0].derCert.data = (uint8_t *)SecCertificateGetBytePtr(leafCert); 185 certChain[0].derCert.length = SecCertificateGetLength(leafCert); 186 certChain[0].next = NULL; 202 certChain[ix].derCert.data = (uint8_t *)SecCertificateGetBytePtr(intermediate); 203 certChain[ix].derCert.length = SecCertificateGetLength(intermediate); 204 certChain[ix].next = NULL; 205 certChain[i [all...] |
H A D | sslSession.c | 68 CFArrayRef certChain; local 87 certChain = ctx->peerCert; 88 certCount = certChain ? CFArrayGetCount(certChain) : 0; 90 SecCertificateRef cert = (SecCertificateRef)CFArrayGetValueAtIndex(certChain, ix); 126 SecCertificateRef certRef = (SecCertificateRef)CFArrayGetValueAtIndex(certChain, ix); 251 CFMutableArrayRef certChain = NULL; local 341 if (!certChain) { 342 certChain = CFArrayCreateMutable(kCFAllocatorDefault, 344 if (!certChain) { [all...] |
H A D | sslCrypto.h | 61 CFArrayRef certChain,
|
H A D | sslCrypto.c | 78 CFArrayRef certChain, 93 if (CFArrayGetCount(certChain) == 0) { 116 require_noerr(status = SecTrustCreateWithCertificates(certChain, policies, 184 CFArrayRef certChain, 190 assert(certChain); 197 status = sslCreateSecTrust(ctx, certChain, arePeerCerts, &trust); 227 if (sslGetMatchingCertInArray((SecCertificateRef)CFArrayGetValueAtIndex(certChain, 0), 76 sslCreateSecTrust( SSLContext *ctx, CFArrayRef certChain, bool arePeerCerts, SecTrustRef *pTrust) argument 182 sslVerifyCertChain( SSLContext *ctx, CFArrayRef certChain, bool arePeerCerts) argument
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/ |
H A D | sslKeychain.c | 120 SSLCertificate *certChain = NULL; /* Retained */ local 140 certChain=sslMalloc(numCerts*sizeof(SSLCertificate)); 141 if (!certChain) { 184 certChain[0].derCert.data = (uint8_t *)SecCertificateGetBytePtr(leafCert); 185 certChain[0].derCert.length = SecCertificateGetLength(leafCert); 186 certChain[0].next = NULL; 202 certChain[ix].derCert.data = (uint8_t *)SecCertificateGetBytePtr(intermediate); 203 certChain[ix].derCert.length = SecCertificateGetLength(intermediate); 204 certChain[ix].next = NULL; 205 certChain[i [all...] |
H A D | sslSession.c | 68 CFArrayRef certChain; local 87 certChain = ctx->peerCert; 88 certCount = certChain ? CFArrayGetCount(certChain) : 0; 90 SecCertificateRef cert = (SecCertificateRef)CFArrayGetValueAtIndex(certChain, ix); 126 SecCertificateRef certRef = (SecCertificateRef)CFArrayGetValueAtIndex(certChain, ix); 251 CFMutableArrayRef certChain = NULL; local 341 if (!certChain) { 342 certChain = CFArrayCreateMutable(kCFAllocatorDefault, 344 if (!certChain) { [all...] |
H A D | sslCrypto.h | 61 CFArrayRef certChain,
|
H A D | sslCrypto.c | 78 CFArrayRef certChain, 93 if (CFArrayGetCount(certChain) == 0) { 116 require_noerr(status = SecTrustCreateWithCertificates(certChain, policies, 184 CFArrayRef certChain, 190 assert(certChain); 197 status = sslCreateSecTrust(ctx, certChain, arePeerCerts, &trust); 227 if (sslGetMatchingCertInArray((SecCertificateRef)CFArrayGetValueAtIndex(certChain, 0), 76 sslCreateSecTrust( SSLContext *ctx, CFArrayRef certChain, bool arePeerCerts, SecTrustRef *pTrust) argument 182 sslVerifyCertChain( SSLContext *ctx, CFArrayRef certChain, bool arePeerCerts) argument
|
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/ |
H A D | TrustAdditions.h | 46 CFDictionaryRef extendedTrustResults(CFArrayRef certChain, SecTrustResultType trustResult, OSStatus tpResult, bool isEVCandidate);
|
H A D | SecTrust.cpp | 258 CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain) 264 if (certChain && statusChain) 265 trust->buildEvidence(*certChain, TPEvidenceInfo::overlayVar(*statusChain)); 399 CFArrayRef certChain = NULL; local 419 trustObj->buildEvidence(certChain, TPEvidenceInfo::overlayVar(statusChain)); 428 if (certChain) 429 CFRelease(certChain); 445 CFArrayRef certChain = NULL; local 457 trustObj->buildEvidence(certChain, TPEvidenceInfo::overlayVar(statusChain)); 465 if (certChain) 255 SecTrustGetResult( SecTrustRef trustRef, SecTrustResultType *result, CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain) argument 478 CFArrayRef certChain = NULL; local 552 CFArrayRef certChain = NULL; local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/ |
H A D | TrustAdditions.h | 46 CFDictionaryRef extendedTrustResults(CFArrayRef certChain, SecTrustResultType trustResult, OSStatus tpResult, bool isEVCandidate);
|
H A D | SecTrust.cpp | 258 CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain) 264 if (certChain && statusChain) 265 trust->buildEvidence(*certChain, TPEvidenceInfo::overlayVar(*statusChain)); 399 CFArrayRef certChain = NULL; local 419 trustObj->buildEvidence(certChain, TPEvidenceInfo::overlayVar(statusChain)); 428 if (certChain) 429 CFRelease(certChain); 445 CFArrayRef certChain = NULL; local 457 trustObj->buildEvidence(certChain, TPEvidenceInfo::overlayVar(statusChain)); 465 if (certChain) 255 SecTrustGetResult( SecTrustRef trustRef, SecTrustResultType *result, CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain) argument 478 CFArrayRef certChain = NULL; local 552 CFArrayRef certChain = NULL; local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/ |
H A D | TrustAdditions.h | 46 CFDictionaryRef extendedTrustResults(CFArrayRef certChain, SecTrustResultType trustResult, OSStatus tpResult, bool isEVCandidate);
|
H A D | SecTrust.cpp | 258 CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain) 264 if (certChain && statusChain) 265 trust->buildEvidence(*certChain, TPEvidenceInfo::overlayVar(*statusChain)); 399 CFArrayRef certChain = NULL; local 419 trustObj->buildEvidence(certChain, TPEvidenceInfo::overlayVar(statusChain)); 428 if (certChain) 429 CFRelease(certChain); 445 CFArrayRef certChain = NULL; local 457 trustObj->buildEvidence(certChain, TPEvidenceInfo::overlayVar(statusChain)); 465 if (certChain) 255 SecTrustGetResult( SecTrustRef trustRef, SecTrustResultType *result, CFArrayRef *certChain, CSSM_TP_APPLE_EVIDENCE_INFO **statusChain) argument 478 CFArrayRef certChain = NULL; local 552 CFArrayRef certChain = NULL; local [all...] |
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/certChain/ |
H A D | Makefile | 1 EXECUTABLE=certChain 3 CPSOURCE= certChain.cpp
|
H A D | certChain.cpp | 31 CFArrayRef certChain = NULL; // constructed chain local 182 ortn = SecTrustGetResult(secTrust, &secTrustResult, &certChain, &dummyEv); 189 numCerts = CFArrayGetCount(certChain); 194 certRef = (SecCertificateRef)CFArrayGetValueAtIndex(certChain, i);
|
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/ |
H A D | requirement.h | 106 Context(CFArrayRef certChain, CFDictionaryRef infoDict, CFDictionaryRef entitlementDict, argument 108 : certs(certChain), info(infoDict), entitlements(entitlementDict), identifier(ident), directory(dir) { }
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/ |
H A D | requirement.h | 106 Context(CFArrayRef certChain, CFDictionaryRef infoDict, CFDictionaryRef entitlementDict, argument 108 : certs(certChain), info(infoDict), entitlements(entitlementDict), identifier(ident), directory(dir) { }
|
/macosx-10.10/security_systemkeychain-55202/src/ |
H A D | cs_dump.cpp | 40 static void extractCertificates(const char *prefix, CFArrayRef certChain); 133 CFArrayRef certChain = api.get<CFArrayRef>(kSecCodeInfoCertificates); local 136 CFIndex count = CFArrayGetCount(certChain); 138 SecCertificateRef cert = SecCertificateRef(CFArrayGetValueAtIndex(certChain, n)); 145 extractCertificates(extractCerts, certChain); 302 void extractCertificates(const char *prefix, CFArrayRef certChain) argument 304 CFIndex count = CFArrayGetCount(certChain); 306 SecCertificateRef cert = SecCertificateRef(CFArrayGetValueAtIndex(certChain, n));
|
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/ |
H A D | Makefile | 7 SUBDIRS= clAppUtils anchorTest caVerify certChain certInCrl certTime certcrl \
|
/macosx-10.10/Security-57031.1.35/Security/include/security_smime/ |
H A D | cert.c | 250 CFArrayRef certChain = NULL; local 290 status = SecTrustGetResult(trust, NULL, &certChain, &statusChain); 295 if (!includeRoot && CFArrayGetCount(certChain) > 1) 297 CFMutableArrayRef subChain = CFArrayCreateMutableCopy(NULL, 0, certChain); 298 CFRelease(certChain); 299 certChain = subChain; 315 if (certChain && status) 317 CFRelease(certChain); 318 certChain = NULL; 321 return certChain; [all...] |