Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pluggable, more flexible, security policies.
Extract @FredericJacobs' CertificateVerifier concept with @nlutsenko's SRSecurityOptions into a pluggable SRSecurityPolicy protocol This retains existing SSL configuration code paths, while allowing users more flexibility to specify their own security policy. It's intended that you're able to subclass an `AFSecurityPolicy` that conforms to the `<SRSecurityPolicy>` protocol to share policy between websocket and conventional requests. Inspired by original "Require TLS 1.2 & enable pinning" pull request by Frederic Jacobs (@FredericJacobs) at: https://github.com/facebook/SocketRocket/pull/274/files
- Loading branch information
1 parent
fcd4828
commit 1af96bf
Showing
9 changed files
with
379 additions
and
222 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.