SAP Fiori Client Guide

getCertificate Method

In the SAP Mobile Platform registration case, the getCertificate method is the main method called by the Logon plugin to asynchronously get the client certificate from the certificate provider (in the non-SAP Mobile Platform case, this method is not called and the initialize method is called instead). The provided certificate is used to authenticate the client with the server. For Android, the method expects the certificate provider to provide an X509KeyManager object by calling the onGetCertificateSuccess method on the provided CertificateProviderListener callback object.

Syntax

void getCertificate(CertificateProviderListener callbackObject)

Parameters

  • callbackObject The CertificateProviderListener callback object. The CertificateProviderListener has the following methods: onGetCertificateSuccess, and onGetCertificateFailure.

Returns

None.