@regulaforensics/document-reader 1.1.1318-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Package.swift +28 -0
- package/README.md +19 -0
- package/android/CVDDocumentReader.kt +76 -0
- package/android/build.gradle.kts +37 -0
- package/android/cordova.gradle.kts +13 -0
- package/android/src/main/kotlin/com/regula/plugin/document/reader/BluetoothUtil.kt +164 -0
- package/android/src/main/kotlin/com/regula/plugin/document/reader/Config.kt +1021 -0
- package/android/src/main/kotlin/com/regula/plugin/document/reader/JSONConstructor.kt +2192 -0
- package/android/src/main/kotlin/com/regula/plugin/document/reader/Main.kt +656 -0
- package/android/src/main/kotlin/com/regula/plugin/document/reader/RNDocumentReaderModule.kt +101 -0
- package/android/src/main/kotlin/com/regula/plugin/document/reader/Utils.kt +248 -0
- package/app.plugin.js +45 -0
- package/examples/capacitor/README.md +24 -0
- package/examples/capacitor/android/app/build.gradle +41 -0
- package/examples/capacitor/android/app/proguard-rules.pro +21 -0
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +36 -0
- package/examples/capacitor/android/app/src/main/assets/Regula/.gitkeep +0 -0
- package/examples/capacitor/android/app/src/main/java/com/regula/example/dr/capacitor/MainActivity.java +5 -0
- package/examples/capacitor/android/app/src/main/res/drawable/ic_launcher.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable/ic_launcher_foreground.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable/ic_launcher_round.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable/launcher.xml +4 -0
- package/examples/capacitor/android/app/src/main/res/drawable/launcher_round.xml +4 -0
- package/examples/capacitor/android/app/src/main/res/drawable/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/layout/activity_main.xml +12 -0
- package/examples/capacitor/android/app/src/main/res/values/styles.xml +22 -0
- package/examples/capacitor/android/app/src/main/res/xml/file_paths.xml +5 -0
- package/examples/capacitor/android/build.gradle +39 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/examples/capacitor/android/gradle.properties +26 -0
- package/examples/capacitor/android/gradlew +248 -0
- package/examples/capacitor/android/gradlew.bat +82 -0
- package/examples/capacitor/android/settings.gradle +5 -0
- package/examples/capacitor/android/variables.gradle +20 -0
- package/examples/capacitor/capacitor.config.json +15 -0
- package/examples/capacitor/index.html +5 -0
- package/examples/capacitor/index.tsx +31 -0
- package/examples/capacitor/ios/App/App/App.entitlements +10 -0
- package/examples/capacitor/ios/App/App/AppDelegate.swift +14 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Contents.json +6 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +23 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
- package/examples/capacitor/ios/App/App/Base.lproj/LaunchScreen.storyboard +32 -0
- package/examples/capacitor/ios/App/App/Info.plist +88 -0
- package/examples/capacitor/ios/App/App/SceneDelegate.swift +23 -0
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +374 -0
- package/examples/capacitor/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/examples/capacitor/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift +1 -0
- package/examples/capacitor/package-lock.json +1965 -0
- package/examples/capacitor/package.json +26 -0
- package/examples/capacitor/public/assets/.gitkeep +0 -0
- package/examples/capacitor/public/images/document.png +0 -0
- package/examples/capacitor/public/images/portrait.png +0 -0
- package/examples/capacitor/scripts/android.sh +8 -0
- package/examples/capacitor/scripts/ios.sh +8 -0
- package/examples/capacitor/scripts/setup.sh +9 -0
- package/examples/capacitor/src/extra/bt_device.tsx +33 -0
- package/examples/capacitor/src/extra/custom_rfid.tsx +61 -0
- package/examples/capacitor/src/main.css +153 -0
- package/examples/capacitor/src/main.html +38 -0
- package/examples/capacitor/src/main.tsx +172 -0
- package/examples/capacitor/tsconfig.json +5 -0
- package/examples/capacitor/vite.config.ts +5 -0
- package/examples/ionic/README.md +24 -0
- package/examples/ionic/angular.json +39 -0
- package/examples/ionic/assets/.gitkeep +0 -0
- package/examples/ionic/config.xml +61 -0
- package/examples/ionic/images/document.png +0 -0
- package/examples/ionic/images/icon.png +0 -0
- package/examples/ionic/images/portrait.png +0 -0
- package/examples/ionic/index.html +19 -0
- package/examples/ionic/index.tsx +63 -0
- package/examples/ionic/ionic.config.json +7 -0
- package/examples/ionic/package-lock.json +17554 -0
- package/examples/ionic/package.json +76 -0
- package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +23 -0
- package/examples/ionic/scripts/android.sh +9 -0
- package/examples/ionic/scripts/ios.sh +11 -0
- package/examples/ionic/scripts/setup.sh +8 -0
- package/examples/ionic/src/extra/bt_device.tsx +33 -0
- package/examples/ionic/src/extra/custom_rfid.tsx +61 -0
- package/examples/ionic/src/main.css +148 -0
- package/examples/ionic/src/main.html +38 -0
- package/examples/ionic/src/main.tsx +172 -0
- package/examples/ionic/tsconfig.json +13 -0
- package/examples/react_native/README.md +24 -0
- package/examples/react_native/app.config.ts +54 -0
- package/examples/react_native/assets/.gitkeep +0 -0
- package/examples/react_native/images/document.png +0 -0
- package/examples/react_native/images/icon.png +0 -0
- package/examples/react_native/images/portrait.png +0 -0
- package/examples/react_native/index.tsx +111 -0
- package/examples/react_native/metro.config.js +5 -0
- package/examples/react_native/package-lock.json +6924 -0
- package/examples/react_native/package.json +37 -0
- package/examples/react_native/scripts/android.sh +8 -0
- package/examples/react_native/scripts/ios.sh +6 -0
- package/examples/react_native/scripts/setup.sh +10 -0
- package/examples/react_native/scripts/withoutMetroServer.js +89 -0
- package/examples/react_native/src/extra/bt_device.tsx +33 -0
- package/examples/react_native/src/extra/custom_rfid.tsx +61 -0
- package/examples/react_native/src/main.css +148 -0
- package/examples/react_native/src/main.html +38 -0
- package/examples/react_native/src/main.tsx +172 -0
- package/ios/CVDDocumentReader.h +7 -0
- package/ios/CVDDocumentReader.m +43 -0
- package/ios/RGLWConfig.h +44 -0
- package/ios/RGLWConfig.m +1577 -0
- package/ios/RGLWJSONConstructor.h +216 -0
- package/ios/RGLWJSONConstructor.m +2875 -0
- package/ios/RGLWMain.h +34 -0
- package/ios/RGLWMain.m +722 -0
- package/ios/RNDocumentReader.h +8 -0
- package/ios/RNDocumentReader.m +52 -0
- package/ios/spm/module.modulemap +7 -0
- package/package.json +39 -0
- package/plugin.xml +51 -0
- package/react-native-document-reader.podspec +14 -0
- package/test/json.tsx +1159 -0
- package/test/package-lock.json +584 -0
- package/test/package.json +9 -0
- package/test/test.tsx +315 -0
- package/test/utils.tsx +38 -0
- package/www/capacitor/config/FinalizeConfig.js +35 -0
- package/www/capacitor/config/InitConfig.js +55 -0
- package/www/capacitor/config/OnlineProcessingConfig.js +52 -0
- package/www/capacitor/config/RFIDConfig.js +47 -0
- package/www/capacitor/config/RecognizeConfig.js +138 -0
- package/www/capacitor/config/ScannerConfig.js +48 -0
- package/www/capacitor/index.js +758 -0
- package/www/capacitor/info/DocReaderException.js +68 -0
- package/www/capacitor/info/DocReaderScenario.js +89 -0
- package/www/capacitor/info/DocReaderVersion.js +32 -0
- package/www/capacitor/info/DocumentsDatabase.js +39 -0
- package/www/capacitor/info/License.js +30 -0
- package/www/capacitor/info/PrepareProgress.js +31 -0
- package/www/capacitor/info/RFIDException.js +26 -0
- package/www/capacitor/internal/bridge.js +131 -0
- package/www/capacitor/internal/cordova.js +17 -0
- package/www/capacitor/mdl/DataRetrieval.js +55 -0
- package/www/capacitor/mdl/DeviceEngagement.js +30 -0
- package/www/capacitor/mdl/DeviceRetrievalMethod.js +41 -0
- package/www/capacitor/mdl/DocumentRequestMDL.js +212 -0
- package/www/capacitor/mdl/NameSpaceMDL.js +33 -0
- package/www/capacitor/params/Functionality.js +387 -0
- package/www/capacitor/params/customization/Customization.js +664 -0
- package/www/capacitor/params/customization/CustomizationColors.js +231 -0
- package/www/capacitor/params/customization/CustomizationContentModes.js +55 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +156 -0
- package/www/capacitor/params/customization/CustomizationImages.js +199 -0
- package/www/capacitor/params/customization/CustomizationMatrices.js +39 -0
- package/www/capacitor/params/customization/CustomizationTimings.js +71 -0
- package/www/capacitor/params/process_params/AuthenticityParams.js +166 -0
- package/www/capacitor/params/process_params/AuthenticityPropertiesParams.js +39 -0
- package/www/capacitor/params/process_params/BackendProcessingConfig.js +38 -0
- package/www/capacitor/params/process_params/Bsi.js +23 -0
- package/www/capacitor/params/process_params/FaceApiParams.js +55 -0
- package/www/capacitor/params/process_params/FaceApiSearchParams.js +29 -0
- package/www/capacitor/params/process_params/GlaresCheckParams.js +25 -0
- package/www/capacitor/params/process_params/ImageQA.js +122 -0
- package/www/capacitor/params/process_params/LivenessParams.js +87 -0
- package/www/capacitor/params/process_params/OcclusionCheckParams.js +21 -0
- package/www/capacitor/params/process_params/ProcessParams.js +724 -0
- package/www/capacitor/params/process_params/RFIDParams.js +21 -0
- package/www/capacitor/params/rfid_scenario/DTCDataGroup.js +63 -0
- package/www/capacitor/params/rfid_scenario/EDLDataGroups.js +135 -0
- package/www/capacitor/params/rfid_scenario/EIDDataGroups.js +191 -0
- package/www/capacitor/params/rfid_scenario/EPassportDataGroups.js +151 -0
- package/www/capacitor/params/rfid_scenario/RFIDScenario.js +584 -0
- package/www/capacitor/results/DocumentType.js +302 -0
- package/www/capacitor/results/Position.js +88 -0
- package/www/capacitor/results/Results.js +354 -0
- package/www/capacitor/results/TransactionInfo.js +24 -0
- package/www/capacitor/results/authenticity/Authenticity.js +24 -0
- package/www/capacitor/results/authenticity/AuthenticityCheck.js +43 -0
- package/www/capacitor/results/authenticity/AuthenticityElement.js +37 -0
- package/www/capacitor/results/authenticity/AuthenticityResult.js +33 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +133 -0
- package/www/capacitor/results/authenticity/SecurityFeatureType.js +67 -0
- package/www/capacitor/results/barcode/BarcodeField.js +34 -0
- package/www/capacitor/results/barcode/BarcodeResult.js +30 -0
- package/www/capacitor/results/barcode/BarcodeStatus.js +33 -0
- package/www/capacitor/results/barcode/BarcodeType.js +21 -0
- package/www/capacitor/results/barcode/PDF417Info.js +24 -0
- package/www/capacitor/results/image_quality/ImageQuality.js +40 -0
- package/www/capacitor/results/image_quality/ImageQualityCheckType.js +19 -0
- package/www/capacitor/results/image_quality/ImageQualityGroup.js +39 -0
- package/www/capacitor/results/rfid/AccessControlProcedureType.js +30 -0
- package/www/capacitor/results/rfid/Application.js +63 -0
- package/www/capacitor/results/rfid/Attribute.js +23 -0
- package/www/capacitor/results/rfid/Authority.js +36 -0
- package/www/capacitor/results/rfid/CardProperties.js +57 -0
- package/www/capacitor/results/rfid/CertificateChain.js +69 -0
- package/www/capacitor/results/rfid/CertificateData.js +21 -0
- package/www/capacitor/results/rfid/DataField.js +23 -0
- package/www/capacitor/results/rfid/Extension.js +21 -0
- package/www/capacitor/results/rfid/File.js +56 -0
- package/www/capacitor/results/rfid/FileData.js +27 -0
- package/www/capacitor/results/rfid/RFIDAccessControlProcedureType.js +10 -0
- package/www/capacitor/results/rfid/RFIDCertificateType.js +14 -0
- package/www/capacitor/results/rfid/RFIDDataFileType.js +106 -0
- package/www/capacitor/results/rfid/RFIDSessionData.js +92 -0
- package/www/capacitor/results/rfid/RFIDValidity.js +23 -0
- package/www/capacitor/results/rfid/RFIDValue.js +30 -0
- package/www/capacitor/results/rfid/SecurityObject.js +41 -0
- package/www/capacitor/results/rfid/SecurityObjectCertificates.js +20 -0
- package/www/capacitor/results/rfid/SignerInfo.js +74 -0
- package/www/capacitor/results/status/AgeStatus.js +35 -0
- package/www/capacitor/results/status/CheckResult.js +5 -0
- package/www/capacitor/results/status/OpticalStatus.js +44 -0
- package/www/capacitor/results/status/RFIDStatus.js +38 -0
- package/www/capacitor/results/status/ResultsStatus.js +53 -0
- package/www/capacitor/results/visible_digital_seals/BytesData.js +27 -0
- package/www/capacitor/results/visible_digital_seals/DocFeature.js +23 -0
- package/www/capacitor/results/visible_digital_seals/LDSParsingErrorCodes.js +136 -0
- package/www/capacitor/results/visible_digital_seals/LDSParsingNotificationCodes.js +239 -0
- package/www/capacitor/results/visible_digital_seals/VDSData.js +75 -0
- package/www/capacitor/results/visible_digital_seals/VDSNCData.js +54 -0
- package/www/capacitor/results/visual_results/Comparison.js +27 -0
- package/www/capacitor/results/visual_results/FieldType.js +671 -0
- package/www/capacitor/results/visual_results/GraphicField.js +47 -0
- package/www/capacitor/results/visual_results/GraphicFieldType.js +25 -0
- package/www/capacitor/results/visual_results/GraphicResult.js +28 -0
- package/www/capacitor/results/visual_results/LCID.js +174 -0
- package/www/capacitor/results/visual_results/Lights.js +11 -0
- package/www/capacitor/results/visual_results/RFIDOrigin.js +27 -0
- package/www/capacitor/results/visual_results/Rect.js +27 -0
- package/www/capacitor/results/visual_results/Symbol.js +26 -0
- package/www/capacitor/results/visual_results/TextField.js +85 -0
- package/www/capacitor/results/visual_results/TextResult.js +52 -0
- package/www/capacitor/results/visual_results/TextSource.js +27 -0
- package/www/capacitor/results/visual_results/Validity.js +24 -0
- package/www/capacitor/results/visual_results/Value.js +52 -0
- package/www/capacitor/rfid/CAProtocol.js +27 -0
- package/www/capacitor/rfid/PAAttribute.js +24 -0
- package/www/capacitor/rfid/PACEProtocol.js +24 -0
- package/www/capacitor/rfid/PAResourcesIssuer.js +35 -0
- package/www/capacitor/rfid/PKDCertificate.js +65 -0
- package/www/capacitor/rfid/RFIDErrorCodes.js +123 -0
- package/www/capacitor/rfid/RFIDNotification.js +71 -0
- package/www/capacitor/rfid/TAChallenge.js +33 -0
- package/www/capacitor/rfid/TccParams.js +34 -0
- package/www/cordova.js +12948 -0
- package/www/react-native/config/FinalizeConfig.js +35 -0
- package/www/react-native/config/InitConfig.js +55 -0
- package/www/react-native/config/OnlineProcessingConfig.js +52 -0
- package/www/react-native/config/RFIDConfig.js +47 -0
- package/www/react-native/config/RecognizeConfig.js +138 -0
- package/www/react-native/config/ScannerConfig.js +48 -0
- package/www/react-native/index.js +758 -0
- package/www/react-native/info/DocReaderException.js +68 -0
- package/www/react-native/info/DocReaderScenario.js +89 -0
- package/www/react-native/info/DocReaderVersion.js +32 -0
- package/www/react-native/info/DocumentsDatabase.js +39 -0
- package/www/react-native/info/License.js +30 -0
- package/www/react-native/info/PrepareProgress.js +31 -0
- package/www/react-native/info/RFIDException.js +26 -0
- package/www/react-native/internal/bridge.js +131 -0
- package/www/react-native/mdl/DataRetrieval.js +55 -0
- package/www/react-native/mdl/DeviceEngagement.js +30 -0
- package/www/react-native/mdl/DeviceRetrievalMethod.js +41 -0
- package/www/react-native/mdl/DocumentRequestMDL.js +212 -0
- package/www/react-native/mdl/NameSpaceMDL.js +33 -0
- package/www/react-native/params/Functionality.js +387 -0
- package/www/react-native/params/customization/Customization.js +664 -0
- package/www/react-native/params/customization/CustomizationColors.js +231 -0
- package/www/react-native/params/customization/CustomizationContentModes.js +55 -0
- package/www/react-native/params/customization/CustomizationFonts.js +156 -0
- package/www/react-native/params/customization/CustomizationImages.js +199 -0
- package/www/react-native/params/customization/CustomizationMatrices.js +39 -0
- package/www/react-native/params/customization/CustomizationTimings.js +71 -0
- package/www/react-native/params/process_params/AuthenticityParams.js +166 -0
- package/www/react-native/params/process_params/AuthenticityPropertiesParams.js +39 -0
- package/www/react-native/params/process_params/BackendProcessingConfig.js +38 -0
- package/www/react-native/params/process_params/Bsi.js +23 -0
- package/www/react-native/params/process_params/FaceApiParams.js +55 -0
- package/www/react-native/params/process_params/FaceApiSearchParams.js +29 -0
- package/www/react-native/params/process_params/GlaresCheckParams.js +25 -0
- package/www/react-native/params/process_params/ImageQA.js +122 -0
- package/www/react-native/params/process_params/LivenessParams.js +87 -0
- package/www/react-native/params/process_params/OcclusionCheckParams.js +21 -0
- package/www/react-native/params/process_params/ProcessParams.js +724 -0
- package/www/react-native/params/process_params/RFIDParams.js +21 -0
- package/www/react-native/params/rfid_scenario/DTCDataGroup.js +63 -0
- package/www/react-native/params/rfid_scenario/EDLDataGroups.js +135 -0
- package/www/react-native/params/rfid_scenario/EIDDataGroups.js +191 -0
- package/www/react-native/params/rfid_scenario/EPassportDataGroups.js +151 -0
- package/www/react-native/params/rfid_scenario/RFIDScenario.js +584 -0
- package/www/react-native/results/DocumentType.js +302 -0
- package/www/react-native/results/Position.js +88 -0
- package/www/react-native/results/Results.js +354 -0
- package/www/react-native/results/TransactionInfo.js +24 -0
- package/www/react-native/results/authenticity/Authenticity.js +24 -0
- package/www/react-native/results/authenticity/AuthenticityCheck.js +43 -0
- package/www/react-native/results/authenticity/AuthenticityElement.js +37 -0
- package/www/react-native/results/authenticity/AuthenticityResult.js +33 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +133 -0
- package/www/react-native/results/authenticity/SecurityFeatureType.js +67 -0
- package/www/react-native/results/barcode/BarcodeField.js +34 -0
- package/www/react-native/results/barcode/BarcodeResult.js +30 -0
- package/www/react-native/results/barcode/BarcodeStatus.js +33 -0
- package/www/react-native/results/barcode/BarcodeType.js +21 -0
- package/www/react-native/results/barcode/PDF417Info.js +24 -0
- package/www/react-native/results/image_quality/ImageQuality.js +40 -0
- package/www/react-native/results/image_quality/ImageQualityCheckType.js +19 -0
- package/www/react-native/results/image_quality/ImageQualityGroup.js +39 -0
- package/www/react-native/results/rfid/AccessControlProcedureType.js +30 -0
- package/www/react-native/results/rfid/Application.js +63 -0
- package/www/react-native/results/rfid/Attribute.js +23 -0
- package/www/react-native/results/rfid/Authority.js +36 -0
- package/www/react-native/results/rfid/CardProperties.js +57 -0
- package/www/react-native/results/rfid/CertificateChain.js +69 -0
- package/www/react-native/results/rfid/CertificateData.js +21 -0
- package/www/react-native/results/rfid/DataField.js +23 -0
- package/www/react-native/results/rfid/Extension.js +21 -0
- package/www/react-native/results/rfid/File.js +56 -0
- package/www/react-native/results/rfid/FileData.js +27 -0
- package/www/react-native/results/rfid/RFIDAccessControlProcedureType.js +10 -0
- package/www/react-native/results/rfid/RFIDCertificateType.js +14 -0
- package/www/react-native/results/rfid/RFIDDataFileType.js +106 -0
- package/www/react-native/results/rfid/RFIDSessionData.js +92 -0
- package/www/react-native/results/rfid/RFIDValidity.js +23 -0
- package/www/react-native/results/rfid/RFIDValue.js +30 -0
- package/www/react-native/results/rfid/SecurityObject.js +41 -0
- package/www/react-native/results/rfid/SecurityObjectCertificates.js +20 -0
- package/www/react-native/results/rfid/SignerInfo.js +74 -0
- package/www/react-native/results/status/AgeStatus.js +35 -0
- package/www/react-native/results/status/CheckResult.js +5 -0
- package/www/react-native/results/status/OpticalStatus.js +44 -0
- package/www/react-native/results/status/RFIDStatus.js +38 -0
- package/www/react-native/results/status/ResultsStatus.js +53 -0
- package/www/react-native/results/visible_digital_seals/BytesData.js +27 -0
- package/www/react-native/results/visible_digital_seals/DocFeature.js +23 -0
- package/www/react-native/results/visible_digital_seals/LDSParsingErrorCodes.js +136 -0
- package/www/react-native/results/visible_digital_seals/LDSParsingNotificationCodes.js +239 -0
- package/www/react-native/results/visible_digital_seals/VDSData.js +75 -0
- package/www/react-native/results/visible_digital_seals/VDSNCData.js +54 -0
- package/www/react-native/results/visual_results/Comparison.js +27 -0
- package/www/react-native/results/visual_results/FieldType.js +671 -0
- package/www/react-native/results/visual_results/GraphicField.js +47 -0
- package/www/react-native/results/visual_results/GraphicFieldType.js +25 -0
- package/www/react-native/results/visual_results/GraphicResult.js +28 -0
- package/www/react-native/results/visual_results/LCID.js +174 -0
- package/www/react-native/results/visual_results/Lights.js +11 -0
- package/www/react-native/results/visual_results/RFIDOrigin.js +27 -0
- package/www/react-native/results/visual_results/Rect.js +27 -0
- package/www/react-native/results/visual_results/Symbol.js +26 -0
- package/www/react-native/results/visual_results/TextField.js +85 -0
- package/www/react-native/results/visual_results/TextResult.js +52 -0
- package/www/react-native/results/visual_results/TextSource.js +27 -0
- package/www/react-native/results/visual_results/Validity.js +24 -0
- package/www/react-native/results/visual_results/Value.js +52 -0
- package/www/react-native/rfid/CAProtocol.js +27 -0
- package/www/react-native/rfid/PAAttribute.js +24 -0
- package/www/react-native/rfid/PACEProtocol.js +24 -0
- package/www/react-native/rfid/PAResourcesIssuer.js +35 -0
- package/www/react-native/rfid/PKDCertificate.js +65 -0
- package/www/react-native/rfid/RFIDErrorCodes.js +123 -0
- package/www/react-native/rfid/RFIDNotification.js +71 -0
- package/www/react-native/rfid/TAChallenge.js +33 -0
- package/www/react-native/rfid/TccParams.js +34 -0
- package/www/types/config/FinalizeConfig.d.ts +6 -0
- package/www/types/config/InitConfig.d.ts +68 -0
- package/www/types/config/OnlineProcessingConfig.d.ts +22 -0
- package/www/types/config/RFIDConfig.d.ts +178 -0
- package/www/types/config/RecognizeConfig.d.ts +126 -0
- package/www/types/config/ScannerConfig.d.ts +54 -0
- package/www/types/index.d.ts +656 -0
- package/www/types/info/DocReaderException.d.ts +85 -0
- package/www/types/info/DocReaderScenario.d.ts +90 -0
- package/www/types/info/DocReaderVersion.d.ts +28 -0
- package/www/types/info/DocumentsDatabase.d.ts +42 -0
- package/www/types/info/License.d.ts +23 -0
- package/www/types/info/PrepareProgress.d.ts +15 -0
- package/www/types/info/RFIDException.d.ts +8 -0
- package/www/types/mdl/DataRetrieval.d.ts +28 -0
- package/www/types/mdl/DeviceEngagement.d.ts +16 -0
- package/www/types/mdl/DeviceRetrievalMethod.d.ts +18 -0
- package/www/types/mdl/DocumentRequestMDL.d.ts +63 -0
- package/www/types/mdl/NameSpaceMDL.d.ts +16 -0
- package/www/types/params/Functionality.d.ts +337 -0
- package/www/types/params/customization/Customization.d.ts +584 -0
- package/www/types/params/customization/CustomizationColors.d.ts +42 -0
- package/www/types/params/customization/CustomizationContentModes.d.ts +41 -0
- package/www/types/params/customization/CustomizationFonts.d.ts +63 -0
- package/www/types/params/customization/CustomizationImages.d.ts +34 -0
- package/www/types/params/customization/CustomizationMatrices.d.ts +10 -0
- package/www/types/params/customization/CustomizationTimings.d.ts +14 -0
- package/www/types/params/process_params/AuthenticityParams.d.ts +31 -0
- package/www/types/params/process_params/AuthenticityPropertiesParams.d.ts +12 -0
- package/www/types/params/process_params/BackendProcessingConfig.d.ts +27 -0
- package/www/types/params/process_params/Bsi.d.ts +3 -0
- package/www/types/params/process_params/FaceApiParams.d.ts +72 -0
- package/www/types/params/process_params/FaceApiSearchParams.d.ts +35 -0
- package/www/types/params/process_params/GlaresCheckParams.d.ts +26 -0
- package/www/types/params/process_params/ImageQA.d.ts +85 -0
- package/www/types/params/process_params/LivenessParams.d.ts +18 -0
- package/www/types/params/process_params/OcclusionCheckParams.d.ts +16 -0
- package/www/types/params/process_params/ProcessParams.d.ts +496 -0
- package/www/types/params/process_params/RFIDParams.d.ts +19 -0
- package/www/types/params/rfid_scenario/DTCDataGroup.d.ts +13 -0
- package/www/types/params/rfid_scenario/EDLDataGroups.d.ts +22 -0
- package/www/types/params/rfid_scenario/EIDDataGroups.d.ts +29 -0
- package/www/types/params/rfid_scenario/EPassportDataGroups.d.ts +24 -0
- package/www/types/params/rfid_scenario/RFIDScenario.d.ts +178 -0
- package/www/types/results/DocumentType.d.ts +525 -0
- package/www/types/results/Position.d.ts +50 -0
- package/www/types/results/Results.d.ts +295 -0
- package/www/types/results/TransactionInfo.d.ts +9 -0
- package/www/types/results/authenticity/Authenticity.d.ts +68 -0
- package/www/types/results/authenticity/AuthenticityCheck.d.ts +23 -0
- package/www/types/results/authenticity/AuthenticityElement.d.ts +26 -0
- package/www/types/results/authenticity/AuthenticityResult.d.ts +16 -0
- package/www/types/results/authenticity/CheckDiagnose.d.ts +242 -0
- package/www/types/results/authenticity/SecurityFeatureType.d.ts +110 -0
- package/www/types/results/barcode/BarcodeField.d.ts +37 -0
- package/www/types/results/barcode/BarcodeResult.d.ts +14 -0
- package/www/types/results/barcode/BarcodeStatus.d.ts +66 -0
- package/www/types/results/barcode/BarcodeType.d.ts +45 -0
- package/www/types/results/barcode/PDF417Info.d.ts +15 -0
- package/www/types/results/image_quality/ImageQuality.d.ts +18 -0
- package/www/types/results/image_quality/ImageQualityCheckType.d.ts +30 -0
- package/www/types/results/image_quality/ImageQualityGroup.d.ts +17 -0
- package/www/types/results/rfid/AccessControlProcedureType.d.ts +21 -0
- package/www/types/results/rfid/Application.d.ts +48 -0
- package/www/types/results/rfid/Attribute.d.ts +9 -0
- package/www/types/results/rfid/Authority.d.ts +11 -0
- package/www/types/results/rfid/CardProperties.d.ts +48 -0
- package/www/types/results/rfid/CertificateChain.d.ts +28 -0
- package/www/types/results/rfid/CertificateData.d.ts +7 -0
- package/www/types/results/rfid/DataField.d.ts +9 -0
- package/www/types/results/rfid/Extension.d.ts +7 -0
- package/www/types/results/rfid/File.d.ts +22 -0
- package/www/types/results/rfid/FileData.d.ts +9 -0
- package/www/types/results/rfid/RFIDAccessControlProcedureType.d.ts +18 -0
- package/www/types/results/rfid/RFIDCertificateType.d.ts +14 -0
- package/www/types/results/rfid/RFIDDataFileType.d.ts +108 -0
- package/www/types/results/rfid/RFIDSessionData.d.ts +48 -0
- package/www/types/results/rfid/RFIDValidity.d.ts +9 -0
- package/www/types/results/rfid/RFIDValue.d.ts +10 -0
- package/www/types/results/rfid/SecurityObject.d.ts +28 -0
- package/www/types/results/rfid/SecurityObjectCertificates.d.ts +8 -0
- package/www/types/results/rfid/SignerInfo.d.ts +41 -0
- package/www/types/results/status/AgeStatus.d.ts +14 -0
- package/www/types/results/status/CheckResult.d.ts +8 -0
- package/www/types/results/status/OpticalStatus.d.ts +29 -0
- package/www/types/results/status/RFIDStatus.d.ts +22 -0
- package/www/types/results/status/ResultsStatus.d.ts +32 -0
- package/www/types/results/visible_digital_seals/BytesData.d.ts +9 -0
- package/www/types/results/visible_digital_seals/DocFeature.d.ts +9 -0
- package/www/types/results/visible_digital_seals/LDSParsingErrorCodes.d.ts +134 -0
- package/www/types/results/visible_digital_seals/LDSParsingNotificationCodes.d.ts +237 -0
- package/www/types/results/visible_digital_seals/VDSData.d.ts +32 -0
- package/www/types/results/visible_digital_seals/VDSNCData.d.ts +35 -0
- package/www/types/results/visual_results/Comparison.d.ts +15 -0
- package/www/types/results/visual_results/FieldType.d.ts +1328 -0
- package/www/types/results/visual_results/GraphicField.d.ts +29 -0
- package/www/types/results/visual_results/GraphicFieldType.d.ts +52 -0
- package/www/types/results/visual_results/GraphicResult.d.ts +10 -0
- package/www/types/results/visual_results/LCID.d.ts +173 -0
- package/www/types/results/visual_results/Lights.d.ts +23 -0
- package/www/types/results/visual_results/RFIDOrigin.d.ts +10 -0
- package/www/types/results/visual_results/Rect.d.ts +9 -0
- package/www/types/results/visual_results/Symbol.d.ts +14 -0
- package/www/types/results/visual_results/TextField.d.ts +40 -0
- package/www/types/results/visual_results/TextResult.d.ts +23 -0
- package/www/types/results/visual_results/TextSource.d.ts +15 -0
- package/www/types/results/visual_results/Validity.d.ts +13 -0
- package/www/types/results/visual_results/Value.d.ts +27 -0
- package/www/types/rfid/CAProtocol.d.ts +6 -0
- package/www/types/rfid/PAAttribute.d.ts +4 -0
- package/www/types/rfid/PACEProtocol.d.ts +5 -0
- package/www/types/rfid/PAResourcesIssuer.d.ts +7 -0
- package/www/types/rfid/PKDCertificate.d.ts +40 -0
- package/www/types/rfid/RFIDErrorCodes.d.ts +121 -0
- package/www/types/rfid/RFIDNotification.d.ts +156 -0
- package/www/types/rfid/TAChallenge.d.ts +7 -0
- package/www/types/rfid/TccParams.d.ts +25 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Attribute } from './Attribute';
|
|
2
|
+
import { RFIDValue } from './RFIDValue';
|
|
3
|
+
|
|
4
|
+
export declare class Authority {
|
|
5
|
+
readonly attributes: Attribute[];
|
|
6
|
+
readonly data?: string;
|
|
7
|
+
readonly friendlyName?: RFIDValue;
|
|
8
|
+
|
|
9
|
+
/** Allows you to deserialize object. */
|
|
10
|
+
static fromJson(jsonObject: any): Authority | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structure is used to store extended information about the characteristics
|
|
3
|
+
* of the RFID-chip located in the scope of the reader.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CardProperties {
|
|
6
|
+
/** Numeric ATQ_A value in hexadecimal format (e.g. "0x0000"). */
|
|
7
|
+
readonly aTQA: number;
|
|
8
|
+
/**
|
|
9
|
+
* ATQ_B contents in text format. Each byte is represented by its
|
|
10
|
+
* hexadecimal value. The individual bytes are sepa-rated by spaces
|
|
11
|
+
* (e.g. "50 F9 4F 41 60 00 00 00 00 77 81 81").
|
|
12
|
+
*/
|
|
13
|
+
readonly aTQB?: string;
|
|
14
|
+
/**
|
|
15
|
+
* aTR contents in text format. Each byte is represented by its hexadecimal value.
|
|
16
|
+
* The individual bytes are separated by spaces
|
|
17
|
+
* (e.g. "3B 88 81 11 FC 00 00 00 00 77 81 81 00 93").
|
|
18
|
+
*/
|
|
19
|
+
readonly aTR?: string;
|
|
20
|
+
/** Numeric Baudrate1 value in hexadecimal format (e.g. "0x0000000F"). */
|
|
21
|
+
readonly baudrate1?: string;
|
|
22
|
+
/** Numeric Baudrate2 value in hexadecimal format. */
|
|
23
|
+
readonly baudrate2?: string;
|
|
24
|
+
/** Numeric BitRateR value in hexadecimal format (e.g. "0x04"). */
|
|
25
|
+
readonly bitRateR: number;
|
|
26
|
+
/** Numeric BitRateS value in hexadecimal format (e.g. "0x04"). */
|
|
27
|
+
readonly bitRateS: number;
|
|
28
|
+
/** Text abbreviation of ChipType_A value. */
|
|
29
|
+
readonly chipTypeA: number;
|
|
30
|
+
/** Numeric MifareMemory value. */
|
|
31
|
+
readonly mifareMemory: number;
|
|
32
|
+
/** Text abbreviation of RFID_Type value. */
|
|
33
|
+
readonly rfidType: number;
|
|
34
|
+
/** Numeric SAK value in hexadecimal format (e.g. "0x00"). */
|
|
35
|
+
readonly sAK: number;
|
|
36
|
+
/** Boolean Support_4 value. */
|
|
37
|
+
readonly support4: boolean;
|
|
38
|
+
/** Boolean Support_Mifare value. */
|
|
39
|
+
readonly supportMifare: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* UID contents in text format. Each byte is represented by its hexadecimal value.
|
|
42
|
+
* The individual bytes are separated by spaces (e.g. "F9 4F 41 60").
|
|
43
|
+
*/
|
|
44
|
+
readonly uID?: string;
|
|
45
|
+
|
|
46
|
+
/** Allows you to deserialize object. */
|
|
47
|
+
static fromJson(jsonObject: any): CardProperties | null;
|
|
48
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Authority } from "./Authority";
|
|
2
|
+
import { Extension } from "./Extension";
|
|
3
|
+
import { RFIDCertificateType } from "./RFIDCertificateType";
|
|
4
|
+
import { RFIDValidity } from "./RFIDValidity";
|
|
5
|
+
import { RFIDValue } from "./RFIDValue";
|
|
6
|
+
|
|
7
|
+
export declare class CertificateChain {
|
|
8
|
+
/**
|
|
9
|
+
* Define the type of certificate used in the procedure of document
|
|
10
|
+
* security object digital signature verification.
|
|
11
|
+
*/
|
|
12
|
+
readonly type: RFIDCertificateType;
|
|
13
|
+
readonly extensions: Extension[];
|
|
14
|
+
readonly fileName?: RFIDValue;
|
|
15
|
+
readonly issuer?: Authority;
|
|
16
|
+
readonly notifications: number[];
|
|
17
|
+
readonly origin: number;
|
|
18
|
+
readonly paStatus: number;
|
|
19
|
+
readonly serialNumber?: string;
|
|
20
|
+
readonly signatureAlgorithm?: string;
|
|
21
|
+
readonly subject?: Authority;
|
|
22
|
+
readonly subjectPKAlgorithm?: string;
|
|
23
|
+
readonly validity?: RFIDValidity;
|
|
24
|
+
readonly version: number;
|
|
25
|
+
|
|
26
|
+
/** Allows you to deserialize object. */
|
|
27
|
+
static fromJson(jsonObject: any): CertificateChain | null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FileData } from "./FileData";
|
|
2
|
+
import { RFIDDataFileType } from "./RFIDDataFileType";
|
|
3
|
+
import { RFIDErrorCodes } from "../../rfid/RFIDErrorCodes";
|
|
4
|
+
import { SecurityObjectCertificates } from "./SecurityObjectCertificates";
|
|
5
|
+
|
|
6
|
+
export declare class File {
|
|
7
|
+
readonly fileData?: FileData;
|
|
8
|
+
readonly fileID?: string;
|
|
9
|
+
readonly notifications: number[];
|
|
10
|
+
readonly pAStatus: RFIDErrorCodes;
|
|
11
|
+
readonly readingStatus: RFIDErrorCodes;
|
|
12
|
+
readonly readingTime: number;
|
|
13
|
+
readonly type: RFIDDataFileType;
|
|
14
|
+
readonly typeName: string;
|
|
15
|
+
readonly docFieldsText: number[];
|
|
16
|
+
readonly docFieldsGraphics: number[];
|
|
17
|
+
readonly docFieldsOriginals: number[];
|
|
18
|
+
readonly certificates?: SecurityObjectCertificates;
|
|
19
|
+
|
|
20
|
+
/** Allows you to deserialize object. */
|
|
21
|
+
static fromJson(jsonObject: any): File | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum RFIDAccessControlProcedureType {
|
|
2
|
+
/** Type is not defined. */
|
|
3
|
+
UNDEFINED = 0,
|
|
4
|
+
/** Basic Access Control (BAC) / Protection (BAP). */
|
|
5
|
+
BAC = 1,
|
|
6
|
+
/** Password Authenticated Connection Establishment. */
|
|
7
|
+
PACE = 2,
|
|
8
|
+
/** Chip Authentication. */
|
|
9
|
+
CA = 3,
|
|
10
|
+
/** Terminal Authentication. */
|
|
11
|
+
TA = 4,
|
|
12
|
+
/** Active Authentication. */
|
|
13
|
+
AA = 5,
|
|
14
|
+
/** Restricted Identification. */
|
|
15
|
+
RI = 6,
|
|
16
|
+
/** Card info. */
|
|
17
|
+
CARD_INFO = 10
|
|
18
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration contains a set of constants that define the file type
|
|
3
|
+
* (or logical belonging of the data object) within the context of the
|
|
4
|
+
* communication session with electronic document.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum RFIDDataFileType {
|
|
7
|
+
UNSPECIFIED = 0,
|
|
8
|
+
PASSPORT_DG1 = 1,
|
|
9
|
+
PASSPORT_DG2 = 2,
|
|
10
|
+
PASSPORT_DG3 = 3,
|
|
11
|
+
PASSPORT_DG4 = 4,
|
|
12
|
+
PASSPORT_DG5 = 5,
|
|
13
|
+
PASSPORT_DG6 = 6,
|
|
14
|
+
PASSPORT_DG7 = 7,
|
|
15
|
+
PASSPORT_DG8 = 8,
|
|
16
|
+
PASSPORT_DG9 = 9,
|
|
17
|
+
PASSPORT_DG10 = 10,
|
|
18
|
+
PASSPORT_DG11 = 11,
|
|
19
|
+
PASSPORT_DG12 = 12,
|
|
20
|
+
PASSPORT_DG13 = 13,
|
|
21
|
+
PASSPORT_DG14 = 14,
|
|
22
|
+
PASSPORT_DG15 = 15,
|
|
23
|
+
PASSPORT_DG16 = 16,
|
|
24
|
+
PASSPORT_DG17 = 17,
|
|
25
|
+
PASSPORT_DG18 = 18,
|
|
26
|
+
PASSPORT_DG19 = 19,
|
|
27
|
+
PASSPORT_DG20 = 20,
|
|
28
|
+
PASSPORT_SOD = 21,
|
|
29
|
+
PASSPORT_CVCA = 22,
|
|
30
|
+
PASSPORT_COM = 23,
|
|
31
|
+
DTC_DG17 = 57,
|
|
32
|
+
DTC_DG18 = 58,
|
|
33
|
+
DTC_DG22 = 62,
|
|
34
|
+
DTC_DG23 = 63,
|
|
35
|
+
DTC_DG24 = 64,
|
|
36
|
+
ID_DG1 = 101,
|
|
37
|
+
ID_DG2 = 102,
|
|
38
|
+
ID_DG3 = 103,
|
|
39
|
+
ID_DG4 = 104,
|
|
40
|
+
ID_DG5 = 105,
|
|
41
|
+
ID_DG6 = 106,
|
|
42
|
+
ID_DG7 = 107,
|
|
43
|
+
ID_DG8 = 108,
|
|
44
|
+
ID_DG9 = 109,
|
|
45
|
+
ID_DG10 = 110,
|
|
46
|
+
ID_DG11 = 111,
|
|
47
|
+
ID_DG12 = 112,
|
|
48
|
+
ID_DG13 = 113,
|
|
49
|
+
ID_DG14 = 114,
|
|
50
|
+
ID_DG15 = 115,
|
|
51
|
+
ID_DG16 = 116,
|
|
52
|
+
ID_DG17 = 117,
|
|
53
|
+
ID_DG18 = 118,
|
|
54
|
+
ID_DG19 = 119,
|
|
55
|
+
ID_DG20 = 120,
|
|
56
|
+
ID_DG21 = 121,
|
|
57
|
+
ID_DG22 = 122,
|
|
58
|
+
DL_COM = 150,
|
|
59
|
+
DL_DG1 = 151,
|
|
60
|
+
DL_DG2 = 152,
|
|
61
|
+
DL_DG3 = 153,
|
|
62
|
+
DL_DG4 = 154,
|
|
63
|
+
DL_DG5 = 155,
|
|
64
|
+
DL_DG6 = 156,
|
|
65
|
+
DL_DG7 = 157,
|
|
66
|
+
DL_DG8 = 158,
|
|
67
|
+
DL_DG9 = 159,
|
|
68
|
+
DL_DG10 = 160,
|
|
69
|
+
DL_DG11 = 161,
|
|
70
|
+
DL_DG12 = 162,
|
|
71
|
+
DL_DG13 = 163,
|
|
72
|
+
DL_DG14 = 164,
|
|
73
|
+
DL_SOD = 165,
|
|
74
|
+
DL_CE = 166,
|
|
75
|
+
DL_CVCA = 167,
|
|
76
|
+
PACE_CARDACCESS = 200,
|
|
77
|
+
PACE_CARDSECURITY = 201,
|
|
78
|
+
PACE_CHIPSECURITY = 202,
|
|
79
|
+
MIFARE_DATA = 300,
|
|
80
|
+
MIFARE_VALIDITY = 301,
|
|
81
|
+
AUTHENTICITYV2 = 302,
|
|
82
|
+
ATR = 400,
|
|
83
|
+
ESIGN_PK = 500,
|
|
84
|
+
ESIGN_SIGNEDDATA = 501,
|
|
85
|
+
CERTIFICATE = 600,
|
|
86
|
+
MASTERLIST = 601,
|
|
87
|
+
DEFECTLIST = 602,
|
|
88
|
+
DEVIATIONLIST = 603,
|
|
89
|
+
APP_DIRECTORY = 700,
|
|
90
|
+
SESSION = 701,
|
|
91
|
+
LOGDATA = 702,
|
|
92
|
+
CHIP_PROPERTIES = 703,
|
|
93
|
+
POST_CA_RESPONSE = 710,
|
|
94
|
+
POST_CA_PUBLIC_KEY = 711,
|
|
95
|
+
POST_CA_INFO = 712,
|
|
96
|
+
POST_CA_DPARAMS = 713,
|
|
97
|
+
POST_CA_CHECK_PK = 714,
|
|
98
|
+
POST_CA_CHECK_SK = 715,
|
|
99
|
+
SAM_DATA = 800,
|
|
100
|
+
SAM_DATA_MAX = 832,
|
|
101
|
+
VDS = 900,
|
|
102
|
+
VDSNC = 901,
|
|
103
|
+
USERDEFINED = 1000
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export declare namespace RFIDDataFileType {
|
|
107
|
+
function getTranslation(value: RFIDDataFileType): Promise<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AccessControlProcedureType } from "./AccessControlProcedureType";
|
|
2
|
+
import { Application } from "./Application";
|
|
3
|
+
import { CardProperties } from "./CardProperties";
|
|
4
|
+
import { DataField } from "./DataField";
|
|
5
|
+
import { RFIDDataFileType } from "./RFIDDataFileType";
|
|
6
|
+
import { RFIDErrorCodes } from "../../rfid/RFIDErrorCodes";
|
|
7
|
+
import { SecurityObject } from "./SecurityObject";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Used to describe the results of work with the SDK within the context
|
|
11
|
+
* of the current communication session with electronic document.
|
|
12
|
+
*/
|
|
13
|
+
export declare class RFIDSessionData {
|
|
14
|
+
/**
|
|
15
|
+
* List of containers to store information about the supported procedures
|
|
16
|
+
* of authentication and secure data access within the context of the session.
|
|
17
|
+
*/
|
|
18
|
+
readonly accessControls: AccessControlProcedureType[];
|
|
19
|
+
/**
|
|
20
|
+
* List of containers to store information about the involved ap-plications
|
|
21
|
+
* of electronic document.
|
|
22
|
+
*/
|
|
23
|
+
readonly applications: Application[];
|
|
24
|
+
/**
|
|
25
|
+
* List of containers to store information about the detected
|
|
26
|
+
* document security objects.
|
|
27
|
+
*/
|
|
28
|
+
readonly securityObjects: SecurityObject[];
|
|
29
|
+
/** Set of electronic document chip characteristics. */
|
|
30
|
+
readonly cardProperties: CardProperties | null;
|
|
31
|
+
/** Total number of bytes received from the RFID-chip during the whole session. */
|
|
32
|
+
readonly totalBytesReceived: number;
|
|
33
|
+
/** Total number of bytes transmitted to the RFID-chip during the whole session. */
|
|
34
|
+
readonly totalBytesSent: number;
|
|
35
|
+
/** Status. */
|
|
36
|
+
readonly status: RFIDErrorCodes;
|
|
37
|
+
/** Sign of support of RFID-chip for extended length commands of reading. */
|
|
38
|
+
readonly extLeSupport: RFIDErrorCodes;
|
|
39
|
+
/** Total time of all operations performed during the session, ms. */
|
|
40
|
+
readonly processTime: number;
|
|
41
|
+
/** List of data fields */
|
|
42
|
+
readonly dataFields: DataField[];
|
|
43
|
+
/** List of data groups. */
|
|
44
|
+
readonly dataGroups: RFIDDataFileType[] | null;
|
|
45
|
+
|
|
46
|
+
/** Allows you to deserialize object. */
|
|
47
|
+
static fromJson(jsonObject: any): RFIDSessionData | null;
|
|
48
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class RFIDValue {
|
|
2
|
+
readonly data?: string;
|
|
3
|
+
readonly length: number;
|
|
4
|
+
readonly status: number;
|
|
5
|
+
readonly type: number;
|
|
6
|
+
readonly format?: string;
|
|
7
|
+
|
|
8
|
+
/** Allows you to deserialize object. */
|
|
9
|
+
static fromJson(jsonObject: any): RFIDValue | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SignerInfo } from "./SignerInfo";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Structure is used to describe the contents of a single document
|
|
5
|
+
* security object (SO) and the results of its check within the context
|
|
6
|
+
* of the communication session with electronic document.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SecurityObject {
|
|
9
|
+
/** Reference to the source file of the security object data. */
|
|
10
|
+
readonly fileReference: number;
|
|
11
|
+
/** Security object identifier. */
|
|
12
|
+
readonly objectType?: string;
|
|
13
|
+
/** Security object version. */
|
|
14
|
+
readonly version: number;
|
|
15
|
+
/**
|
|
16
|
+
* List of containers to store information about digital
|
|
17
|
+
* signature objects contained in the SO.
|
|
18
|
+
*/
|
|
19
|
+
readonly signerInfos: SignerInfo[];
|
|
20
|
+
/**
|
|
21
|
+
* The list of remarks occured during the scanning procedure.
|
|
22
|
+
* Each element belongs to the {@link LDSParsingErrorCodes}.
|
|
23
|
+
*/
|
|
24
|
+
readonly notifications: number[];
|
|
25
|
+
|
|
26
|
+
/** Allows you to deserialize object. */
|
|
27
|
+
static fromJson(jsonObject: any): SecurityObject | null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CertificateData } from "./CertificateData";
|
|
2
|
+
|
|
3
|
+
export declare class SecurityObjectCertificates {
|
|
4
|
+
readonly securityObject?: CertificateData;
|
|
5
|
+
|
|
6
|
+
/** Allows you to deserialize object. */
|
|
7
|
+
static fromJson(jsonObject: any): SecurityObjectCertificates | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Authority } from "./Authority";
|
|
2
|
+
import { CertificateChain } from "./CertificateChain";
|
|
3
|
+
import { Extension } from "./Extension";
|
|
4
|
+
import { RFIDValue } from "./RFIDValue";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Structure is used to store the result of the verification of a single digital
|
|
8
|
+
* signature of the number present in EF.SOD.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SignerInfo {
|
|
11
|
+
/** Data to hash. */
|
|
12
|
+
readonly dataToHash?: string;
|
|
13
|
+
/** Digital signature hash-function algorithm identifier. */
|
|
14
|
+
readonly digestAlgorithm?: string;
|
|
15
|
+
/** Result of the digital signature verification. */
|
|
16
|
+
readonly paStatus: number;
|
|
17
|
+
/** Digital signature algorithm identifier. */
|
|
18
|
+
readonly signatureAlgorithm?: string;
|
|
19
|
+
/** Version of the digital signature data structure. */
|
|
20
|
+
readonly version: number;
|
|
21
|
+
/** Identifier of the necessary certificate issuer. */
|
|
22
|
+
readonly issuer?: Authority;
|
|
23
|
+
/** Serial number of the necessary certificate. */
|
|
24
|
+
readonly serialNumber?: RFIDValue;
|
|
25
|
+
/** Binary data of the verified digital signature. */
|
|
26
|
+
readonly signature?: RFIDValue;
|
|
27
|
+
/** List of the signed attributes. */
|
|
28
|
+
readonly signedAttributes: Extension[];
|
|
29
|
+
/** Signature object identifier of the necessary certificate. */
|
|
30
|
+
readonly subjectKeyIdentifier?: RFIDValue;
|
|
31
|
+
/** Certificate chain, used for the digital signature verification. */
|
|
32
|
+
readonly certificateChain: CertificateChain[];
|
|
33
|
+
/**
|
|
34
|
+
* The list of remarks occured during the scanning procedure.
|
|
35
|
+
* Each element belongs to the {@link LDSParsingErrorCodes}.
|
|
36
|
+
*/
|
|
37
|
+
readonly notifications: number[];
|
|
38
|
+
|
|
39
|
+
/** Allows you to deserialize object. */
|
|
40
|
+
static fromJson(jsonObject: any): SignerInfo | null;
|
|
41
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CheckResult } from "./CheckResult";
|
|
2
|
+
|
|
3
|
+
/** Container for an age related scanning statuses. */
|
|
4
|
+
export declare class AgeStatus {
|
|
5
|
+
readonly threshold: number | null;
|
|
6
|
+
readonly overThreshold: CheckResult;
|
|
7
|
+
readonly over18: CheckResult;
|
|
8
|
+
readonly over21: CheckResult;
|
|
9
|
+
readonly over25: CheckResult;
|
|
10
|
+
readonly over65: CheckResult;
|
|
11
|
+
|
|
12
|
+
/** Allows you to deserialize object. */
|
|
13
|
+
static fromJson(jsonObject: any): AgeStatus | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CheckResult } from "./CheckResult";
|
|
2
|
+
|
|
3
|
+
/** Container for an optical related scanning statuses. */
|
|
4
|
+
export declare class OpticalStatus {
|
|
5
|
+
/** Summary of all optical results. */
|
|
6
|
+
readonly overallStatus: CheckResult;
|
|
7
|
+
/** MRZ verification: values validity, dates, checkdigits verification. */
|
|
8
|
+
readonly mrz: CheckResult;
|
|
9
|
+
/**
|
|
10
|
+
* Text fields valitity: values validity for specific fields, cross-comparison
|
|
11
|
+
* of values from different sources, dates & checkdigits verification.
|
|
12
|
+
*/
|
|
13
|
+
readonly text: CheckResult;
|
|
14
|
+
/** Check status if document type was recognized or not. */
|
|
15
|
+
readonly docType: CheckResult;
|
|
16
|
+
/** Authenticity verification status. */
|
|
17
|
+
readonly security: CheckResult;
|
|
18
|
+
/** Input images quality verification status. */
|
|
19
|
+
readonly imageQA: CheckResult;
|
|
20
|
+
/** Document validity period verification status. */
|
|
21
|
+
readonly expiry: CheckResult;
|
|
22
|
+
/** Visible Digital Seal verification status. */
|
|
23
|
+
readonly vds: CheckResult;
|
|
24
|
+
/** Number of scanned document pages. */
|
|
25
|
+
readonly pagesCount: number;
|
|
26
|
+
|
|
27
|
+
/** Allows you to deserialize object. */
|
|
28
|
+
static fromJson(jsonObject: any): OpticalStatus | null;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CheckResult } from "./CheckResult";
|
|
2
|
+
|
|
3
|
+
/** Container for a RFID related scanning statuses. */
|
|
4
|
+
export declare class RFIDStatus {
|
|
5
|
+
/** Summary of all RFID results. */
|
|
6
|
+
readonly overallStatus: CheckResult;
|
|
7
|
+
/** Passive authentication status. */
|
|
8
|
+
readonly pa: CheckResult;
|
|
9
|
+
/** Chip authentication status. */
|
|
10
|
+
readonly ca: CheckResult;
|
|
11
|
+
/** Acitve authentication status. */
|
|
12
|
+
readonly aa: CheckResult;
|
|
13
|
+
/** Terminal authentication status. */
|
|
14
|
+
readonly ta: CheckResult;
|
|
15
|
+
/** Basics access control status. */
|
|
16
|
+
readonly bac: CheckResult;
|
|
17
|
+
/** Password authenticated connection establishment status. */
|
|
18
|
+
readonly pace: CheckResult;
|
|
19
|
+
|
|
20
|
+
/** Allows you to deserialize object. */
|
|
21
|
+
static fromJson(jsonObject: any): RFIDStatus | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CheckResult } from "./CheckResult";
|
|
2
|
+
import { OpticalStatus } from "./OpticalStatus";
|
|
3
|
+
import { AgeStatus } from "./AgeStatus";
|
|
4
|
+
import { RFIDStatus } from "./RFIDStatus";
|
|
5
|
+
|
|
6
|
+
/** Provision of document verification status. */
|
|
7
|
+
export declare class ResultsStatus {
|
|
8
|
+
/** Summary of all results. */
|
|
9
|
+
readonly overallStatus: CheckResult;
|
|
10
|
+
/** Summary of all optical results. The same value as {@link OpticalStatus#overallStatus} */
|
|
11
|
+
readonly optical: CheckResult;
|
|
12
|
+
/** Container for an optical related scanning statuses. */
|
|
13
|
+
readonly detailsOptical: OpticalStatus;
|
|
14
|
+
/** Summary of all RFID results. Same as {@link RFIDStatus#overallStatus}. */
|
|
15
|
+
readonly rfid: CheckResult;
|
|
16
|
+
/** Container for a RFID related scanning statuses. */
|
|
17
|
+
readonly detailsRFID: RFIDStatus;
|
|
18
|
+
/** Comparison status for portrait in the document aganist live or external image. */
|
|
19
|
+
readonly portrait: CheckResult;
|
|
20
|
+
/** Verification status for document data against database. */
|
|
21
|
+
readonly stopList: CheckResult;
|
|
22
|
+
/** Summary of all mDL results. */
|
|
23
|
+
readonly mDL: CheckResult;
|
|
24
|
+
/** Summary of all age results. */
|
|
25
|
+
readonly age: CheckResult;
|
|
26
|
+
readonly captureProcessIntegrity: CheckResult | null;
|
|
27
|
+
/** Container for an age related scanning statuses. */
|
|
28
|
+
readonly ageStatus: AgeStatus;
|
|
29
|
+
|
|
30
|
+
/** Allows you to deserialize object. */
|
|
31
|
+
static fromJson(jsonObject: any): ResultsStatus | null;
|
|
32
|
+
}
|