Skip to content

RFID Chip Processing

Overview

Biometric documents are documents similar to the traditional ones except for one significant difference: they have the RFID chip embedded.

The information stored on the chip is the same as that displayed on the data page of identity documents: full name, date of birth, place of birth, date of issue, expiration date, etc.

The chip also contains a biometric identifier in the form of a digital image of the identity document photo. The chip has a unique identification number and a digital signature as a protective measure.

The Document Reader SDK allows reading data from RFID chip memory (international standard ISO/IEC 14443) when working with devices equipped with NFC hardware, performing procedures of passive and active authentication.

Permissions

Add the NFC permission to your AndroidManifest file - it's needed to access the NFC hardware:

AndroidManifest.xml
<uses-permission android:name="android.permission.NFC" />

Open RFID Reader

After the document processing is completed and an access key is obtained, you can start the RFID chip processing.

To open the RFID chip reading activity and start its processing, use the method below.

DocumentReader.Instance().startRFIDReader(MainActivity.this, new IRfidReaderCompletion() {
    @Override
    public void onCompleted(int action, @Nullable DocumentReaderResults results, @Nullable DocumentReaderException error) {
        ...
    }
});
DocumentReader.Instance().startRFIDReader(this@MainActivity, object : IRfidReaderCompletion() {
    override fun onCompleted(
        rfidAction: Int,
        documentReaderResults: DocumentReaderResults?,
        e: DocumentReaderException?
    ) {
        ...
    }
})

Info

You can configure the RFID chip processing and avoid using our predefined configuration.

Stop RFID Reader

To stop the RFID chip reading activity programmatically, use the method below.

DocumentReader.Instance().stopRFIDReader(MainActivity.this);
DocumentReader.Instance().stopRFIDReader(this@MainActivity)

Next Steps