Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-27-2008, 01:14 PM   #1 (permalink)
New Member
 
Join Date: Jun 2008
Posts: 1
peter.osburg is an unknown quantity at this point
Default Certificate

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
peter.osburg is offline   Reply With Quote
Old 07-01-2008, 06:26 PM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 53
turinreza is an unknown quantity at this point
Default Re: Certificate

how do u get a certificate on an iPhone?
Doesnt the iPhoen come with a default certificate it uses to sign onto emails
like IMAP,POP?

Can you access that Certificate?
turinreza is offline   Reply With Quote
Old 07-01-2008, 11:31 PM   #3 (permalink)
Registered Member
 
Join Date: Apr 2008
Location: Colorado
Posts: 312
jonc is an unknown quantity at this point
Send a message via AIM to jonc
Default Re: Certificate

You will probably want to use NSURL Connection to download the XML into an NSData object and then parse the XML from data. I don't know how to use the certificate to authenticate but I am pretty sure you are going to need to use NSURLConnection to do it. Check the docs for the class.
jonc is offline   Reply With Quote
Old 07-29-2009, 04:01 PM   #4 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 53
romeos28 is on a distinguished road
Default certificate

Anybody knows how to read a certificate information on iphone os like an expiration date, owner?

10x
romeos28 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone Developer Certificate WayneDavidDaley iPhone SDK Development 18 11-02-2011 07:04 AM
Expiration Date on Developer Certificate... WayneDavidDaley iPhone SDK Development 2 06-03-2008 09:16 AM


» Advertisements
» Online Users: 343
5 members and 338 guests
blueorb, guusleijsten, Kryckter, LEARN2MAKE, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,113
Posts: 402,880
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:52 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0