ios - STHTTPRequest how i can implement https? -


i have app communicate dedicated server, want implement https communication... i'm using sthttprequest wrapper requests, example request:

 __block sthttprequest *up = [sthttprequest requestwithurlstring:@"http://www.server.com/page.php"];  up.postdictionary = @{@"pass":@"xxxx","user":@"username"};  up.completionblock = ^(nsdictionary *headers, nsstring *body) {   };  up.errorblock = ^(nserror *error) {    };  [up startasynchronous]; 

for server i'll buy ssl certificate, how can implement https client ios app? i'm trying create best solution secure data, not use self-signed certificate... have read vulnerability "man in middle" attack.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -