-
Notifications
You must be signed in to change notification settings - Fork 543
Security tvOS xcode26.0 b3
Rolf Bjarne Kvinge edited this page Jul 9, 2025
·
1 revision
#Security.framework
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h 2025-06-18 06:53:34
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h 2025-07-01 06:16:15
@@ -32,6 +32,7 @@
#include <CoreFoundation/CFBase.h>
#include <CoreFoundation/CFArray.h>
+#include <CoreFoundation/CFError.h>
#include <Security/SecBase.h>
#include <AvailabilityMacros.h>
@@ -52,6 +53,22 @@
*/
CFTypeID SecIdentityGetTypeID(void)
__OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_2_0);
+
+/*! @function SecIdentityCreate
+ @abstract create a new identity object from the provided certificate and its associated private key.
+ @param allocator CFAllocator to allocate the identity object. Pass NULL to use the default allocator.
+ @param certificate A certificate reference.
+ @param privateKey A private key reference.
+ @result An identity reference.
+ @discussion This interface returns null if the private does not key correspond to the public key in the certifcate.
+*/
+
+__nullable CF_RETURNS_RETAINED
+SecIdentityRef SecIdentityCreate(CFAllocatorRef __nullable allocator,
+ SecCertificateRef certificate,
+ SecKeyRef privateKey)
+ API_AVAILABLE(macos(10.12),ios(11.2),tvos(11.2),watchos(4.2),visionos(1.0));
+
#if SEC_OS_OSX
/*!