Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Secure socket in Forms

$
0
0

Hello everyone,

I'm developing a Forms application that needs to connect to a java ssl socket using an user certificate. I have defined a DependacyService to split Android and iOS implementation.

I have suceeded in the Android implementation, by prompting the user to select the desired certificate with "KeyChain.ChoosePrivateKeyAlias", then importing it into a KeyStore, to use it in the KeyManager required by SSLSocketFactory.
I'm now trying to do the same in iOS, but I have not found anything that could help me. I have never developed for iOS, and I have just a little Objective C knowledge.

Can anyone give me some tips or guidelines? All I have to do is to let the user select a certificate from his keystore, then use it to open a SSL Socket.

Thank you.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>