Log in to SAP Mobile Server and authenticate a client using a generated X.509 certificate instead of a user name and password combination.
// Import certificate from server SUPLoginCertificate *lc = [cs getSignedCertificateFromServer:@"<ServerName>\\ssotest" withServerPassword:@"s1s2o3T4" withCertPassword:@"password"]; [[LogInfo sharedInstance] testPassed:@"SAPSSOCertTest" :@"GetCertificateFromServer"]; NSLog(@"Imported certificate from server: subjectCN = %@",lc.subjectCN); // Attach certificate to sync profile sp.certificate = lc; [lc release]; while ([SUPApplication connectionStatus] != SUPConnectionStatus_CONNECTED) { NSLog(@"waiting to connect..."); sleep(2); }