Developer

Android Certificate Provider Sample

The Android certificate provider sample project implements a certificate provider interface by retrieving the certificate from a p12 file on the filesystem. The provider displays a native UI screen to let user enter the p12 file name and password, and the certificate alias to use.

The project is available to download from:

https://github.com/SAP/mobilesdk-certificateproviderInformation published on non-SAP site

The related folders are:

  • Android\CertificateFromFileProvider This folder contains the source of the sample certificate provider.
  • Android\resource This folder contains an index.html that can be used with the certificate provider.

To use the sample project, update the server connection information in index.html, and have a client certificate p12 file on the SD card of the device.