RFID Chip Processing
- The SDK can automatically change the scenario settings depending on the type and results obtained during the scanning of the last document. The default value is true:
DocumentReader.setRfidScenario({
autoSettings: true
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Set an authentication procedure type, which should be conducted if all the objective conditions are met:
DocumentReader.setRfidScenario({
authProcType: eRFID_AuthenticationProcedureType.aptAdvanced
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Set a type of priority mechanism for organizing an SM-channel (Security Messaging is a mechanism of protected data exchanging):
DocumentReader.setRfidScenario({
baseSMProcedure: eRFID_AccessControl_ProcedureType.ACPT_BAC
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Set a data access type for the PACE procedure:
DocumentReader.setRfidScenario({
pacePasswordType: eRFID_Password_Type.PPT_MRZ
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Priority of using DS-certificates:
DocumentReader.setRfidScenario({
pkdDSCertPriority: false
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Use of CSCA-certificates submitted by individual data files only:
DocumentReader.setRfidScenario({
pkdUseExternalCSCA: false
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Level of trust to CSCA-certificates from PKD:
DocumentReader.setRfidScenario({
trustedPKD: false
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Logical sign of passive authentication performance:
DocumentReader.setRfidScenario({
passiveAuth: true
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Logical sign of a cancellation of an active authentication procedure (AA) after the successful performance of a chip authentication (CA) procedure:
DocumentReader.setRfidScenario({
skipAA: false
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Select the type of logical data profiler to use with an electronic document:
DocumentReader.setRfidScenario({
profilerType: eRFID_SDK_ProfilerType.SPT_DOC_9303_EDITION_2006
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Strict ISO protocol:
DocumentReader.setRfidScenario({
strictProcessing: false
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Specify whether the ePassport must be read or not:
DocumentReader.setRfidScenario({
readEPassport: true
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Specify the data groups of the ePassport that must be read:
DocumentReader.setRfidScenario({
ePassportDataGroups: {
DG1: true
}
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Specify whether the eID must be read or not:
DocumentReader.setRfidScenario({
readEID: false
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Specify which data groups of the eID must be read:
DocumentReader.setRfidScenario({
eIDDataGroups: {
DG1: true
}
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Specify whether the eDL must read or not:
DocumentReader.setRfidScenario({
readEDL: true
}, (str) => { console.log(str) }, (error) => { console.log(error) });
- Specify which data groups of the eDL must be read:
DocumentReader.setRfidScenario({
eDLDataGroups: {
DG1: true
}
}, (str) => { console.log(str) }, (error) => { console.log(error) });