4 // Copyright © 2015 Apple Inc. All rights reserved.
7 #ifndef SecAppleAnchor_c
8 #define SecAppleAnchor_c
10 #include <CoreFoundation/CoreFoundation.h>
11 #include <Security/Security.h>
12 #include <sys/cdefs.h>
16 typedef CF_OPTIONS(uint32_t, SecAppleTrustAnchorFlags
) {
17 kSecAppleTrustAnchorFlagsIncludeTestAnchors
= 1 << 0,
21 * Return true if the certificate is an the Apple Trust anchor.
24 SecIsAppleTrustAnchor(SecCertificateRef cert
,
25 SecAppleTrustAnchorFlags flags
);
28 SecIsAppleTrustAnchorData(CFDataRef cert
,
29 SecAppleTrustAnchorFlags flags
);
34 #endif /* SecAppleAnchor */