【问题标题】:Public key pinning in a WKWebViewWKWebView 中的公钥固定
【发布时间】:2016-03-27 11:45:55
【问题描述】:

根据 caniuse.com iOS Safari 9.2 和 9.3 do not support TLS public key pinning 与标题 Public-Key-Pins

如何使用WKWebView 进行公钥固定?

【问题讨论】:

    标签: security ssl https wkwebview pinning


    【解决方案1】:

    WkWebView 为您提供了一个处理程序,用于验证 WKNavigationDelegate 的 webView:didReceiveAuthenticationChallenge:completionHandler: (https://developer.apple.com/library/ios/documentation/WebKit/Reference/WKNavigationDelegate_Ref/index.html) 中的服务器证书链。

    本文的“Pinning in Webviews”部分有更多详细信息:https://datatheorem.github.io/TrustKit/getting-started.html,它也是一个在 iOS 应用中实现公钥固定的库。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-12-17
      • 2019-10-03
      • 2021-09-17
      • 2017-10-20
      • 1970-01-01
      • 1970-01-01
      • 2016-12-16
      • 1970-01-01
      相关资源
      最近更新 更多