Hi there,
I have the following problem that I want to solve. I am writing an application which shall call a server. This server authenticates the user based on a certain certificate.
So the first thing is to get the certificate on the iphone. This is not an issue, I know how to do it.
But here is the question:
Right now I have a prototype where I connect to a URL which replies with an XML file. There is no authentication needed. This will change when I need to get a similar xml file from the mentioned server. In my code I use the method:
Code:
NSXMLParser initWithContentsOfURL:
So my question is, when I use a URL that needs a certificate, how do I pass the certificate over? What do I need to provide then? I have the feeling that the iPhone OS will handle that problem itself, but in case you know a little more about it, I just would like to ask you.
I hope I made it clear enough and look forward to any answer.
Best Regards,
Peter