]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_codesigning/lib/SecCodePriv.h
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / libsecurity_codesigning / lib / SecCodePriv.h
index f4d8e2a7a020abbe70fea70baed2409e673098aa..a5b128cd54cfbd4c3ff78ff7a7e05d98bcfc418c 100644 (file)
@@ -47,6 +47,7 @@ extern const CFStringRef kSecCodeInfoResourceDirectory;               /* Internal */
 extern const CFStringRef kSecCodeInfoNotarizationDate;      /* Internal */
 extern const CFStringRef kSecCodeInfoCMSDigestHashType;     /* Internal */
 extern const CFStringRef kSecCodeInfoCMSDigest;             /* Internal */
+extern const CFStringRef kSecCodeInfoSignatureVersion;      /* Internal */
 
 extern const CFStringRef kSecCodeInfoDiskRepVersionPlatform;     /* Number */
 extern const CFStringRef kSecCodeInfoDiskRepVersionMin;          /* Number */
@@ -229,9 +230,22 @@ OSStatus SecCodeValidateFileResource(SecStaticCodeRef code, CFStringRef relative
  entirely eventually, we makes this a private flag.
  */
 CF_ENUM(uint32_t) {
+       // NOTE: These values needs to align with the public definitions for static code validity too.
        kSecCSStrictValidateStructure = 1 << 13,
+       kSecCSSkipRootVolumeExceptions = 1 << 14,
+    kSecCSSkipXattrFiles = 1 << 15,
 };
 
+#if TARGET_OS_OSX
+/* Here just to make TAPI happy. */
+extern int GKBIS_DS_Store_Present;
+extern int GKBIS_Dot_underbar_Present;
+extern int GKBIS_Num_localizations;
+extern int GKBIS_Num_files;
+extern int GKBIS_Num_dirs;
+extern int GKBIS_Num_symlinks;
+#endif /* TARGET_OS_OSX */
+
 #ifdef __cplusplus
 }
 #endif