readMasterList

open fun readMasterList(masterListFileInputStreams: Array<InputStream>)

Read one or multiple MasterList file(s) from the given InputStream(s).

A MasterList contains a list of trusted Country Certificates. With these Certificates it is possible to verify whether an eMRTD was officially produced on behalf of the nation that issued it and whether the data it contains has been changed in any way since its production.

Parameters

masterListFileInputStreams

one InputStream or multiple InputStream.

Throws

com.kinegram.android.emrtd.CSCAMasterList.ParsingException

parsing one of the MasterList file failed. Ensure thefiles are in the correct format (ICAO 9303 Part 12).

if the Certificate-Factory could not be initialized.