-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cert approval callback for JSSTrustManager
Previously the JSSTrustManager would throw an exception to reject a cert if it found an issue in the cert. The code has been changed to collect all issues, then pass them into an optional callback object. If the callback approves it, the cert will be considered trusted. Otherwise, or if there is no callback, the code will throw an exception based on the first issue.
- Loading branch information
Showing
1 changed file
with
84 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters