Lines Matching defs:exceptions
181 CFArrayRef exceptions = NULL;
187 exceptions = trustObj->exceptions();
198 /* post-process trust result based on exceptions */
200 /* If leaf is in exceptions -> proceed, otherwise unspecified. */
204 else if (trustResult == kSecTrustResultRecoverableTrustFailure && exceptions) {
205 /* If we have exceptions get details and match to exceptions. */
610 CFArrayRef exceptions = NULL;
613 exceptions = Trust::required(trust)->exceptions();
620 if (!exceptions || ix >= CFArrayGetCount(exceptions))
622 CFDictionaryRef exception = (CFDictionaryRef)CFArrayGetValueAtIndex(exceptions, ix);
658 CFMutableArrayRef exceptions = CFArrayCreateMutable(kCFAllocatorDefault,
674 /* Add empty exception dictionaries for non leaf certs which have no exceptions
682 CFArrayAppendValue(exceptions, exception);
690 CFDictionaryRef exception = (CFDictionaryRef)CFArrayGetValueAtIndex(exceptions, ix);
692 CFArrayRemoveValueAtIndex(exceptions, ix);
699 exceptions, kCFPropertyListBinaryFormat_v1_0, 0, NULL);
700 CFRelease(exceptions);
708 CFArrayRef exceptions;
709 exceptions = (CFArrayRef)CFPropertyListCreateWithData(kCFAllocatorDefault,
711 if (exceptions && CFGetTypeID(exceptions) != CFArrayGetTypeID()) {
712 CFRelease(exceptions);
713 exceptions = NULL;
718 Trust::required(trust)->exceptions(exceptions);
729 /* The passed in exceptions didn't match our current leaf, so we discard it. */
731 Trust::required(trust)->exceptions(NULL);