Security iOS 12.4 to 13.0 API Differences

CipherSuite.h
SecBase.h
Removed #def SECTYPE
Added #def CSSM_DEPRECATED
Modified errSecDskFull
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecateduse errSecDiskFull

SecItem.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly

SecProtocolMetadata.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedsec_protocol_metadata_get_negotiated_tls_protocol_version

AvailabilityReplacement
FromAvailablenone
ToDeprecatedsec_protocol_metadata_get_negotiated_tls_ciphersuite

SecProtocolOptions.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse sec_protocol_options_append_tls_ciphersuite

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse sec_protocol_options_append_tls_ciphersuite_group

AvailabilityReplacement
FromAvailablenone
ToDeprecatedsec_protocol_options_set_min_tls_protocol_version

AvailabilityReplacement
FromAvailablenone
ToDeprecatedsec_protocol_options_set_max_tls_protocol_version

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedDHE ciphersuites are no longer supported

Declaration
Fromtypedef void (^sec_protocol_challenge_complete_t)(sec_identity_t identity)
Totypedef void (^sec_protocol_challenge_complete_t)(sec_identity_t identity)

SecProtocolTypes.h
Availability
FromAvailable
ToDeprecated

Modified kTLSProtocol1
Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Modified kSSLProtocol2
Availability
FromAvailable
ToDeprecated

Modified kSSLProtocol3
Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Declaration
FromSecIdentityRef sec_identity_copy_ref(sec_identity_t identity)
ToSecIdentityRef sec_identity_copy_ref(sec_identity_t identity)

Declaration
FromCFArrayRef sec_identity_copy_certificates_ref(sec_identity_t identity)
ToCFArrayRef sec_identity_copy_certificates_ref(sec_identity_t identity)

SecTrust.h
Declaration
FromOSStatus SecTrustSetAnchorCertificates(SecTrustRef trust, CFArrayRef anchorCertificates)
ToOSStatus SecTrustSetAnchorCertificates(SecTrustRef trust, CFArrayRef anchorCertificates)

AvailabilityReplacement
FromAvailablenone
ToDeprecatedSecTrustEvaluateAsyncWithError

SecureTransport.h
Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Modified kSSLIdle
Availability
FromAvailable
ToDeprecated

Modified kSSLHandshake
Availability
FromAvailable
ToDeprecated

Modified kSSLConnected
Availability
FromAvailable
ToDeprecated

Modified kSSLClosed
Availability
FromAvailable
ToDeprecated

Modified kSSLAborted
Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

Modified SSLWrite()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

Modified SSLRead()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

Modified SSLClose()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.

Modified SSLSetError()
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNo longer supported. Use Network.framework.