extern const CFStringRef kSecTrustCertificateTransparency
__OSX_AVAILABLE_STARTING(__MAC_10_11, __IPHONE_9_0);
extern const CFStringRef kSecTrustCertificateTransparencyWhiteList
- __OSX_AVAILABLE_STARTING(__MAC_10_12, __IPHONE_10_0);
+ __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_12, __MAC_10_13, __IPHONE_10_0, __IPHONE_11_0);
#ifdef __BLOCKS__
/*!
@param keychainOrArray A reference to an array of keychains to search, a
single keychain, or NULL to use the default keychain search list.
@result A result code. See "Security Error Codes" (SecBase.h).
- @discussion By default, the user's keychain search list and the system
- anchors keychain are searched for certificates to complete the chain. You
- can specify a zero-element array if you do not want any keychains searched.
- Note: this function is not applicable to iOS.
+ @discussion This function is deprecated in macOS 10.13 and later. Beginning in
+ macOS 10.12, this function no longer affected the behavior of the trust
+ evaluation: the user's keychain search list and the system
+ anchors keychain are searched for certificates to complete the chain. To change
+ the keychains that are searched, callers must use SecKeychainSetSearchList to
+ change the user's keychain search list.
+ Note: this function was never applicable to iOS.
*/
OSStatus SecTrustSetKeychains(SecTrustRef trust, CFTypeRef __nullable keychainOrArray)
- __OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_NA);
+ __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_13, __IPHONE_NA, __IPHONE_NA);
/*!
@function SecTrustGetResult