Note that there are some explanatory texts on larger screens.

plurals
  1. POWSDL access through untrusted https request for iOS
    text
    copied!<p>So the scenario is I want to connect to a server by using WSDL, and the access point start with "https" which blocked me out. </p> <p>And now I got stucked on the last step, which is to <strong>retrieve and save secTrustRef to keychain</strong></p> <p><strong>Some pre setup</strong></p> <p>I have used the sudze service to generate WSDL wrapper and it works fine under http. </p> <p>And I follow this tutorial until I figure out that the keychainmanager class is not part of the class.</p> <p><a href="http://blog.exadel.com/working-with-ios-and-soap/" rel="nofollow">http://blog.exadel.com/working-with-ios-and-soap/</a></p> <p>So I need to do some reverse engineering to implement the method to save the server trust object into keychain, which should implement the similar functionality to replace </p> <pre><code>[[KeyChainManager sharedManager] isSavedTrust:confirmNeed.protectionSpace.serverTrust] </code></pre> <p>and </p> <pre><code>[[KeyChainManager sharedManager] saveCertificatesFromTrust:confirmNeed.protectionSpace.serverTrust]; </code></pre> <p>It seems I am quite close to what I want to achieve by using this sample code, but I am quite new to the security framework...</p> <p><a href="http://developer.apple.com/library/ios/#samplecode/AdvancedURLConnections/Introduction/Intro.html" rel="nofollow">http://developer.apple.com/library/ios/#samplecode/AdvancedURLConnections/Introduction/Intro.html</a></p> <p>Anyone familiar with security frame work could help me out?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload