-
Notifications
You must be signed in to change notification settings - Fork 549
Security iOS xcode16.0 b4
Alex Soto edited this page Aug 7, 2024
·
2 revisions
#Security.framework
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h 2024-06-28 23:51:48
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h 2024-07-12 02:58:30
@@ -250,7 +250,7 @@
#endif
/*
- * Legacy functions (OS X only)
+ * Legacy functions (macOS only)
*/
#if SEC_OS_OSX
/*!
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h 2024-06-28 22:59:18
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h 2024-07-12 02:52:21
@@ -83,10 +83,10 @@
below lists the currently defined attributes for each item class:
kSecClassGenericPassword item attributes:
- kSecAttrAccess (OS X only)
+ kSecAttrAccess (macOS only)
kSecAttrAccessControl
- kSecAttrAccessGroup (iOS; also OS X if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
- kSecAttrAccessible (iOS; also OS X if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
+ kSecAttrAccessGroup (iOS; also macOS if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
+ kSecAttrAccessible (iOS; also macOS if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
kSecAttrCreationDate
kSecAttrModificationDate
kSecAttrDescription
@@ -102,10 +102,10 @@
kSecAttrSynchronizable
kSecClassInternetPassword item attributes:
- kSecAttrAccess (OS X only)
+ kSecAttrAccess (macOS only)
kSecAttrAccessControl
- kSecAttrAccessGroup (iOS; also OS X if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
- kSecAttrAccessible (iOS; also OS X if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
+ kSecAttrAccessGroup (iOS; also macOS if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
+ kSecAttrAccessible (iOS; also macOS if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
kSecAttrCreationDate
kSecAttrModificationDate
kSecAttrDescription
@@ -139,19 +139,19 @@
kSecAttrSynchronizable
kSecClassKey item attributes:
- kSecAttrAccess (OS X only)
+ kSecAttrAccess (macOS only)
kSecAttrAccessControl
- kSecAttrAccessGroup (iOS; also OS X if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
- kSecAttrAccessible (iOS; also OS X if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
+ kSecAttrAccessGroup (iOS; also macOS if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
+ kSecAttrAccessible (iOS; also macOS if kSecAttrSynchronizable and/or kSecUseDataProtectionKeychain set)
kSecAttrKeyClass
kSecAttrLabel
kSecAttrApplicationLabel
kSecAttrIsPermanent
kSecAttrApplicationTag
kSecAttrKeyType
- kSecAttrPRF (OS X only)
- kSecAttrSalt (OS X only)
- kSecAttrRounds (OS X only)
+ kSecAttrPRF (macOS only)
+ kSecAttrSalt (macOS only)
+ kSecAttrRounds (macOS only)
kSecAttrKeySizeInBits
kSecAttrEffectiveKeySize
kSecAttrCanEncrypt
@@ -182,9 +182,9 @@
needs to allow the system to protect that item in the best way possible.
See the "kSecAttrAccessible Value Constants" section for a list of
values which can be specified.
- IMPORTANT: This attribute is currently not supported for OS X keychain
+ IMPORTANT: This attribute is currently not supported for macOS keychain
items, unless the kSecAttrSynchronizable attribute is also present. If
- both attributes are specified on either OS X or iOS, the value for the
+ both attributes are specified on either macOS or iOS, the value for the
kSecAttrAccessible key may only be one whose name does not end with
"ThisDeviceOnly", as those cannot sync to another device.
@@ -196,7 +196,7 @@
@constant kSecAttrAccess Specifies a dictionary key whose value
is a SecAccessRef describing the access control settings for this item.
- This key is available on OS X only.
+ This key is available on macOS only.
@constant kSecAttrAccessGroup Specifies a dictionary key whose value is
a CFStringRef indicating which access group a item is in. The access
@@ -361,13 +361,13 @@
a value of type CFNumberRef that denotes the certificate type
(On iOS, currently the value of this attribute must be equal to the
version of the X509 certificate. So, 1 for v1, 2 for v2, and 3 for v3
- certificates). (On OSX, see the CSSM_CERT_TYPE enum in cssmtype.h).
+ certificates). (On macOS, see the CSSM_CERT_TYPE enum in cssmtype.h).
Only items of class kSecClassCertificate have this attribute.
@constant kSecAttrCertificateEncoding (read-only) Specifies a dictionary
key whose value is the item's certificate encoding. You use this key
to get a value of type CFNumberRef that denotes the certificate
encoding (On iOS, currently only the value 3 meaning
- kSecAttrCertificateEncodingDER is supported). On OSX, see the
+ kSecAttrCertificateEncodingDER is supported). On macOS, see the
CSSM_CERT_ENCODING enum in cssmtype.h. Only items of class
kSecClassCertificate have this attribute.
@constant kSecAttrKeyClass (read only) Specifies a dictionary key whose
@@ -385,25 +385,25 @@
permanently.
@constant kSecAttrIsSensitive Specifies a dictionary key whose value is a
CFBooleanRef indicating that the key in question can only be exported
- in a wrapped (encrypted) format. OS X only.
+ in a wrapped (encrypted) format. macOS only.
@constant kSecAttrIsExtractable Specifies a dictionary key whose value is a
CFBooleanRef indicating whether the key in question can be exported from
- its keychain container. OS X only.
+ its keychain container. macOS only.
@constant kSecAttrApplicationTag Specifies a dictionary key whose value is a
CFDataRef containing private tag data.
@constant kSecAttrKeyType Specifies a dictionary key whose value is a
CFNumberRef indicating the algorithm associated with this key
(On iOS, currently only the value 42 is supported, alternatively you can use
- kSecAttrKeyTypeRSA). (On OSX, see the CSSM_ALGORITHMS enum in cssmtype.h).
+ kSecAttrKeyTypeRSA). (On macOS, see the CSSM_ALGORITHMS enum in cssmtype.h).
@constant kSecAttrPRF Specifies a dictionary key whose value is the PRF
(pseudo-random function) for this key (see "kSecAttrPRF Value Constants".)
- OS X only.
+ macOS only.
@constant kSecAttrSalt Specifies a dictionary key whose value is a
- CFData containing the salt to use for this key. OS X only.
+ CFData containing the salt to use for this key. macOS only.
@constant kSecAttrRounds Specifies a dictionary key whose value is the
number of rounds for the pseudo-random function specified by kSecAttrPRF.
- OS X only.
+ macOS only.
@constant kSecAttrKeySizeInBits Specifies a dictionary key whose value
is a CFNumberRef indicating the number of bits in this key.
@constant kSecAttrEffectiveKeySize Specifies a dictionary key whose value
@@ -772,13 +772,13 @@
@constant kSecAttrKeyTypeECSECPrimeRandom. The used curve is P-192, P-256, P-384 or P-521.
The size is specified by kSecAttrKeySizeInBits attribute. Curves are defined in FIPS PUB 186-4 standard.
@constant kSecAttrKeyTypeEC This is the legacy name for kSecAttrKeyTypeECSECPrimeRandom, new applications should not use it.
- @constant kSecAttrKeyTypeDSA (OSX only)
- @constant kSecAttrKeyTypeAES (OSX only)
- @constant kSecAttrKeyType3DES (OSX only)
- @constant kSecAttrKeyTypeRC4 (OSX only)
- @constant kSecAttrKeyTypeRC2 (OSX only)
- @constant kSecAttrKeyTypeCAST (OSX only)
- @constant kSecAttrKeyTypeECDSA (deprecated; use kSecAttrKeyTypeECSECPrimeRandom instead.) (OSX only)
+ @constant kSecAttrKeyTypeDSA (macOS only)
+ @constant kSecAttrKeyTypeAES (macOS only)
+ @constant kSecAttrKeyType3DES (macOS only)
+ @constant kSecAttrKeyTypeRC4 (macOS only)
+ @constant kSecAttrKeyTypeRC2 (macOS only)
+ @constant kSecAttrKeyTypeCAST (macOS only)
+ @constant kSecAttrKeyTypeECDSA (deprecated; use kSecAttrKeyTypeECSECPrimeRandom instead.) (macOS only)
*/
extern const CFStringRef kSecAttrKeyTypeRSA
API_AVAILABLE(macos(10.7), ios(2.0));
@@ -806,7 +806,7 @@
/*
@enum kSecAttrPRF Value Constants
@discussion Predefined item attribute constants used to specify the PRF
- to use with SecKeyDeriveFromPassword. OS X only.
+ to use with SecKeyDeriveFromPassword. macOS only.
@constant kSecAttrPRFHmacAlgSHA1
@constant kSecAttrPRFHmacAlgSHA224
@constant kSecAttrPRFHmacAlgSHA256
@@ -834,7 +834,7 @@
@constant kSecMatchPolicy Specifies a dictionary key whose value is a
SecPolicyRef. If provided, returned certificates or identities must
verify with this policy.
- @constant kSecMatchItemList OS X only. Specifies a dictionary key whose value is a
+ @constant kSecMatchItemList macOS only. Specifies a dictionary key whose value is a
CFArray of SecKeychainItemRef items. If provided, returned items will be
limited to the subset which are contained in this list.
@constant kSecMatchSearchList Specifies a dictionary key whose value is a
@@ -855,22 +855,22 @@
is a CFStringRef. If provided, returned internet passwords will be limited to those which
have a server host that is equal to or a subdomain of this string. This filter only works on
the Data Protection Keychain on macOS.
- @constant kSecMatchSubjectStartsWith OS X only. Specifies a dictionary key whose value
+ @constant kSecMatchSubjectStartsWith macOS only. Specifies a dictionary key whose value
is a CFStringRef. If provided, returned certificates or identities
will be limited to those with subject names that start with this string.
- @constant kSecMatchSubjectEndsWith OS X only. Specifies a dictionary key whose value
+ @constant kSecMatchSubjectEndsWith macOS only. Specifies a dictionary key whose value
is a CFStringRef. If provided, returned certificates or identities
will be limited to those with subject names that end with this string.
- @constant kSecMatchSubjectWholeString OS X only. Specifies a dictionary key whose
+ @constant kSecMatchSubjectWholeString macOS only. Specifies a dictionary key whose
value is a CFStringRef. If provided, returned certificates or identities
will be limited to those matching this string exactly in the subject.
@constant kSecMatchCaseInsensitive Specifies a dictionary key whose value
is a CFBooleanRef. If this value is kCFBooleanFalse, or is not
provided, then case-sensitive string matching is performed.
- @constant kSecMatchDiacriticInsensitive OS X only. Specifies a dictionary key whose
+ @constant kSecMatchDiacriticInsensitive macOS only. Specifies a dictionary key whose
value is a CFBooleanRef. If this value is kCFBooleanFalse, or is not
provided, then diacritic-sensitive string matching is performed.
- @constant kSecMatchWidthInsensitive OS X only. Specifies a dictionary key whose
+ @constant kSecMatchWidthInsensitive macOS only. Specifies a dictionary key whose
value is a CFBooleanRef. If this value is kCFBooleanFalse, or is not
provided, then string matching is width-sensitive (e.g. 'a' != 0xFF41).
@constant kSecMatchTrustedOnly Specifies a dictionary key whose value is
@@ -1006,14 +1006,14 @@
SecCertificateRef, SecIdentityRef, or CFDataRef (for a persistent
item reference.) The items in the array must all be of the same
type. When this attribute is provided, no keychains are searched.
- @constant kSecUseKeychain OS X only. Specifies a dictionary key whose value is a
+ @constant kSecUseKeychain macOS only. Specifies a dictionary key whose value is a
keychain reference. You use this key to specify a value of type
SecKeychainRef to which SecItemAdd will add the provided item(s).
@constant kSecUseOperationPrompt Specifies a dictionary key whose value
is a CFStringRef that represents a user-visible string describing
the operation for which the application is attempting to authenticate.
The application is responsible for the text localization.
- @constant kSecUseNoAuthenticationUI OS X only. Specifies a dictionary key whose value
+ @constant kSecUseNoAuthenticationUI macOS only. Specifies a dictionary key whose value
is a CFBooleanRef. If provided with a value of kCFBooleanTrue, the error
errSecInteractionNotAllowed will be returned if the item is attempting
to authenticate with UI.
@@ -1168,7 +1168,7 @@
specify a kSecValuePersistentRef whose value a CFDataRef (the persistent
reference), and a kSecReturnRef whose value is kCFBooleanTrue.
- On OSX, to convert from persistent item references to normal item references,
+ On macOS, to convert from persistent item references to normal item references,
specify a kSecMatchItemList whose value is a CFArray containing one or
more CFDataRef elements (the persistent reference), and a kSecReturnRef
whose value is kCFBooleanTrue. The objects in the provided array must be
@@ -1194,7 +1194,7 @@
at once use the kSecUseItemList key with an array of items as its value.
This is currently only supported for non password items.
- On OSX, To add an item to a particular keychain, supply kSecUseKeychain
+ On macOS, to add an item to a particular keychain, supply kSecUseKeychain
with a SecKeychainRef as its value.
On iOS, watchOS & tvOS, Certificate, Key, and Identity items may be
@@ -1221,7 +1221,7 @@
* If more than one of these result types is specified, the result is
returned as a CFDictionaryRef containing all the requested data.
* On iOS, if a result type is not specified, no results are returned.
- On OSX, the added item is returned.
+ On macOS, the added item is returned.
*/
OSStatus SecItemAdd(CFDictionaryRef attributes, CFTypeRef * __nullable CF_RETURNS_RETAINED result)
API_AVAILABLE(macos(10.6), ios(2.0));
@@ -1260,12 +1260,12 @@
You can change this behavior by specifying one of the follow keys:
* To delete an item identified by a transient reference, on iOS, specify
- kSecValueRef with a item reference. On OS X, give a kSecMatchItemList
+ kSecValueRef with a item reference. On macOS, give a kSecMatchItemList
containing an item reference.
* To delete an item identified by a persistent reference, on iOS, specify
kSecValuePersistentRef with a persistent reference returned by
using the kSecReturnPersistentRef key to SecItemCopyMatching or
- SecItemAdd. on OSX, use kSecMatchItemList with a persistent reference
+ SecItemAdd. On macOS, use kSecMatchItemList with a persistent reference
returned by using the kSecReturnPersistentRef key with
SecItemCopyMatching or SecItemAdd.
* To delete multiple items specify kSecMatchItemList with an array
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h 2024-06-29 09:24:13
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h 2024-07-12 03:14:02
@@ -27,7 +27,7 @@
type of keychain item that represents a key. A key can be stored in a
keychain, but a key can also be a transient object.
- On OSX, you can use a SecKey as a SecKeychainItem in most functions.
+ On macOS, you can use a SecKey as a SecKeychainItem in most functions.
*/
#ifndef _SECURITY_SECKEY_H_
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h 2024-06-28 22:59:19
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h 2024-07-12 06:01:37
@@ -253,7 +253,7 @@
CF_ASSUME_NONNULL_END
/*
- * Legacy functions (OS X only)
+ * Legacy functions (macOS only)
*/
#if TARGET_OS_OSX
@@ -261,7 +261,7 @@
CF_IMPLICIT_BRIDGING_ENABLED
/*!
- @enum Policy Value Constants (OS X)
+ @enum Policy Value Constants (macOS)
@discussion Predefined property key constants used to get or set values in
a dictionary for a policy instance.
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h 2024-06-29 09:24:13
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h 2024-07-12 03:14:02
@@ -647,7 +647,7 @@
CF_ASSUME_NONNULL_END
/*
- * Legacy functions (OS X only)
+ * Legacy functions (macOS only)
*/
#if TARGET_OS_OSX
@@ -660,7 +660,7 @@
@discussion Deprecated in OS X 10.9. User trust settings are managed by
functions in SecTrustSettings.h (starting with OS X 10.5), and by the
SecTrustCopyExceptions and SecTrustSetExceptions functions (starting with
- iOS 4 and OS X 10.9). The latter two functions are recommended for both OS X
+ iOS 4 and OS X 10.9). The latter two functions are recommended for both macOS
and iOS, as they avoid the need to explicitly specify these values.
*/
typedef SecTrustResultType SecTrustUserSetting
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h 2024-06-29 01:33:36
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h 2024-07-12 02:52:21
@@ -287,7 +287,7 @@
* and earlier versions, a new context is created using SSLNewContext,
* and is disposed by calling SSLDisposeContext.
*
- * On i0S 5.0 and later, as well as Mac OS X versions after 10.7, the
+ * On i0S 5.0 and later, as well as macOS versions after 10.7, the
* SSLContextRef is a true CFType object with retain-release semantics.
* New code should create a new context using SSLCreateContext (instead
* of SSLNewContext), and dispose the context by calling CFRelease
@@ -324,10 +324,10 @@
* @note
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* NOTE: this function is not available on iOS, and should be considered
- * deprecated on Mac OS X. Your code should use SSLCreateContext instead.
+ * deprecated on macOS. Your code should use SSLCreateContext instead.
*
* @param isServer Flag indicating if the context is for the server (true) or client (false).
* @param contextPtr Pointer to SSLContextRef where result will be stored.
@@ -344,10 +344,10 @@
* @note
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* NOTE: this function is not available on iOS, and should be considered
- * deprecated on Mac OS X. Your code should use CFRelease to dispose a session
+ * deprecated on macOS. Your code should use CFRelease to dispose a session
* created with SSLCreateContext.
*
* @param context A SSLContextRef to deallocate and destroy.
@@ -357,7 +357,7 @@
SSLDisposeContext (SSLContextRef context)
__SECURETRANSPORT_API_DEPRECATED(macos(10.2, 10.9));
-#endif /* MAC OS X */
+#endif /* MACOS */
/*
* @function SSLGetSessionState
@@ -524,10 +524,10 @@
* kSSLProtocolAll
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note this function is not available on iOS, and should be considered
- * deprecated on Mac OS X. You can use SSLSetProtocolVersionMin and/or
+ * deprecated on macOS. You can use SSLSetProtocolVersionMin and/or
* SSLSetProtocolVersionMax to specify which protocols are enabled.
* @param context A valid SSLContextRef.
* @param protocol A SSLProtocol enumerated value.
@@ -544,10 +544,10 @@
* Obtain a value specified in SSLSetProtocolVersionEnabled.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* NOTE: this function is not available on iOS, and should be considered
- * deprecated on Mac OS X. You can use SSLGetProtocolVersionMin and/or
+ * deprecated on macOS. You can use SSLGetProtocolVersionMin and/or
* SSLGetProtocolVersionMax to check whether a protocol is enabled.
*/
OSStatus
@@ -564,7 +564,7 @@
* @discussion SSLSetProtocolVersion cannot be called when a session is active.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note this function is not available on iOS, and deprecated on Mac OS X 10.8.
* Use SSLSetProtocolVersionMin and/or SSLSetProtocolVersionMax to specify
@@ -587,7 +587,7 @@
* SSL2 and TLS1 enabled, SSL3 disabled).
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note this function is not available on iOS, and deprecated on Mac OS X 10.8.
* Use SSLGetProtocolVersionMin and/or SSLGetProtocolVersionMax to check
@@ -601,7 +601,7 @@
SSLProtocol *protocol) /* RETURNED */
__SECURETRANSPORT_API_DEPRECATED(macos(10.2, 10.8));
-#endif /* MAC OS X */
+#endif /* MACOS */
/*
* @function SSLSetCertificate
@@ -906,10 +906,10 @@
* chain before proceeding with data transfer.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To disable peer certificate chain validation, you
+ * deprecated on macOS. To disable peer certificate chain validation, you
* can instead use SSLSetSessionOption to set kSSLSessionOptionBreakOnServerAuth
* to true. This will disable verification and cause SSLHandshake to return with
* an errSSLServerAuthCompleted result when the peer certificates have been
@@ -929,10 +929,10 @@
* @abstract Check whether peer certificate chain validation is enabled.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To check whether peer certificate chain validation
+ * deprecated on macOS. To check whether peer certificate chain validation
* is enabled in a context, call SSLGetSessionOption to obtain the value of
* the kSSLSessionOptionBreakOnServerAuth session option flag. If the value
* of this option flag is true, then verification is disabled.
@@ -952,10 +952,10 @@
* flag is false, meaning expired certs result in an errSSLCertExpired error.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To ignore expired certificate errors, first disable
+ * deprecated on macOS. To ignore expired certificate errors, first disable
* Secure Transport's automatic verification of peer certificates by calling
* SSLSetSessionOption to set kSSLSessionOptionBreakOnServerAuth to true. When
* SSLHandshake subsequently returns an errSSLServerAuthCompleted result,
@@ -1020,10 +1020,10 @@
* @abstract Obtain the current value of an SSLContext's "allowExpiredCerts" flag.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X.
+ * deprecated on macOS.
* @param context A valid SSLContextRef.
* @param allowsExpired Pointer to Boolean where the expired certificate allowance Boolean is stored.
* @result errSecSuccess on success, alternative error on failure.
@@ -1041,10 +1041,10 @@
* errSSLCertExpired error.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To ignore expired certificate errors, first disable
+ * deprecated on macOS. To ignore expired certificate errors, first disable
* Secure Transport's automatic verification of peer certificates by calling
* SSLSetSessionOption to set kSSLSessionOptionBreakOnServerAuth to true. When
* SSLHandshake subsequently returns an errSSLServerAuthCompleted result,
@@ -1070,10 +1070,10 @@
* @abstract Obtain the current value of an SSLContext's "allow expired roots" flag.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X.
+ * deprecated on macOS.
* @param context A valid SSLContextRef.
* @param allowsExpired Pointer to Boolean where the expired root certificate allowance
* Boolean is stored.
@@ -1101,10 +1101,10 @@
* true, allowing connection to a totally untrusted peer.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To ignore unknown root cert errors, first disable
+ * deprecated on macOS. To ignore unknown root cert errors, first disable
* Secure Transport's automatic verification of peer certificates by calling
* SSLSetSessionOption to set kSSLSessionOptionBreakOnServerAuth to true. When
* SSLHandshake subsequently returns an errSSLServerAuthCompleted result,
@@ -1129,10 +1129,10 @@
* @abstract Obtain the current value of an SSLContext's "allow any root" flag.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X.
+ * deprecated on macOS.
* @param context A valid SSLContextRef.
* @param anyRoot Pointer to Boolean to store any root allowance Boolean.
* @result errSecSuccess on success, alternative error on failure.
@@ -1157,10 +1157,10 @@
* The trustedRoots array contains SecCertificateRefs.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To trust specific roots in a session, first disable
+ * deprecated on macOS. To trust specific roots in a session, first disable
* Secure Transport's automatic verification of peer certificates by calling
* SSLSetSessionOption to set kSSLSessionOptionBreakOnServerAuth to true. When
* SSLHandshake subsequently returns an errSSLServerAuthCompleted result,
@@ -1191,10 +1191,10 @@
* Caller must CFRelease the returned CFArray.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To get the current set of trusted roots, call the
+ * deprecated on macOS. To get the current set of trusted roots, call the
* SSLCopyPeerTrust function to obtain the SecTrustRef for the peer certificate
* chain, then SecTrustCopyCustomAnchorCertificates (see SecTrust.h).
* @param context A valid SSLContextRef.
@@ -1218,10 +1218,10 @@
* the end of the returned array.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. To get peer certificates, call SSLCopyPeerTrust
+ * deprecated on macOS. To get peer certificates, call SSLCopyPeerTrust
* to obtain the SecTrustRef for the peer certificate chain, then use the
* SecTrustCopyCertificateChain to retrieve individual certificates in
* the chain (see SecTrust.h).
@@ -1234,7 +1234,7 @@
CFArrayRef * __nonnull CF_RETURNS_RETAINED certs) /* RETURNED */
__SECURETRANSPORT_API_DEPRECATED(macos(10.5, 10.9));
-#endif /* MAC OS X */
+#endif /* MACOS */
/*
* @function SSLCopyPeerTrust
@@ -1469,7 +1469,7 @@
CFArrayRef * __nonnull CF_RETURNS_RETAINED certificates) /* RETURNED */
__SECURETRANSPORT_API_DEPRECATED(macos(10.5, 10.15));
-#endif /* MAC OS X */
+#endif /* MACOS */
/*
* @function SSLCopyDistinguishedNames
@@ -1549,10 +1549,10 @@
* enabled.
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X. RSA blinding is enabled unconditionally, as
+ * deprecated on macOS. RSA blinding is enabled unconditionally, as
* it prevents a known way for an attacker to recover the private key,
* and the performance gain of disabling it is negligible.
* @param context A valid SSLContextRef.
@@ -1570,10 +1570,10 @@
* @discussion See SSLSetRsaBlinding().
*
* ==========================
- * MAC OS X ONLY (DEPRECATED)
+ * MACOS ONLY (DEPRECATED)
* ==========================
* @note This function is not available on iOS, and should be considered
- * deprecated on Mac OS X.
+ * deprecated on macOS.
* @param context A valid SSLContextRef.
* @param blinding Pointer to Boolean storage for RSA blinding state.
* @result errSecSuccess on success, alternative error on failure.
@@ -1583,7 +1583,7 @@
Boolean *blinding)
__SECURETRANSPORT_API_DEPRECATED(macos(10.2, 10.9));
-#endif /* MAC OS X */
+#endif /* MACOS */
/*******************************
******** I/O Functions ********