-
Notifications
You must be signed in to change notification settings - Fork 548
LocalAuthentication macOS xcode16.4 b1
Rolf Bjarne Kvinge edited this page Apr 29, 2025
·
2 revisions
#LocalAuthentication.framework
diff -ruN /Applications/Xcode_16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext.h /Applications/Xcode_16.4.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext.h
--- /Applications/Xcode_16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext.h 2025-03-08 08:00:01
+++ /Applications/Xcode_16.4.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext.h 2025-04-20 14:54:13
@@ -231,22 +231,22 @@
typedef NS_ENUM(NSInteger, LAAccessControlOperation)
{
/// Access control will be used for item creation.
- LAAccessControlOperationCreateItem,
+ LAAccessControlOperationCreateItem = kLAAccessControlOperationCreateItem,
/// Access control will be used for accessing existing item.
- LAAccessControlOperationUseItem,
+ LAAccessControlOperationUseItem = kLAAccessControlOperationUseItem,
/// Access control will be used for key creation.
- LAAccessControlOperationCreateKey,
+ LAAccessControlOperationCreateKey = kLAAccessControlOperationCreateKey,
/// Access control will be used for sign operation with existing key.
- LAAccessControlOperationUseKeySign,
-
+ LAAccessControlOperationUseKeySign = kLAAccessControlOperationUseKeySign,
+
/// Access control will be used for data decryption using existing key.
- LAAccessControlOperationUseKeyDecrypt API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos),
+ LAAccessControlOperationUseKeyDecrypt API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos) = kLAAccessControlOperationUseKeyDecrypt,
/// Access control will be used for key exchange.
- LAAccessControlOperationUseKeyKeyExchange API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos),
+ LAAccessControlOperationUseKeyKeyExchange API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos) = kLAAccessControlOperationUseKeyKeyExchange,
} API_AVAILABLE(macos(10.11), ios(9.0), watchos(3.0)) API_UNAVAILABLE(tvos);
/// Evaluates access control object for the specified operation.
diff -ruN /Applications/Xcode_16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPublicDefines.h /Applications/Xcode_16.4.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPublicDefines.h
--- /Applications/Xcode_16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPublicDefines.h 2025-03-08 08:00:01
+++ /Applications/Xcode_16.4.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPublicDefines.h 2025-04-20 14:54:12
@@ -17,6 +17,14 @@
#define kLAPolicyDeviceOwnerAuthenticationWithCompanion kLAPolicyDeviceOwnerAuthenticationWithWatch
#define kLAPolicyDeviceOwnerAuthenticationWithBiometricsOrCompanion kLAPolicyDeviceOwnerAuthenticationWithBiometricsOrWatch
+// ACL operations
+#define kLAAccessControlOperationCreateItem 0
+#define kLAAccessControlOperationUseItem 1
+#define kLAAccessControlOperationCreateKey 2
+#define kLAAccessControlOperationUseKeySign 3
+#define kLAAccessControlOperationUseKeyDecrypt 4
+#define kLAAccessControlOperationUseKeyKeyExchange 5
+
// Biometry types
#define kLABiometryTypeNone 0
#define kLABiometryTypeTouchID 1 << 0