With the deprecated SecTrustGetResult API , It used to return a cert chain and cert trust status chain as well for each certificate in the chain.
How can we achieve the same using SecTrustGetTrustResult. for cert chain -> there is an API SecTrustCopyAnchorCertificates to retrieve cert chain
But no API is there to get cert trust chain.
How can we achieve the same?
SecTrustGetResult https://developer.apple.com/documentation/security/1396077-sectrustgettrustresult?language=objc
SecTrustGetTrustResult https://developer.apple.com/documentation/security/1524331-sectrustgetresult/
SecTrustCopyAnchorCertificates https://developer.apple.com/documentation/security/1401507-sectrustcopyanchorcertificates?language=objc