Certificates Management Tutorial

RFID SDK for Android 2.0.3.162

Applicable Devices: Handheld Readers RFD40XX and RFD90XX

Overview

This Tutorial provides a walk-through of the steps to add and manage certificates using RFID3 API.
This Feature is supported only with RFD40XX/90XX premium and premium plus devices.

Create The Project

  • Start by creating a new project in Android Studio. For help, see the Android Studio tutorial.
  • Refer Hello RFID to prepare basic setup to work with RFID Reader and then follow this guide

Details

New Certificates Management API in the SDK enables user to use RFD40/RFD90 devices to perform Certificate Management for enterprise profiles of different EAP. Following certificate management operations can be executed.

  1. Get Installed WiFi Certificates
  2. Add Certificate
  3. Delete a WiFi Certificate
  4. Remove All WiFi Certificates

Get Installed WiFi Certificates

This API will return back the list of installed certificate in string format, by using this we can add enterprise profiles of different EAP


ArrayList wpaCertificates = new ArrayList<>();
wpaCertificates = reader.Config.getCertificates();

Add Certificate

This API will install certificate based on the provided Certificate FilePath from app cache or file directory, by using this we can add enterprise profiles of different EAP


reader.Config.addCertificate("certificatePath");

Delete a WiFi Certificate

This API will delete the installed certificate in the Reader based on the provided Certificate Name


reader.Config.removeCertificate("certificateName");

Remove All WiFi Certificates

This API will delete all the installed certificate in the Reader


reader.Config.removeAllCertificates();