Post

Replies

Boosts

Views

Activity

Reply to Transition from UIWebView to WKWebView
Related to this topic, our Sub Rosa product performs certificate based TLS authentication using a smart card. We use UIWebView and an NSURLProtocol subclass to implement our own HTTPS and TLS layers. Our use case is this: we need to be able to deliver a certificate to WKWebView AND be able to provide the crypt result for the TLS Certificate Verify signature. If we could implement a SecKey where our code handles the signature for TLS that would be a solution. I don't believe CryptoTokenKit is available on iOS even though the documentation says it is. If we could use WKURLSchemeHandler that would be a solution, but WKURLSchemeHandler does not support redirection, and our app would need to re-write URL schemes and that may lead to security problems. If we could create/extend a URLCredential that would contain the certificates and TLS signature similar to init(identity: SecIdentity, certificates: [Any]?, persistence: URLCredential.Persistence) that would be a solution (and one that we would prefer).
Jun ’20