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

Pluggable, more flexible, security policies. #429

Merged

Commits on Jul 1, 2016

  1. Pluggable, more flexible, security policies.

    Extract @FredericJacobs' CertificateVerifier concept with @nlutsenko's
    SRSecurityOptions into a pluggable SRSecurityPolicy model
    
    This retains existing SSL configuration code paths, while allowing users
    more flexibility to specify their own security policy.
    
    If you are alread using AFNetworking and an `AFSecurityPolicy`, it's
    intended that you can share domain trust logic by delegating
    `SRSecurityPolicy evaluateTrust:ForDomain` to your AFSecurityPolicy
    instance.
    
    Inspired by original "Require TLS 1.2 & enable pinning" pull request by
    Frederic Jacobs (@FredericJacobs) at:
    
    https://github.com/facebook/SocketRocket/pull/274/files
    michaelkirk committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    cb2cf16 View commit details
    Browse the repository at this point in the history