简体   繁体   中英

Public Key pinning with NSURLSession

I want to implement public key pinning with NSURLSession. From various posts i am getting certificate pinning but not any solid reference for public key pinning. I don't want to use certificate pinning to avoid future update in server side certificate and my app release.

You can have a look at https://github.com/datatheorem/TrustKit . It's an iOS library that makes it easy to do public key pinning, and it works with NSURLSession.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM