handleServerTrustChallenge
fun handleServerTrustChallenge(challenge: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>, <Error class: unknown class>?>(source)
Evaluate a server trust authentication challenge with CT verification.
Call this from URLSession:didReceiveChallenge: when the protection space authentication method is NSURLAuthenticationMethodServerTrust.
If the challenge is not a server trust challenge, returns default handling.
Return
A pair of (disposition, credential) to pass to the completion handler
Parameters
challenge
The authentication challenge from URLSession