Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected error codes #280

Open
blwinters opened this issue Mar 2, 2022 · 0 comments
Open

Expected error codes #280

blwinters opened this issue Mar 2, 2022 · 0 comments

Comments

@blwinters
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant