SecAppleAnchorPriv.h [plain text]
#ifndef SecAppleAnchor_c
#define SecAppleAnchor_c
#include <CoreFoundation/CoreFoundation.h>
#include <Security/Security.h>
#include <sys/cdefs.h>
__BEGIN_DECLS
typedef CF_OPTIONS(uint32_t, SecAppleTrustAnchorFlags) {
kSecAppleTrustAnchorFlagsIncludeTestAnchors = 1 << 0,
kSecAppleTrustAnchorFlagsAllowNonProduction = 1 << 1,
};
bool
SecIsAppleTrustAnchor(SecCertificateRef cert,
SecAppleTrustAnchorFlags flags);
bool
SecIsAppleTrustAnchorData(CFDataRef cert,
SecAppleTrustAnchorFlags flags);
__END_DECLS
#endif