Skip to content

Security macOS xcode14.0 rc

Israel Soto edited this page Sep 7, 2022 · 1 revision

#Security.framework

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/CSCommon.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/CSCommon.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/CSCommon.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/CSCommon.h	2022-08-03 21:06:44.000000000 -0500
@@ -129,7 +129,7 @@
 	errSecCSBadFrameworkVersion = 		-67009, /* embedded framework contains modified or invalid version */
 	errSecCSUnsealedFrameworkRoot =		-67008, /* unsealed contents present in the root directory of an embedded framework */
 	errSecCSWeakResourceEnvelope =		-67007, /* resource envelope is obsolete (version 1 signature) */
-	errSecCSCancelled =					-67006, /* operation was terminated by explicit cancelation */
+    errSecCSCancelled =					-67006, /* operation was terminated by explicit cancelation */
 	errSecCSInvalidPlatform =			-67005,	/* invalid platform identifier or platform mismatch */
 	errSecCSTooBig =					-67004,	/* code is too big for current signing format */
 	errSecCSInvalidSymlink =			-67003,	/* invalid destination for symbolic link in bundle */
@@ -223,23 +223,17 @@
 	When passed to a call that performs code validation, requests that code signatures
 	made by expired certificates be rejected. By default, expiration of participating
 	certificates is not automatic grounds for rejection.
-	@constant kSecCSNoNetworkAccess
-	When passed to a call that performs code validation, configures the validation to
-	not perform any work that requires the network. Using this flag disables security features
-	like online certificate revocation and notarization checks by removing potentially
-	slow network requests that can delay evaluations. This flag has always been usable for
-	SecStaticCode objects and is usable with SecCode objects starting with macOS 11.3.
 */
 typedef CF_OPTIONS(uint32_t, SecCSFlags) {
-	kSecCSDefaultFlags = 0,					/* no particular flags (default behavior) */
+    kSecCSDefaultFlags = 0,					/* no particular flags (default behavior) */
 	
-	kSecCSConsiderExpiration = 1U << 31,		/* consider expired certificates invalid */
-	kSecCSEnforceRevocationChecks = 1 << 30,	/* force revocation checks regardless of preference settings */
-	kSecCSNoNetworkAccess = 1 << 29,            /* do not use the network, cancels "kSecCSEnforceRevocationChecks"  */
+    kSecCSConsiderExpiration = 1U << 31,		/* consider expired certificates invalid */
+    kSecCSEnforceRevocationChecks = 1 << 30,	/* force revocation checks regardless of preference settings */
+    kSecCSNoNetworkAccess = 1 << 29,            /* do not use the network, cancels "kSecCSEnforceRevocationChecks"  */
 	kSecCSReportProgress = 1 << 28,			/* make progress report call-backs when configured */
-	kSecCSCheckTrustedAnchors = 1 << 27, /* build certificate chain to system trust anchors, not to any self-signed certificate */
+    kSecCSCheckTrustedAnchors = 1 << 27, /* build certificate chain to system trust anchors, not to any self-signed certificate */
 	kSecCSQuickCheck = 1 << 26,		/* (internal) */
-	kSecCSApplyEmbeddedPolicy = 1 << 25, /* Apply Embedded (iPhone) policy regardless of the platform we're running on */
+    kSecCSApplyEmbeddedPolicy = 1 << 25, /* Apply Embedded (iPhone) policy regardless of the platform we're running on */
 };
 
 
@@ -382,7 +376,7 @@
 	kSecCodeSignatureHashSHA256						=  2,	/* SHA-256 */
 	kSecCodeSignatureHashSHA256Truncated			=  3,	/* SHA-256 truncated to first 20 bytes */
 	kSecCodeSignatureHashSHA384						=  4,	/* SHA-384 */
-	kSecCodeSignatureHashSHA512                     =  5,   /* SHA-512 */
+    kSecCodeSignatureHashSHA512                     =  5,   /* SHA-512 */
 };
 
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecACL.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecACL.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecACL.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecACL.h	2022-08-03 21:06:44.000000000 -0500
@@ -62,8 +62,7 @@
 	 @result The CFTypeID of SecACL instances.
 	 */
 	CFTypeID SecACLGetTypeID(void)
-	API_DEPRECATED("SecKeychain is deprecated", macos(10.3, 10.10))
-	API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_NA);
 	
 	/*!
 	 @function SecACLCreateFromSimpleContents
@@ -99,8 +98,7 @@
 											CFStringRef description, 
 											SecKeychainPromptSelector promptSelector,
 											SecACLRef * __nonnull CF_RETURNS_RETAINED newAcl)
-	API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-	API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 	
 	/*!
 	 @function SecACLRemove
@@ -109,8 +107,7 @@
 	 @result A result code.  See "Security Error Codes" (SecBase.h).
 	 */
 	OSStatus SecACLRemove(SecACLRef aclRef)
-	API_DEPRECATED("SecKeychain is deprecated", macos(10.3, 10.10))
-	API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_NA);
 	
 	/*!
 	 @function SecACLCopySimpleContents
@@ -142,9 +139,7 @@
 								CFArrayRef * __nonnull CF_RETURNS_RETAINED applicationList,
 								CFStringRef * __nonnull CF_RETURNS_RETAINED description,
 								SecKeychainPromptSelector *promptSelector)
-	API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-	API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
-
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 	/*!
 	 @function SecACLSetSimpleContents
 	 @abstract Sets the application list, description, and CSSM prompt selector for a given access control list entry.
@@ -175,8 +170,7 @@
 							   CFArrayRef __nullable applicationList,
 							   CFStringRef description, 
 							   SecKeychainPromptSelector promptSelector)
-	API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-	API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 
 #endif // SEC_OS_OSX
 	
@@ -201,8 +195,7 @@
 	 @result On return, a CFArrayRef of the authorizations for this ACL.
 	 */
 	CFArrayRef SecACLCopyAuthorizations(SecACLRef acl)
-	API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-	API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 	
 	/*!
 	 @function SecACLSetAuthorizations
@@ -227,8 +220,7 @@
 	 @result A result code.  See "Security Error Codes" (SecBase.h).
 	 */
 	OSStatus SecACLUpdateAuthorizations(SecACLRef acl, CFArrayRef authorizations)
-	API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-	API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccess.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccess.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccess.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccess.h	2022-08-03 21:06:44.000000000 -0500
@@ -112,9 +112,7 @@
 	@abstract Returns the type identifier of SecAccess instances.
 	@result The CFTypeID of SecAccess instances.
 */
-CFTypeID SecAccessGetTypeID(void)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+CFTypeID SecAccessGetTypeID(void);
 
 /*!
 	@function SecAccessCreate
@@ -129,9 +127,7 @@
 	@param accessRef On return, a pointer to the new access reference.
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecAccessCreate(CFStringRef descriptor, CFArrayRef __nullable trustedlist, SecAccessRef * __nonnull CF_RETURNS_RETAINED accessRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecAccessCreate(CFStringRef descriptor, CFArrayRef __nullable trustedlist, SecAccessRef * __nonnull CF_RETURNS_RETAINED accessRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecAccessCreateFromOwnerAndACL
@@ -158,8 +154,7 @@
 */
 __nullable
 SecAccessRef SecAccessCreateWithOwnerAndACL(uid_t userId, gid_t groupId, SecAccessOwnerType ownerType, CFArrayRef __nullable acls, CFErrorRef *error)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 
 /*!
 	@function SecAccessGetOwnerAndACL
@@ -185,8 +180,7 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
  */
 OSStatus SecAccessCopyOwnerAndACL(SecAccessRef accessRef, uid_t * __nullable userId, gid_t * __nullable groupId, SecAccessOwnerType * __nullable ownerType, CFArrayRef * __nullable CF_RETURNS_RETAINED aclList)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 
 /*!
 	@function SecAccessCopyACLList
@@ -195,9 +189,7 @@
 	@param aclList On return, a pointer to a new created CFArray of SecACL instances.  The caller is responsible for calling CFRelease on this array.
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecAccessCopyACLList(SecAccessRef accessRef, CFArrayRef * __nonnull CF_RETURNS_RETAINED aclList)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecAccessCopyACLList(SecAccessRef accessRef, CFArrayRef * __nonnull CF_RETURNS_RETAINED aclList) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecAccessCopySelectedACLList
@@ -221,8 +213,7 @@
 */
 __nullable
 CFArrayRef SecAccessCopyMatchingACLList(SecAccessRef accessRef, CFTypeRef authorizationTag)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.7, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h	2022-08-05 12:47:31.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h	2022-08-03 21:06:45.000000000 -0500
@@ -36,7 +36,7 @@
 // =================================================================================================================
 // SEC_OS_IPHONE            0               1               1                   1                   1
 // SEC_OS_OSX               1               0               0                   0                   0
-// SEC_OS_OSX_INCLUDES      1               1               0                   0                   1
+// SEC_OS_OSX_INCLUDES      1               1               0                   0                   0
 
 #if TARGET_OS_OSX
   #ifdef SEC_IOS_ON_OSX
@@ -51,7 +51,7 @@
   #define SEC_OS_IPHONE 1
 
   #define SEC_OS_OSX 0
-  #define SEC_OS_OSX_INCLUDES 1
+  #define SEC_OS_OSX_INCLUDES 0
 #endif // TARGET_OS_MACCATALYST
 
 #ifndef SEC_OS_IPHONE
@@ -59,7 +59,7 @@
     #define SEC_OS_IPHONE TARGET_OS_IPHONE
 
     #define SEC_OS_OSX TARGET_OS_OSX
-    #define SEC_OS_OSX_INCLUDES TARGET_OS_OSX || TARGET_OS_MACCATALYST
+    #define SEC_OS_OSX_INCLUDES TARGET_OS_OSX
 #endif
 
 #if defined(__clang__)
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecCustomTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecCustomTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecCustomTransform.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecCustomTransform.h	2022-08-03 21:06:45.000000000 -0500
@@ -320,7 +320,7 @@
     kSecTransformMetaAttributeExternalize,
     kSecTransformMetaAttributeHasOutboundConnections,
     kSecTransformMetaAttributeHasInboundConnection
-} API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+};
 
 /*!
     @typedef        SecTransformAttributeRef
@@ -330,8 +330,7 @@
                     the need to look
     it up by name.
 */
-typedef CFTypeRef SecTransformAttributeRef
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+typedef CFTypeRef SecTransformAttributeRef;
 
 
 /*!
@@ -340,8 +339,7 @@
     @abstract       This type signifies that either a CFStringRef or
                     a SecTransformAttributeRef may be used.
 */
-typedef CFTypeRef SecTransformStringOrAttributeRef
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+typedef CFTypeRef SecTransformStringOrAttributeRef;
 
 
 /*!
@@ -406,8 +404,7 @@
 @/textblock
 </pre>
 */
-typedef CFTypeRef __nullable (^SecTransformActionBlock)(void)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+typedef CFTypeRef __nullable (^SecTransformActionBlock)(void);
 
 /*!
     @typedef        SecTransformAttributeActionBlock
@@ -431,8 +428,7 @@
 */
 typedef CFTypeRef __nullable (^SecTransformAttributeActionBlock)(
                                 SecTransformAttributeRef attribute,
-                                CFTypeRef value)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                                CFTypeRef value);
                                 
 /*!
     @typedef        SecTransformDataBlock
@@ -539,8 +535,7 @@
 CFErrorRef SecTransformSetAttributeAction(SecTransformImplementationRef ref,
                                 CFStringRef action,
                                 SecTransformStringOrAttributeRef __nullable attribute,
-                                SecTransformAttributeActionBlock newAction)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                                SecTransformAttributeActionBlock newAction);
 /*!
     @function       SecTransformSetDataAction
 
@@ -593,8 +588,7 @@
 CF_EXPORT __nullable
 CFErrorRef SecTransformSetDataAction(SecTransformImplementationRef ref,
                                     CFStringRef action,
-                                    SecTransformDataBlock newAction)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                                    SecTransformDataBlock newAction);
 
 /*
     @function       SecTransformSetTransformAction
@@ -644,8 +638,7 @@
 CF_EXPORT __nullable
 CFErrorRef SecTransformSetTransformAction(SecTransformImplementationRef ref,
                                 CFStringRef action, 
-                                SecTransformActionBlock newAction)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                                SecTransformActionBlock newAction);
 
 /*!
  @function       SecTranformCustomGetAttribute
@@ -691,8 +684,7 @@
 CF_EXPORT __nullable
 CFTypeRef SecTransformCustomGetAttribute(SecTransformImplementationRef ref, 
                                         SecTransformStringOrAttributeRef attribute,
-                                        SecTransformMetaAttributeType type) __asm__("_SecTranformCustomGetAttribute")
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                                        SecTransformMetaAttributeType type) __asm__("_SecTranformCustomGetAttribute");
 
 /*!
     @function       SecTransformCustomSetAttribute
@@ -723,8 +715,7 @@
 CFTypeRef SecTransformCustomSetAttribute(SecTransformImplementationRef ref,
                                     SecTransformStringOrAttributeRef attribute,
                                     SecTransformMetaAttributeType type,
-                                    CFTypeRef __nullable value)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                                    CFTypeRef __nullable value);
 /*!
     @function       SecTransformPushbackAttribute
 
@@ -748,8 +739,7 @@
 CF_EXPORT __nullable
 CFTypeRef SecTransformPushbackAttribute(SecTransformImplementationRef ref,
                                 SecTransformStringOrAttributeRef attribute,
-                                CFTypeRef value)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                                CFTypeRef value);
 
 /*!
     @typedef        SecTransformCreateFP
@@ -780,8 +770,7 @@
 
 typedef SecTransformInstanceBlock __nonnull (*SecTransformCreateFP)(CFStringRef name,
                             SecTransformRef newTransform, 
-                            SecTransformImplementationRef ref)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                            SecTransformImplementationRef ref);
 
 /************** custom Transform transform override actions   **************/
 
@@ -796,8 +785,7 @@
                 ready to run then the override should return a CFErrorRef
                 stipulating the error.
  */
-CF_EXPORT const CFStringRef kSecTransformActionCanExecute
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionCanExecute;
 /*!
     @constant  kSecTransformActionStartingExecution
                 Overrides the standard behavior that occurs just before starting
@@ -805,8 +793,7 @@
                 to allow for initialization. This is used with the
                 SecTransformOverrideTransformAction block.
  */
-CF_EXPORT const CFStringRef kSecTransformActionStartingExecution
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionStartingExecution;
 
 /*!
     @constant kSecTransformActionFinalize
@@ -815,8 +802,7 @@
                 memory clean up of a custom transform.  This is used with the
                 SecTransformOverrideTransformAction block.
  */
-CF_EXPORT const CFStringRef kSecTransformActionFinalize
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionFinalize;
 
 /*!
 
@@ -827,8 +813,7 @@
                 externalized data. A common use of this override is to write out
                 a version number of a custom transform.
  */
-CF_EXPORT const CFStringRef kSecTransformActionExternalizeExtraData
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionExternalizeExtraData;
 
 /*!
     @constant  kSecTransformActionProcessData
@@ -837,8 +822,7 @@
                 the return value of their block sets the output attribute. This
                 is used with the SecTransformOverrideAttributeAction block.
  */
-CF_EXPORT const CFStringRef kSecTransformActionProcessData
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionProcessData;
 
 /*!
     @constant kSecTransformActionInternalizeExtraData
@@ -851,8 +835,7 @@
                 of this override would be to read in the version number of the
                 externalized custom transform.
  */
-CF_EXPORT const CFStringRef kSecTransformActionInternalizeExtraData
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionInternalizeExtraData;
 
 /*!
     @constant SecTransformActionAttributeNotification
@@ -864,8 +847,7 @@
                 data has been processed the action block can call
                 SecTransformCustomSetAttribute to update and other attribute.
  */
-CF_EXPORT const CFStringRef kSecTransformActionAttributeNotification
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionAttributeNotification;
 
 /*!
     @constant kSecTransformActionAttributeValidation
@@ -875,8 +857,7 @@
                 value is ok to set on the attribute or a CFErrorRef otherwise.
 
 */
-CF_EXPORT const CFStringRef kSecTransformActionAttributeValidation
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CF_EXPORT const CFStringRef kSecTransformActionAttributeValidation;
 
 /*!
     @function       SecTransformRegister
@@ -905,7 +886,7 @@
 Boolean SecTransformRegister(CFStringRef uniqueName, 
                                     SecTransformCreateFP createTransformFunction,
                                     CFErrorRef* error)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                            __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 /*!
      @function      SecTransformCreate
@@ -926,7 +907,7 @@
  */
 CF_EXPORT __nullable
 SecTransformRef SecTransformCreate(CFStringRef name, CFErrorRef *error)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+                            __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 /*!
     @Function       SecTransformNoData
@@ -956,8 +937,7 @@
 
 */
 CF_EXPORT
-CFTypeRef SecTransformNoData(void)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+CFTypeRef SecTransformNoData(void);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDecodeTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDecodeTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDecodeTransform.h	2022-08-05 12:41:10.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDecodeTransform.h	2022-08-03 21:06:46.000000000 -0500
@@ -63,7 +63,7 @@
 	SecTransformRef SecDecodeTransformCreate(CFTypeRef DecodeType,
 											 CFErrorRef* error
 											 )
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDigestTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDigestTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDigestTransform.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecDigestTransform.h	2022-08-03 21:06:44.000000000 -0500
@@ -38,57 +38,49 @@
 	@abstract
 		Specifies an MD2 digest
 */
-extern const CFStringRef kSecDigestMD2
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestMD2;
 
 /*!
 	@abstract
 		Specifies an MD4 digest
  */
-extern const CFStringRef kSecDigestMD4
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestMD4;
 
 /*!
 	@abstract
 		Specifies an MD5 digest
  */
-extern const CFStringRef kSecDigestMD5
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestMD5;
 
 /*!
 	@abstract
 		Specifies a SHA1 digest
  */
-extern const CFStringRef kSecDigestSHA1
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestSHA1;
 
 /*!
 	@abstract
 		Specifies a SHA2 digest.
  */
-extern const CFStringRef kSecDigestSHA2
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestSHA2;
 
 /*!
 	@abstract
 		Specifies an HMAC using the MD5 digest algorithm.
  */
-extern const CFStringRef kSecDigestHMACMD5
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestHMACMD5;
 
 /*!
 	@abstract
 		Specifies an HMAC using the SHA1 digest algorithm.
  */
-extern const CFStringRef kSecDigestHMACSHA1
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestHMACSHA1;
 
 /*!
 	@abstract
 		Specifies an HMAC using one of the SHA2 digest algorithms.
  */
-extern const CFStringRef kSecDigestHMACSHA2
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestHMACSHA2;
 
 
 /*!
@@ -96,16 +88,14 @@
 		Used with SecTransformGetAttribute to query the attribute type.
 		Returns one of the strings defined in the previous section.
  */
-extern const CFStringRef kSecDigestTypeAttribute
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestTypeAttribute;
 
 /*!
 	@constant kSecDigestLengthAttribute
 		Used with SecTransformGetAttribute to query the length attribute.
 		Returns a CFNumberRef that contains the length in bytes.
  */
-extern const CFStringRef kSecDigestLengthAttribute
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestLengthAttribute;
 
 /*!
 	@constant kSecDigestHMACKeyAttribute
@@ -114,8 +104,7 @@
 		a CFDataRef.  If this value is not set, the transform will assume
 		a zero length key.
 */
-extern const CFStringRef kSecDigestHMACKeyAttribute
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecDigestHMACKeyAttribute;
 
 /*!
 	@function SecDigestTransformCreate
@@ -142,7 +131,7 @@
 										 CFIndex digestLength,
 										 CFErrorRef* error
 										 )
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+										 __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 
 /*!
@@ -152,7 +141,7 @@
 */
 
     CFTypeID SecDigestTransformGetTypeID(void)
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+										 __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncodeTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncodeTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncodeTransform.h	2022-08-05 12:41:10.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncodeTransform.h	2022-08-03 21:06:46.000000000 -0500
@@ -36,17 +36,17 @@
 /*!
     @abstract Specifies a base 64 encoding
  */
-extern const CFStringRef kSecBase64Encoding API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecBase64Encoding;
 
 /*!
     @abstract Specifies a base 32 encoding
  */
-extern const CFStringRef kSecBase32Encoding API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecBase32Encoding;
 
 /*!
     @abstract Specifies a compressed encoding.
  */
-extern const CFStringRef kSecZLibEncoding API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecZLibEncoding;
 
 /*!
  @constant kSecEncodeTypeAttribute
@@ -54,11 +54,11 @@
  Returns one of the strings defined in the previous section.
  */
 
-extern const CFStringRef kSecEncodeTypeAttribute API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecEncodeTypeAttribute;
 
 
-extern const CFStringRef kSecLineLength64 API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
-extern const CFStringRef kSecLineLength76 API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecLineLength64;
+extern const CFStringRef kSecLineLength76;
 	
 /*!
  @constant kSecEncodeLineLengthAttribute
@@ -76,9 +76,9 @@
  (RFC1421), or kSecLineLength76 (RFC2045) may be used to
  set line lengths of 64 or 76 bytes.
  */
-extern const CFStringRef kSecEncodeLineLengthAttribute API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecEncodeLineLengthAttribute;
 
-extern const CFStringRef kSecCompressionRatio API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+extern const CFStringRef kSecCompressionRatio;
 
 /*!
  @function SecEncodeTransformCreate
@@ -102,7 +102,7 @@
 SecTransformRef SecEncodeTransformCreate(CFTypeRef encodeType,
 										 CFErrorRef* error
 										 )
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 	
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncryptTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncryptTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncryptTransform.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecEncryptTransform.h	2022-08-03 21:06:44.000000000 -0500
@@ -46,42 +46,32 @@
 CF_IMPLICIT_BRIDGING_ENABLED
 
 	/*! @abstract Indicates that no padding will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecPaddingNoneKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecPaddingNoneKey;
 	/*! Indicates that PKCS1 padding will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecPaddingPKCS1Key
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecPaddingPKCS1Key;
 	/*! Indicates that PKCS5 padding will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecPaddingPKCS5Key
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecPaddingPKCS5Key;
 	/*! Indicates that PKCS7 padding will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecPaddingPKCS7Key
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecPaddingPKCS7Key;
     /*! Indicates that PKCS7 padding will be used when encrypting or decrypting. */
     extern const CFStringRef kSecPaddingOAEPKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.8, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+        __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_NA);
 	/*! Indicates that no mode will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecModeNoneKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecModeNoneKey;
 	/*! Indicates that ECB mode will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecModeECBKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecModeECBKey;
     /*! Indicates that CBC mode will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecModeCBCKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecModeCBCKey;
 	/*! Indicates that CFB mode will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecModeCFBKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecModeCFBKey;
 	/*! Indicates that OFB mode will be used when encrypting or decrypting. */
-	extern const CFStringRef kSecModeOFBKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecModeOFBKey;
 	
 	/*!
 	    @abstract
 		This attribute holds the encryption key for the transform. (ReadOnly)
 	 */
-	extern const CFStringRef kSecEncryptKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecEncryptKey;
 
 	/*!
 	    @abstract
@@ -90,8 +80,7 @@
 		This key is optional.  If you do not supply a value for this key,
 	 	an appropriate value will be supplied for you.
 	*/
-	extern const CFStringRef kSecPaddingKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecPaddingKey;
 
 	/*!
 	    @abstract
@@ -100,8 +89,7 @@
 		This key is optional.  If you do not supply a
 	 	value for this key, an appropriate value will be supplied for you.
 	*/
-	extern const CFStringRef kSecIVKey
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecIVKey;
 
 	/*!
      @abstract
@@ -110,8 +98,7 @@
      This key is optional.  If you do not supply this key,
      an appropriate value will be supplied for you.
      */
-	extern const CFStringRef kSecEncryptionMode
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecEncryptionMode;
 	
 	/*!
      @abstract
@@ -122,7 +109,7 @@
      will be added.   It is ignored when the padding mode is not OAEP.
      */
 	extern const CFStringRef kSecOAEPMessageLengthAttributeName
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+        __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_NA);
 	/*!
      @abstract
      Specifies the OAEP encoding paramaters
@@ -132,7 +119,7 @@
      OAEP padding modes.
      */
     extern const CFStringRef kSecOAEPEncodingParametersAttributeName
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+         __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_NA);
 	/*!
      @abstract
      Specifies the OAEP MGF1 digest algorithm.
@@ -141,7 +128,7 @@
      If unset SHA1 is used.   It is ifnored by non OAEP padding modes.
      */
     extern const CFStringRef kSecOAEPMGF1DigestAlgorithmAttributeName
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+         __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_NA);
 
 	/*!
 	 @function SecEncryptTransformCreate
@@ -159,7 +146,7 @@
 	
 	SecTransformRef SecEncryptTransformCreate(SecKeyRef keyRef,
 											  CFErrorRef* error)
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 	
 	/*!
 	 @function SecDecryptTransformCreate
@@ -177,7 +164,7 @@
 	
 	SecTransformRef SecDecryptTransformCreate(SecKeyRef keyRef,
 											  CFErrorRef* error)
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 	
 /*!
 	@function SecDecryptTransformGetTypeID
@@ -186,7 +173,7 @@
 */
 
     CFTypeID SecDecryptTransformGetTypeID(void)
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 /*!
 	@function SecEncryptTransformGetTypeID
@@ -195,7 +182,7 @@
 */
 
     CFTypeID SecEncryptTransformGetTypeID(void)
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h	2022-08-05 15:53:40.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h	2022-08-03 21:06:44.000000000 -0500
@@ -1023,8 +1023,6 @@
     @constant kSecUseDataProtectionKeychain Specifies a dictionary key whose value
         is a CFBooleanRef. Set to kCFBooleanTrue to use kSecAttrAccessGroup and/or
         kSecAttrAccessible on macOS without requiring the item to be marked synchronizable.
-    @constant kSecUseUserIndependentKeychain Specifies a dctionary key whose value is a CFBooleanRef
-        indicating whether the item is shared with other personas on the system.
 */
 extern const CFStringRef kSecUseItemList
     API_AVAILABLE(macos(10.6))
@@ -1042,9 +1040,6 @@
     API_AVAILABLE(macos(10.11), ios(9.0));
 extern const CFStringRef kSecUseDataProtectionKeychain
     API_AVAILABLE(macos(10.15), ios(13.0));
-extern const CFStringRef kSecUseUserIndependentKeychain
-    API_AVAILABLE(tvos(16.0))
-    API_UNAVAILABLE(macos, ios, watchos, macCatalyst);
 
 /*!
     @enum kSecUseAuthenticationUI Value Constants
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h	2022-08-05 12:41:10.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h	2022-08-03 21:06:46.000000000 -0500
@@ -24,9 +24,6 @@
 /*!
 	@header SecKeychain
 	SecKeychain implements a repository for securely storing items with publicly visible attributes by which to find the items.
-
-	@discussion SecKeychain is deprecated. Please consider moving to the SecItem suite of APIs,
-	and adopting the kSecUseDataProtectionKeychain attribute for all keychain interactions to use the Data Protection keychain.
 */
 
 #ifndef _SECURITY_SECKEYCHAIN_H_
@@ -267,9 +264,7 @@
 	@abstract Returns the type identifier of SecKeychain instances.
 	@result The CFTypeID of SecKeychain instances.
 */
-CFTypeID SecKeychainGetTypeID(void)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+CFTypeID SecKeychainGetTypeID(void);
 
 /*!
 	@function SecKeychainGetVersion
@@ -277,9 +272,7 @@
 	@param returnVers On return, a pointer to the version number of the Keychain Manager installed on the current system.
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainGetVersion(UInt32 * __nonnull returnVers)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainGetVersion(UInt32 * __nonnull returnVers);
 
 #pragma mark ---- Keychain Management ----
 /*!
@@ -292,8 +285,7 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if the keychain parameter is invalid (NULL).
 */
 OSStatus SecKeychainOpen(const char *pathName, SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0));
 
 /*!
 	@function SecKeychainCreate
@@ -307,8 +299,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if the keychain parameter is invalid (NULL).
 */
 OSStatus SecKeychainCreate(const char *pathName, UInt32 passwordLength, const void * __nullable password, Boolean promptUser, SecAccessRef __nullable initialAccess, SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainDelete
@@ -317,8 +309,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecInvalidKeychain (-25295) may be returned if the keychain parameter is invalid (NULL).
 */
 OSStatus SecKeychainDelete(SecKeychainRef __nullable keychainOrArray)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainSetSettings
@@ -328,8 +320,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainSetSettings(SecKeychainRef __nullable keychain, const SecKeychainSettings *newSettings)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainCopySettings
@@ -339,8 +331,8 @@
  @result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainCopySettings(SecKeychainRef __nullable keychain, SecKeychainSettings *outSettings)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainUnlock
@@ -353,8 +345,8 @@
 	@discussion In most cases, your application does not need to call the SecKeychainUnlock function directly, since most Keychain Manager functions that require an unlocked keychain call SecKeychainUnlock automatically. If your application needs to verify that a keychain is unlocked, call the function SecKeychainGetStatus.
 */
 OSStatus SecKeychainUnlock(SecKeychainRef __nullable keychain, UInt32 passwordLength, const void * __nullable password, Boolean usePassword)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainLock
@@ -363,8 +355,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainLock(SecKeychainRef	__nullable keychain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainLockAll
@@ -372,8 +364,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainLockAll(void)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainCopyDefault
@@ -381,9 +373,7 @@
 	@param keychain On return, a pointer to the default keychain reference.
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainCopyDefault(SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainCopyDefault(SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychain) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainSetDefault
@@ -392,8 +382,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if the keychain parameter is invalid (NULL).
 */
 OSStatus SecKeychainSetDefault(SecKeychainRef __nullable keychain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainCopySearchList
@@ -401,9 +391,7 @@
 	@param searchList The returned list of keychains to search. When finished with the array, you must call CFRelease() to release the memory.
 	@result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if the keychain list is not specified (NULL).
 */
-OSStatus SecKeychainCopySearchList(CFArrayRef * __nonnull CF_RETURNS_RETAINED searchList)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainCopySearchList(CFArrayRef * __nonnull CF_RETURNS_RETAINED searchList) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainSetSearchList
@@ -412,8 +400,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if the keychain list is not specified (NULL).
 */
 OSStatus SecKeychainSetSearchList(CFArrayRef searchList)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 
 /*
@@ -427,29 +415,12 @@
 	kSecPreferencesDomainDynamic		/* dynamic searchlist (typically removable keychains like smartcards) */
 };
 
-OSStatus SecKeychainCopyDomainDefault(SecPreferencesDomain domain, SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
-
-OSStatus SecKeychainSetDomainDefault(SecPreferencesDomain domain, SecKeychainRef __nullable keychain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
-
-OSStatus SecKeychainCopyDomainSearchList(SecPreferencesDomain domain, CFArrayRef * __nonnull CF_RETURNS_RETAINED searchList)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
-
-OSStatus SecKeychainSetDomainSearchList(SecPreferencesDomain domain, CFArrayRef searchList)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
-
-OSStatus SecKeychainSetPreferenceDomain(SecPreferencesDomain domain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
-
-OSStatus SecKeychainGetPreferenceDomain(SecPreferencesDomain *domain)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainCopyDomainDefault(SecPreferencesDomain domain, SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychain);
+OSStatus SecKeychainSetDomainDefault(SecPreferencesDomain domain, SecKeychainRef __nullable keychain);
+OSStatus SecKeychainCopyDomainSearchList(SecPreferencesDomain domain, CFArrayRef * __nonnull CF_RETURNS_RETAINED searchList);
+OSStatus SecKeychainSetDomainSearchList(SecPreferencesDomain domain, CFArrayRef searchList);
+OSStatus SecKeychainSetPreferenceDomain(SecPreferencesDomain domain);
+OSStatus SecKeychainGetPreferenceDomain(SecPreferencesDomain *domain);
 
 
 /*!
@@ -459,9 +430,7 @@
 	@param keychainStatus On return, a pointer to the status of the specified keychain.  See KeychainStatus for valid status constants.
     @result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainGetStatus(SecKeychainRef __nullable keychain, SecKeychainStatus *keychainStatus)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainGetStatus(SecKeychainRef __nullable keychain, SecKeychainStatus *keychainStatus) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainGetPath
@@ -472,8 +441,8 @@
     @result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainGetPath(SecKeychainRef __nullable keychain, UInt32 *ioPathLength, char *pathName)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 #pragma mark ---- Keychain Item Attribute Information ----
 /*!
@@ -485,9 +454,7 @@
     @result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if not enough valid parameters were supplied (NULL).
 	@discussion Warning, this call returns more attributes than are support by the old style Keychain API and passing them into older calls will yield an invalid attribute error. The recommended call to retrieve the attribute values is the SecKeychainItemCopyAttributesAndData function.
 */
-OSStatus SecKeychainAttributeInfoForItemID(SecKeychainRef __nullable keychain,  UInt32 itemID, SecKeychainAttributeInfo * __nullable * __nonnull info)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainAttributeInfoForItemID(SecKeychainRef __nullable keychain,  UInt32 itemID, SecKeychainAttributeInfo * __nullable * __nonnull info) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainFreeAttributeInfo
@@ -495,9 +462,7 @@
 	@param info A pointer to the keychain attribute information to release.
     @result A result code.  See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if not enough valid parameters were supplied (NULL).
 */
-OSStatus SecKeychainFreeAttributeInfo(SecKeychainAttributeInfo *info)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainFreeAttributeInfo(SecKeychainAttributeInfo *info) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 #pragma mark ---- Keychain Manager Callbacks ----
 
@@ -516,9 +481,7 @@
 
 	To add your callback function, use the SecKeychainAddCallback function.  To remove your callback function, use the SecKeychainRemoveCallback function.
 */
-typedef OSStatus (*SecKeychainCallback)(SecKeychainEvent keychainEvent, SecKeychainCallbackInfo *info, void * __nullable context)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+typedef OSStatus (*SecKeychainCallback)(SecKeychainEvent keychainEvent, SecKeychainCallbackInfo *info, void * __nullable context) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainAddCallback
@@ -528,9 +491,7 @@
 	@param userContext A pointer to application-defined storage that will be passed to your callback function. Your application can use this to associate any particular call of SecKeychainAddCallback with any particular call of your keychain event callback function.
     @result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void * __nullable userContext)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainAddCallback(SecKeychainCallback callbackFunction, SecKeychainEventMask eventMask, void * __nullable userContext) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainRemoveCallback
@@ -538,9 +499,7 @@
 	@param callbackFunction The callback function pointer to remove
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainRemoveCallback(SecKeychainCallback callbackFunction)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainRemoveCallback(SecKeychainCallback callbackFunction) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 #pragma mark ---- High Level Keychain Manager Calls ----
 /*!
@@ -564,9 +523,7 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 	@discussion The SecKeychainAddInternetPassword function adds a new Internet server password to the specified keychain. Required parameters to identify the password are serverName and accountName (you cannot pass NULL for both parameters). In addition, some protocols may require an optional securityDomain when authentication is requested. SecKeychainAddInternetPassword optionally returns a reference to the newly added item.
 */
-OSStatus SecKeychainAddInternetPassword(SecKeychainRef __nullable keychain, UInt32 serverNameLength, const char * __nullable serverName, UInt32 securityDomainLength, const char * __nullable securityDomain, UInt32 accountNameLength, const char * __nullable accountName, UInt32 pathLength, const char * __nullable path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainAddInternetPassword(SecKeychainRef __nullable keychain, UInt32 serverNameLength, const char * __nullable serverName, UInt32 securityDomainLength, const char * __nullable securityDomain, UInt32 accountNameLength, const char * __nullable accountName, UInt32 pathLength, const char * __nullable path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainFindInternetPassword
@@ -589,9 +546,7 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 	@discussion The SecKeychainFindInternetPassword function finds the first Internet password item which matches the attributes you provide. Most attributes are optional; you should pass only as many as you need to narrow the search sufficiently for your application's intended use. SecKeychainFindInternetPassword optionally returns a reference to the found item.
 */
-OSStatus SecKeychainFindInternetPassword(CFTypeRef __nullable keychainOrArray, UInt32 serverNameLength, const char * __nullable serverName, UInt32 securityDomainLength, const char * __nullable securityDomain, UInt32 accountNameLength, const char * __nullable accountName, UInt32 pathLength, const char * __nullable path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 * __nullable passwordLength, void * __nullable * __nullable passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainFindInternetPassword(CFTypeRef __nullable keychainOrArray, UInt32 serverNameLength, const char * __nullable serverName, UInt32 securityDomainLength, const char * __nullable securityDomain, UInt32 accountNameLength, const char * __nullable accountName, UInt32 pathLength, const char * __nullable path, UInt16 port, SecProtocolType protocol, SecAuthenticationType authenticationType, UInt32 * __nullable passwordLength, void * __nullable * __nullable passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainAddGenericPassword
@@ -607,9 +562,7 @@
 	@result A result code. See "Security Error Codes" (SecBase.h).
 	@discussion The SecKeychainAddGenericPassword function adds a new generic password to the default keychain. Required parameters to identify the password are serviceName and accountName, which are application-defined strings. SecKeychainAddGenericPassword optionally returns a reference to the newly added item.
 */
-OSStatus SecKeychainAddGenericPassword(SecKeychainRef __nullable keychain, UInt32 serviceNameLength, const char * __nullable serviceName, UInt32 accountNameLength, const char * __nullable accountName, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainAddGenericPassword(SecKeychainRef __nullable keychain, UInt32 serviceNameLength, const char * __nullable serviceName, UInt32 accountNameLength, const char * __nullable accountName, UInt32 passwordLength, const void *passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainFindGenericPassword
@@ -625,9 +578,7 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 	@discussion The SecKeychainFindGenericPassword function finds the first generic password item which matches the attributes you provide. Most attributes are optional; you should pass only as many as you need to narrow the search sufficiently for your application's intended use. SecKeychainFindGenericPassword optionally returns a reference to the found item.
 */
-OSStatus SecKeychainFindGenericPassword(CFTypeRef __nullable keychainOrArray,  UInt32 serviceNameLength, const char * __nullable serviceName, UInt32 accountNameLength, const char * __nullable accountName, UInt32 * __nullable passwordLength, void * __nullable * __nullable passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainFindGenericPassword(CFTypeRef __nullable keychainOrArray,  UInt32 serviceNameLength, const char * __nullable serviceName, UInt32 accountNameLength, const char * __nullable accountName, UInt32 * __nullable passwordLength, void * __nullable * __nullable passwordData, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 #pragma mark ---- Managing User Interaction ----
 /*!
@@ -637,8 +588,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainSetUserInteractionAllowed(Boolean state)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("Custom keychain management is no longer supported", macos(10.2, 12.0))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainGetUserInteractionAllowed
@@ -646,9 +597,7 @@
 	@param state On return, a pointer to the current state of user interaction.  If this is TRUE then user interaction is allowed, if it is FALSE, then user interaction is not allowed.
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainGetUserInteractionAllowed(Boolean *state)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainGetUserInteractionAllowed(Boolean *state) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 #pragma mark ---- CSSM Bridge Functions ----
 /*!
@@ -682,8 +631,7 @@
     @result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainCopyAccess(SecKeychainRef __nullable keychain, SecAccessRef * __nonnull CF_RETURNS_RETAINED access)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_13, __IPHONE_NA, __IPHONE_NA);
 
 /*!
 	@function SecKeychainSetAccess
@@ -693,8 +641,7 @@
     @result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainSetAccess(SecKeychainRef __nullable keychain, SecAccessRef access)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2, __MAC_10_13, __IPHONE_NA, __IPHONE_NA);
 
 CF_ASSUME_NONNULL_END
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychainItem.h	2022-08-03 21:06:44.000000000 -0500
@@ -148,9 +148,7 @@
 	@abstract Returns the type identifier of SecKeychainItem instances.
 	@result The CFTypeID of SecKeychainItem instances.
 */
-CFTypeID SecKeychainItemGetTypeID(void)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+CFTypeID SecKeychainItemGetTypeID(void);
 
 /*!
 	@function SecKeychainItemModifyAttributesAndData
@@ -162,9 +160,7 @@
     @result A result code. See "Security Error Codes" (SecBase.h).
 	@discussion The keychain item is written to the keychain's permanent data store. If the keychain item has not previously been added to a keychain, a call to the SecKeychainItemModifyContent function does nothing and returns errSecSuccess.
 */
-OSStatus SecKeychainItemModifyAttributesAndData(SecKeychainItemRef itemRef, const SecKeychainAttributeList * __nullable attrList, UInt32 length, const void * __nullable data)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemModifyAttributesAndData(SecKeychainItemRef itemRef, const SecKeychainAttributeList * __nullable attrList, UInt32 length, const void * __nullable data) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemCreateFromContent
@@ -180,9 +176,7 @@
 */
 OSStatus SecKeychainItemCreateFromContent(SecItemClass itemClass, SecKeychainAttributeList *attrList,
 		UInt32 length, const void * __nullable data, SecKeychainRef __nullable keychainRef,
-		SecAccessRef __nullable initialAccess, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+		SecAccessRef __nullable initialAccess, SecKeychainItemRef * __nullable CF_RETURNS_RETAINED itemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemModifyContent
@@ -193,9 +187,7 @@
 	@param data A pointer to a buffer containing the data to store. Pass NULL if you don't need to modify the data.
     @result A result code.  See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainItemModifyContent(SecKeychainItemRef itemRef, const SecKeychainAttributeList * __nullable attrList, UInt32 length, const void * __nullable data)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemModifyContent(SecKeychainItemRef itemRef, const SecKeychainAttributeList * __nullable attrList, UInt32 length, const void * __nullable data) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemCopyContent
@@ -207,9 +199,7 @@
 	@param outData On return, a pointer to a buffer containing the data in this item. Pass NULL if you don't need to retrieve the data. You must call SecKeychainItemFreeContent when you no longer need the data.
     @result A result code. See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if not enough valid parameters are supplied.
 */
-OSStatus SecKeychainItemCopyContent(SecKeychainItemRef itemRef, SecItemClass * __nullable itemClass, SecKeychainAttributeList * __nullable attrList, UInt32 * __nullable length, void * __nullable * __nullable outData)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemCopyContent(SecKeychainItemRef itemRef, SecItemClass * __nullable itemClass, SecKeychainAttributeList * __nullable attrList, UInt32 * __nullable length, void * __nullable * __nullable outData) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemFreeContent
@@ -217,9 +207,7 @@
 	@param attrList A pointer to the attribute list to release. Pass NULL to ignore this parameter.
     @param data A pointer to the data buffer to release. Pass NULL to ignore this parameter.
 */
-OSStatus SecKeychainItemFreeContent(SecKeychainAttributeList * __nullable attrList, void * __nullable data)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemFreeContent(SecKeychainAttributeList * __nullable attrList, void * __nullable data) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemCopyAttributesAndData
@@ -232,9 +220,7 @@
 	@param outData On return, a pointer to a buffer containing the data in this item. Pass NULL if you don't need to retrieve the data. You must call SecKeychainItemFreeAttributesAndData when you no longer need the data.
     @result A result code. See "Security Error Codes" (SecBase.h). In addition, errSecParam (-50) may be returned if not enough valid parameters are supplied.
 */
-OSStatus SecKeychainItemCopyAttributesAndData(SecKeychainItemRef itemRef, SecKeychainAttributeInfo * __nullable info, SecItemClass * __nullable itemClass, SecKeychainAttributeList * __nullable * __nullable attrList, UInt32 * __nullable length, void * __nullable * __nullable outData)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemCopyAttributesAndData(SecKeychainItemRef itemRef, SecKeychainAttributeInfo * __nullable info, SecItemClass * __nullable itemClass, SecKeychainAttributeList * __nullable * __nullable attrList, UInt32 * __nullable length, void * __nullable * __nullable outData) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemFreeAttributesAndData
@@ -243,9 +229,7 @@
     @param data A pointer to the data buffer to release. Pass NULL to ignore this parameter.
     @result A result code. See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainItemFreeAttributesAndData(SecKeychainAttributeList * __nullable attrList, void * __nullable data)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemFreeAttributesAndData(SecKeychainAttributeList * __nullable attrList, void * __nullable data) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemDelete
@@ -254,9 +238,7 @@
     @result A result code. See "Security Error Codes" (SecBase.h).
 	@discussion If itemRef has not previously been added to the keychain, SecKeychainItemDelete does nothing and returns errSecSuccess. IMPORTANT: SecKeychainItemDelete does not dispose the memory occupied by the item reference itself; use the CFRelease function when you are completely finished with an item.
 */
-OSStatus SecKeychainItemDelete(SecKeychainItemRef itemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemDelete(SecKeychainItemRef itemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemCopyKeychain
@@ -265,9 +247,7 @@
 	@param keychainRef On return, the keychain reference for the specified item. Release this reference by calling the CFRelease function.
     @result A result code. See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainItemCopyKeychain(SecKeychainItemRef itemRef, SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychainRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemCopyKeychain(SecKeychainItemRef itemRef, SecKeychainRef * __nonnull CF_RETURNS_RETAINED keychainRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemCreateCopy
@@ -279,9 +259,7 @@
     @result A result code. See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecKeychainItemCreateCopy(SecKeychainItemRef itemRef, SecKeychainRef __nullable destKeychainRef,
-	SecAccessRef __nullable initialAccess, SecKeychainItemRef * __nonnull CF_RETURNS_RETAINED itemCopy)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+	SecAccessRef __nullable initialAccess, SecKeychainItemRef * __nonnull CF_RETURNS_RETAINED itemCopy) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
     @function SecKeychainItemCreatePersistentReference
@@ -290,9 +268,7 @@
     @param persistentItemRef On return, a CFDataRef containing a persistent reference. You must release this data reference by calling the CFRelease function.
     @result A result code. See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainItemCreatePersistentReference(SecKeychainItemRef itemRef, CFDataRef * __nonnull CF_RETURNS_RETAINED persistentItemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemCreatePersistentReference(SecKeychainItemRef itemRef, CFDataRef * __nonnull CF_RETURNS_RETAINED persistentItemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 
 /*!
@@ -302,9 +278,7 @@
     @param itemRef On return, a SecKeychainItemRef for the keychain item described by the persistent reference. You must release this item reference by calling the CFRelease function.
     @result A result code. See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainItemCopyFromPersistentReference(CFDataRef persistentItemRef, SecKeychainItemRef * __nonnull CF_RETURNS_RETAINED itemRef)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemCopyFromPersistentReference(CFDataRef persistentItemRef, SecKeychainItemRef * __nonnull CF_RETURNS_RETAINED itemRef) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 
 #pragma mark ---- CSSM Bridge Functions ----
@@ -338,9 +312,7 @@
     @param access On return, a reference to the keychain item's access.
     @result A result code. See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainItemCopyAccess(SecKeychainItemRef itemRef, SecAccessRef * __nonnull CF_RETURNS_RETAINED access)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemCopyAccess(SecKeychainItemRef itemRef, SecAccessRef * __nonnull CF_RETURNS_RETAINED access) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecKeychainItemSetAccess
@@ -349,9 +321,7 @@
     @param access A reference to an access to replace the keychain item's current access.
     @result A result code. See "Security Error Codes" (SecBase.h).
 */
-OSStatus SecKeychainItemSetAccess(SecKeychainItemRef itemRef, SecAccessRef access)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+OSStatus SecKeychainItemSetAccess(SecKeychainItemRef itemRef, SecAccessRef access) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 CF_ASSUME_NONNULL_END
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h	2022-08-06 02:28:54.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h	2022-08-03 21:06:44.000000000 -0500
@@ -34,6 +34,8 @@
 #include <dispatch/dispatch.h>
 #include <os/object.h>
 
+#define SEC_PROTOCOL_CERT_COMPRESSION_DEFAULT 1
+
 /*!
  * The following diagram shows how clients interact with sec_protocol_options
  * and sec_protocol_metadata when configuring and using network security protocols.
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecSignVerifyTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecSignVerifyTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecSignVerifyTransform.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecSignVerifyTransform.h	2022-08-03 21:06:44.000000000 -0500
@@ -36,9 +36,9 @@
     CF_ASSUME_NONNULL_BEGIN
     CF_IMPLICIT_BRIDGING_ENABLED
 
-	extern const CFStringRef kSecKeyAttributeName, kSecSignatureAttributeName, kSecInputIsAttributeName API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecKeyAttributeName, kSecSignatureAttributeName, kSecInputIsAttributeName;
 	// WARNING: kSecInputIsRaw is frequently cryptographically unsafe (for example if you don't blind a DSA or ECDSA signature you give away the key very quickly), please only use it if you really know the math.
-	extern const CFStringRef kSecInputIsPlainText, kSecInputIsDigest, kSecInputIsRaw API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	extern const CFStringRef kSecInputIsPlainText, kSecInputIsDigest, kSecInputIsRaw;
 	// Supported optional attributes: kSecDigestTypeAttribute (kSecDigestMD2, kSecDigestMD4, kSecDigestMD5, kSecDigestSHA1, kSecDigestSHA2), kSecDigestLengthAttribute
 	
 	/*!
@@ -62,7 +62,7 @@
 	SecTransformRef SecSignTransformCreate(SecKeyRef key,
 											 CFErrorRef* error
 											 )
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 	
 	/*!
 	 @function SecVerifyTransformCreate
@@ -89,7 +89,7 @@
 											 CFDataRef __nullable signature,
 											 CFErrorRef* error
 											 )
-    API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
     CF_IMPLICIT_BRIDGING_DISABLED
     CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransform.h	2022-08-05 12:41:10.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransform.h	2022-08-03 21:06:45.000000000 -0500
@@ -199,12 +199,10 @@
 	kSecTransformErrorAborted = 20,
 	kSecTransformInvalidArgument = 21
 	
-} API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+};
 
-typedef CFTypeRef SecTransformRef
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
-typedef CFTypeRef SecGroupTransformRef
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+typedef CFTypeRef SecTransformRef;
+typedef CFTypeRef SecGroupTransformRef;
 
 /*!
 	@function SecTransformGetTypeID
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransformReadTransform.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransformReadTransform.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransformReadTransform.h	2022-08-05 12:41:10.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTransformReadTransform.h	2022-08-03 21:06:45.000000000 -0500
@@ -59,7 +59,7 @@
 */
 
 SecTransformRef SecTransformCreateReadTransformWithReadStream(CFReadStreamRef inputStream)
-API_DEPRECATED("SecTransform is no longer supported", macos(10.7, 13.0), ios(NA, NA), tvos(NA, NA), watchos(NA, NA), macCatalyst(NA, NA));
+	__OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_NA);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h	2022-08-03 21:06:44.000000000 -0500
@@ -534,7 +534,6 @@
     certificate chain regardless of the errors being presented, for the
     current application/server/protocol combination.
  */
-__nullable
 CFDataRef SecTrustCopyExceptions(SecTrustRef trust)
     __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_4_0);
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h	2022-08-05 12:41:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h	2022-08-03 21:06:45.000000000 -0500
@@ -45,9 +45,7 @@
 	@abstract Returns the type identifier of SecTrustedApplication instances.
 	@result The CFTypeID of SecTrustedApplication instances.
 */
-CFTypeID SecTrustedApplicationGetTypeID(void)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.2, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+CFTypeID SecTrustedApplicationGetTypeID(void);
 
 /*!
 	@function SecTrustedApplicationCreateFromPath
@@ -59,8 +57,8 @@
     @result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecTrustedApplicationCreateFromPath(const char * __nullable path, SecTrustedApplicationRef * __nonnull CF_RETURNS_RETAINED app)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.0, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("No longer supported", macos(10.0, 10.15))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecTrustedApplicationCopyData
@@ -70,8 +68,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef * __nonnull CF_RETURNS_RETAINED data)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.0, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("No longer supported", macos(10.0, 10.15))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 /*!
 	@function SecTrustedApplicationSetData
@@ -81,8 +79,8 @@
 	@result A result code.  See "Security Error Codes" (SecBase.h).
 */
 OSStatus SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef data)
-API_DEPRECATED("SecKeychain is deprecated", macos(10.0, 10.10))
-API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
+    API_DEPRECATED("No longer supported", macos(10.0, 10.15))
+    API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
 
 CF_ASSUME_NONNULL_END
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h	2022-08-04 03:20:34.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h	2022-02-12 04:21:47.000000000 -0600
@@ -38,11 +38,7 @@
 #else /* SEC_OS_IPHONE */
 
 #include <stdbool.h>
-
-#define SEC_HAS_LIBDER __has_include(<libDER/libDER.h>)
-#if SEC_HAS_LIBDER
 #include <libDER/libDER.h>
-#endif /* SEC_HAS_LIBDER */
 
 #endif /* SEC_OS_IPHONE */
 
@@ -128,7 +124,7 @@
 	CE_GeneralName			*generalName;
 } CE_GeneralNames DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
 
-#elif SEC_HAS_LIBDER
+#elif SEC_OS_IPHONE
 
 typedef struct {
 	DERItem                 typeId;
@@ -146,7 +142,7 @@
 	SecCEGeneralName			*generalName;
 } SecCEGeneralNames;
 
-#endif /* SEC_HAS_LIBDER */
+#endif /* SEC_OS_IPHONE */
 
 /*
  * id-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::=  { id-ce 35 }
@@ -169,7 +165,7 @@
 	CSSM_BOOL			serialNumberPresent;
 	CSSM_DATA			serialNumber;
 } CE_AuthorityKeyID DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
-#elif SEC_HAS_LIBDER
+#elif SEC_OS_IPHONE
 typedef struct {
 	bool                keyIdentifierPresent;
 	DERItem             keyIdentifier;
@@ -178,7 +174,7 @@
 	bool                serialNumberPresent;
 	DERItem             serialNumber;
 } SecCEAuthorityKeyID;
-#endif /* SEC_HAS_LIBDER */
+#endif /* SEC_OS_IPHONE */
 
 /*
  * id-ce-subjectKeyIdentifier OBJECT IDENTIFIER ::=  { id-ce 14 }
@@ -188,9 +184,9 @@
  */
 #if SEC_OS_OSX
 typedef CSSM_DATA CE_SubjectKeyID DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
-#elif SEC_HAS_LIBDER
+#elif SEC_OS_IPHONE
 typedef DERItem SecCESubjectKeyID;
-#endif /* SEC_HAS_LIBDER */
+#endif /* SEC_OS_IPHONE */
 
 /*
  * id-ce-keyUsage OBJECT IDENTIFIER ::=  { id-ce 15 }
@@ -306,13 +302,13 @@
 	CSSM_OID_PTR	purposes;		// in Intel pre-encoded format
 } CE_ExtendedKeyUsage;
 
-#elif SEC_HAS_LIBDER
+#elif SEC_OS_IPHONE
 
 typedef struct {
 	uint32_t		numPurposes;
 	DERItem         *purposes;		// in Intel pre-encoded format
 } SecCEExtendedKeyUsage;
-#endif /* SEC_HAS_LIBDER */
+#endif /* SEC_OS_IPHONE */
 
 /*
  * id-ce-basicConstraints OBJECT IDENTIFIER ::=  { id-ce 19 }
@@ -406,7 +402,7 @@
 	CSSM_OID	policyQualifierId;			// CSSMOID_QT_CPS, CSSMOID_QT_UNOTICE
 	CSSM_DATA	qualifier;					// CSSMOID_QT_CPS: IA5String contents
 
-#elif SEC_HAS_LIBDER
+#elif SEC_OS_IPHONE
 #if 0
 typedef struct {
 	DERItem     policyQualifierId;			// CSSMOID_QT_CPS, CSSMOID_QT_UNOTICE
@@ -452,7 +448,7 @@
     bool             critical;
     uint32_t         skipCerts;
 } SecCEInhibitAnyPolicy;
-#endif /* SEC_HAS_LIBDER */
+#endif /* SEC_OS_IPHONE */
 											// CSSMOID_QT_UNOTICE : Sequence contents
 #if SEC_OS_OSX
 } CE_PolicyQualifierInfo DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
Clone this wiki locally