TrustKit icon indicating copy to clipboard operation
TrustKit copied to clipboard

Expected error codes

Open blwinters opened this issue 2 years ago • 0 comments

Is there a list of expected error codes that could be returned when certificate pinning fails the check? I can't find any explicit errors in TrustKit documentation or source code, so I assume they are handled by NSURLSession. I found NSURLErrorClientCertificateRejected = -1205, are there others that I should be handling?

https://developer.apple.com/documentation/foundation/1508628-url_loading_system_error_codes/nsurlerrorclientcertificaterejected?language=occ

blwinters avatar Mar 02 '22 20:03 blwinters