Developer

Mutual Certificate Handling

To execute requests with certificates, set an identity in the SAP Mobile Platform RequestManager.

You can get the identity from MAF Logon after the registration has been finished:
SecIdentityRef identity = nil; 
[logonUIViewManager.logonManager getClientIdentity:&identity error:&localError]; 
Once you receive an identity from MAF Logon Manager, set the identity for each request before starting it:
 if (identity!=nil) {
 [request setClientCertificateIdentity:identity]; 
  }
The request executes and authenticates with the certificate if both these conditions are met:
  • The user creation policy is set to certificate.
  • SAP Mobile Platform Server security configuration used during registration is set to support mutual certificate handling.