select device certificate in ios cordova app

Viewed 28

I have an android apps that works that popups up a device certificate to choose from to register with APPCID as the picture example shows.

is it possible to do the same for ios? or at least use an external file for a certificate (generic certificate) I can't seem to find any tutorial about it.

Text

OData.defaultHttpClient = sap.AuthProxy.generateODataHttpClient();
setConnectionData();
clientCert = new sap.AuthProxy.CertificateFromStore();


var sUrl = baseUrl + "/odata/applications/applicationId/Connections";
var oHeaders = {};

var request = {
    headers: oHeaders,
    certificateSource: clientCert,
    requestUri: sUrl,
    data: connectionData,
    method: "POST"
};

OData.request(request, onRegistrationSuccess, onRegistrationError);
0 Answers
Related