Re: [mono-android] HttpWebRequest and ServicePoint.SetTcpKeepAlive

2013-02-28 Thread Nikola
Allright, that makes sense. Apologies for not realizing the difference. > ... when we rebase our products upon Mono 3.0, which we are doing for > Evolve ... Does this mean that sometime around the Evolve date (i.e. mid-April), there is going to be a new release based on Mono 3.0? Is there perhaps

[mono-android] HttpWebRequest and ServicePoint.SetTcpKeepAlive

2013-02-28 Thread Nikola
I am using SetTcpKeepAlive method (http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.settcpkeepalive.aspx) to distinguish between those cases when a particular HttpWebRequest takes long time to complete and when there is a network failure. On Mono for Android, this method doe

Re: [mono-android] KeyChain API on Android 4.1 and client certificate authentication

2013-02-18 Thread Nikola
I've sent you all necessary details to reproduce the NullReference exception. > I'm told by the resident SSL expert ... and this RSA instance will be used > in the SSL handshake logic. I've tried to inherit from System.Security.Cryptography.RSA and use the IPrivateKey in this custom class to do

Re: [mono-android] KeyChain API on Android 4.1 and client certificate authentication

2013-02-14 Thread Nikola
> This is very helpful context. Thank you. :-) You are welcome :) Glad that it helped to bring my point across, with English being my second language I sometimes wonder if my mails are clear enough. > Obvious question: Why do you need to use the KeyChain API? Why not just > include your client c

Re: [mono-android] KeyChain API on Android 4.1 and client certificate authentication

2013-02-14 Thread Nikola
Jon, > Using the .NET networking stack and using the > ServicePointManager.ServerCertificateValidationCallback callback allows me > to connect to a site which uses a self-signed certificate This is not what I want to achieve. What am I trying to do here is, I believe, "officially" called Mutual S

Re: [mono-android] KeyChain API on Android 4.1 and client certificate authentication

2013-02-08 Thread Nikola
:) I got the same impression from the second URL. From what you say I gather the P/Invoke is basically a no-go, so I think I will have to say goodbye to HttpWebRequest. I've tried to use HttpsUrlConnection (http://androidapi.xamarin.com/?link=T%3aJavax.Net.Ssl.HttpsURLConnection) instead, but unfo

Re: [mono-android] KeyChain API on Android 4.1 and client certificate authentication

2013-02-07 Thread Nikola
:* is there any alternative way I could use /HttpWebRequest/with /Java.Security.IPrivateKey/? Thank you, Nikola Anusev -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/KeyChain-API-on-Android-4-1-and-client-certificate-authentication-tp5712844p5712846.html Sent from the M

[mono-android] KeyChain API on Android 4.1 and client certificate authentication

2013-02-06 Thread Nikola
Hi, I need to issue HTTP requests against a server that requires authentication with client certificates. So far (on Android 4.0), I've been using KeyChain API to get the certificate and the associated private key: X509Certificate[] certificateChain = KeyChain.GetCertificateChain(this, a

Re: [mono-android] Status of Mono for Android?

2011-07-18 Thread Nikola Plejić
This announcement should make a lot of folks really happy: Xamarin Announces Immediate Availability of .NET-based Mobile Development Platform http://blog.xamarin.com/2011/07/18/first-press-release/ Regards, -- Nikola Plejić http://neutrinodev.com