@regulaforensics/react-native-document-reader-api 6.8.1 → 6.9.0

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.
Files changed (75) hide show
  1. package/RNDocumentReaderApi.podspec +1 -1
  2. package/android/build.gradle +18 -1
  3. package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +6 -6
  4. package/android/src/main/java/com/regula/documentreader/Helpers.java +117 -3
  5. package/android/src/main/java/com/regula/documentreader/JSONConstructor.java +182 -261
  6. package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.java +142 -125
  7. package/android/src/main/java/com/regula/documentreader/RegulaConfig.java +114 -26
  8. package/example/.bundle/config +2 -0
  9. package/example/.eslintrc.js +1 -1
  10. package/example/.prettierrc.js +2 -2
  11. package/example/.watchmanconfig +1 -1
  12. package/example/App.tsx +358 -0
  13. package/example/Gemfile +6 -0
  14. package/example/Gemfile.lock +98 -0
  15. package/example/__tests__/{App-test.js → App.test.tsx} +3 -0
  16. package/example/android/app/build.gradle +77 -59
  17. package/example/android/app/src/debug/AndroidManifest.xml +1 -1
  18. package/example/android/app/src/debug/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +7 -4
  19. package/example/android/app/src/main/AndroidManifest.xml +4 -9
  20. package/example/android/app/src/main/java/com/regula/dr/fullrfid/MainActivity.java +17 -0
  21. package/example/android/app/src/main/java/com/regula/dr/fullrfid/MainApplication.java +17 -36
  22. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -0
  23. package/example/android/app/src/main/res/values/styles.xml +2 -2
  24. package/example/android/app/src/release/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +20 -0
  25. package/example/android/build.gradle +7 -18
  26. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  27. package/example/android/gradle/wrapper/gradle-wrapper.properties +2 -1
  28. package/example/android/gradle.properties +42 -2
  29. package/example/android/gradlew +164 -105
  30. package/example/android/gradlew.bat +92 -89
  31. package/example/android/settings.gradle +2 -1
  32. package/example/app.json +1 -1
  33. package/example/ios/.xcode.env +11 -0
  34. package/example/ios/DocumentReader/AppDelegate.h +2 -4
  35. package/example/ios/DocumentReader/AppDelegate.mm +26 -0
  36. package/example/ios/DocumentReader/DocumentReader.entitlements +0 -1
  37. package/example/ios/DocumentReader/Images.xcassets/AppIcon.appiconset/Contents.json +30 -15
  38. package/example/ios/DocumentReader/Info.plist +8 -4
  39. package/example/ios/DocumentReader/main.m +2 -1
  40. package/example/ios/DocumentReader.xcodeproj/project.pbxproj +134 -96
  41. package/example/ios/DocumentReaderTests/DocumentReaderTests.m +14 -13
  42. package/example/ios/Podfile +45 -15
  43. package/example/jest.config.js +3 -0
  44. package/example/metro.config.js +18 -15
  45. package/example/package-lock.json +13091 -0
  46. package/example/package.json +32 -22
  47. package/example/tsconfig.json +3 -0
  48. package/index.d.ts +426 -3015
  49. package/index.js +253 -2954
  50. package/ios/RGLWJSONConstructor.h +8 -6
  51. package/ios/RGLWJSONConstructor.m +109 -92
  52. package/ios/RGLWRegulaConfig.h +2 -1
  53. package/ios/RGLWRegulaConfig.m +139 -41
  54. package/ios/RNRegulaDocumentReader.m +55 -42
  55. package/package.json +1 -1
  56. package/example/.buckconfig +0 -6
  57. package/example/.editorconfig +0 -3
  58. package/example/.flowconfig +0 -65
  59. package/example/.gitattributes +0 -3
  60. package/example/App.js +0 -399
  61. package/example/android/app/BUCK +0 -55
  62. package/example/android/app/_BUCK +0 -55
  63. package/example/android/app/build_defs.bzl +0 -19
  64. package/example/android/app/src/main/assets/index.android.bundle +0 -636
  65. package/example/android/app/src/main/res/drawable-mdpi/images_id.png +0 -0
  66. package/example/android/app/src/main/res/drawable-mdpi/images_portrait.png +0 -0
  67. package/example/android/app/src/main/res/drawable-mdpi/node_modules_reactnativecheckbox_img_ic_check_box.png +0 -0
  68. package/example/android/app/src/main/res/drawable-mdpi/node_modules_reactnativecheckbox_img_ic_check_box_outline_blank.png +0 -0
  69. package/example/android/app/src/main/res/drawable-mdpi/node_modules_reactnativecheckbox_img_ic_indeterminate_check_box.png +0 -0
  70. package/example/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativecheckbox_img_ic_check_box.png +0 -0
  71. package/example/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativecheckbox_img_ic_check_box_outline_blank.png +0 -0
  72. package/example/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativecheckbox_img_ic_check_box.png +0 -0
  73. package/example/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativecheckbox_img_ic_check_box_outline_blank.png +0 -0
  74. package/example/ios/DocumentReader/AppDelegate.m +0 -62
  75. package/example/ios/DocumentReader/Base.lproj/LaunchScreen.xib +0 -42
package/index.d.ts CHANGED
@@ -5,92 +5,39 @@ export class DocumentReaderScenario {
5
5
  name?: string
6
6
  caption?: string
7
7
  description?: string
8
-
9
- static fromJson(jsonObject?: any): DocumentReaderScenario | undefined {
10
- if (jsonObject == null || jsonObject == undefined) return undefined
11
- const result = new DocumentReaderScenario
12
-
13
- result.name = jsonObject["name"]
14
- result.caption = jsonObject["caption"]
15
- result.description = jsonObject["description"]
16
-
17
- return result
18
- }
19
- }
20
-
21
- export class CoreDetailedScenario {
22
- uvTorch?: boolean
23
- frameOrientation?: number
24
- faceExt?: boolean
25
- multiPageOff?: number
26
- seriesProcessMode?: boolean
8
+ multiPageOff?: boolean
27
9
  frameKWHLandscape?: number
28
10
  frameKWHPortrait?: number
29
11
  frameKWHDoublePageSpreadPortrait?: number
30
12
  frameKWHDoublePageSpreadLandscape?: number
31
- name?: string
32
- caption?: string
33
- description?: string
13
+ frameOrientation?: number
14
+ uvTorch?: boolean
15
+ faceExt?: boolean
16
+ seriesProcessMode?: boolean
34
17
  manualCrop?: boolean
35
18
 
36
- static fromJson(jsonObject?: any): CoreDetailedScenario | undefined {
19
+ static fromJson(jsonObject?: any): DocumentReaderScenario | undefined {
37
20
  if (jsonObject == null || jsonObject == undefined) return undefined
38
- const result = new CoreDetailedScenario
21
+ const result = new DocumentReaderScenario
39
22
 
40
- result.uvTorch = jsonObject["uvTorch"]
41
- result.frameOrientation = jsonObject["frameOrientation"]
42
- result.faceExt = jsonObject["faceExt"]
23
+ result.name = jsonObject["name"]
24
+ result.caption = jsonObject["caption"]
25
+ result.description = jsonObject["description"]
43
26
  result.multiPageOff = jsonObject["multiPageOff"]
44
- result.seriesProcessMode = jsonObject["seriesProcessMode"]
45
27
  result.frameKWHLandscape = jsonObject["frameKWHLandscape"]
46
28
  result.frameKWHPortrait = jsonObject["frameKWHPortrait"]
47
29
  result.frameKWHDoublePageSpreadPortrait = jsonObject["frameKWHDoublePageSpreadPortrait"]
48
30
  result.frameKWHDoublePageSpreadLandscape = jsonObject["frameKWHDoublePageSpreadLandscape"]
49
- result.name = jsonObject["name"]
50
- result.caption = jsonObject["caption"]
51
- result.description = jsonObject["description"]
31
+ result.frameOrientation = jsonObject["frameOrientation"]
32
+ result.uvTorch = jsonObject["uvTorch"]
33
+ result.faceExt = jsonObject["faceExt"]
34
+ result.seriesProcessMode = jsonObject["seriesProcessMode"]
52
35
  result.manualCrop = jsonObject["manualCrop"]
53
36
 
54
37
  return result
55
38
  }
56
39
  }
57
40
 
58
- export class FaceMetaData {
59
- ID?: number
60
- rollAngle?: number
61
- bounds?: Bounds
62
-
63
- static fromJson(jsonObject?: any): FaceMetaData | undefined {
64
- if (jsonObject == null || jsonObject == undefined) return undefined
65
- const result = new FaceMetaData
66
-
67
- result.ID = jsonObject["ID"]
68
- result.rollAngle = jsonObject["rollAngle"]
69
- result.bounds = Bounds.fromJson(jsonObject["bounds"])
70
-
71
- return result
72
- }
73
- }
74
-
75
- export class Bounds {
76
- x?: number
77
- y?: number
78
- width?: number
79
- height?: number
80
-
81
- static fromJson(jsonObject?: any): Bounds | undefined {
82
- if (jsonObject == null || jsonObject == undefined) return undefined
83
- const result = new Bounds
84
-
85
- result.x = jsonObject["x"]
86
- result.y = jsonObject["y"]
87
- result.width = jsonObject["width"]
88
- result.height = jsonObject["height"]
89
-
90
- return result
91
- }
92
- }
93
-
94
41
  export class Rect {
95
42
  bottom?: number
96
43
  top?: number
@@ -132,7 +79,7 @@ export class DocReaderFieldRect {
132
79
  export class DocumentReaderGraphicField {
133
80
  sourceType?: number
134
81
  fieldType?: number
135
- lightType?: number
82
+ light?: number
136
83
  pageIndex?: number
137
84
  originalPageIndex?: number
138
85
  fieldName?: string
@@ -146,7 +93,7 @@ export class DocumentReaderGraphicField {
146
93
 
147
94
  result.sourceType = jsonObject["sourceType"]
148
95
  result.fieldType = jsonObject["fieldType"]
149
- result.lightType = jsonObject["lightType"]
96
+ result.light = jsonObject["light"]
150
97
  result.pageIndex = jsonObject["pageIndex"]
151
98
  result.originalPageIndex = jsonObject["originalPageIndex"]
152
99
  result.fieldName = jsonObject["fieldName"]
@@ -454,8 +401,6 @@ export class DocumentReaderDocumentType {
454
401
  }
455
402
 
456
403
  export class DocumentReaderNotification {
457
- code?: number
458
- value?: number
459
404
  notificationCode?: number
460
405
  dataFileType?: number
461
406
  progress?: number
@@ -464,8 +409,6 @@ export class DocumentReaderNotification {
464
409
  if (jsonObject == null || jsonObject == undefined) return undefined
465
410
  const result = new DocumentReaderNotification
466
411
 
467
- result.code = jsonObject["code"]
468
- result.value = jsonObject["value"]
469
412
  result.notificationCode = jsonObject["notificationCode"]
470
413
  result.dataFileType = jsonObject["dataFileType"]
471
414
  result.progress = jsonObject["progress"]
@@ -905,6 +848,8 @@ export class RFIDSessionData {
905
848
  accessControls?: AccessControlProcedureType[]
906
849
  applications?: Application[]
907
850
  securityObjects?: SecurityObject[]
851
+ dataGroups?: number[]
852
+ dataFields?: DataField[]
908
853
 
909
854
  static fromJson(jsonObject?: any): RFIDSessionData | undefined {
910
855
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -940,6 +885,35 @@ export class RFIDSessionData {
940
885
  result.securityObjects.push(item)
941
886
  }
942
887
  }
888
+ result.dataGroups = []
889
+ if (jsonObject["dataGroups"] != null) {
890
+ for (const i in jsonObject["dataGroups"]) {
891
+ result.dataGroups.push(jsonObject["dataGroups"][i])
892
+ }
893
+ }
894
+ result.dataFields = []
895
+ if (jsonObject["dataFields"] != null) {
896
+ for (const i in jsonObject["dataFields"]) {
897
+ const item = DataField.fromJson(jsonObject["dataFields"][i])
898
+ if (item != undefined)
899
+ result.dataFields.push(item)
900
+ }
901
+ }
902
+
903
+ return result
904
+ }
905
+ }
906
+
907
+ export class DataField {
908
+ data?: string
909
+ fieldType?: number
910
+
911
+ static fromJson(jsonObject?: any): DataField | undefined {
912
+ if (jsonObject == null || jsonObject == undefined) return undefined
913
+ const result = new DataField
914
+
915
+ result.data = jsonObject["data"]
916
+ result.fieldType = jsonObject["fieldType"]
943
917
 
944
918
  return result
945
919
  }
@@ -1082,7 +1056,7 @@ export class DocumentReaderAuthenticityElement {
1082
1056
  export class DocumentReaderCompletion {
1083
1057
  action?: number
1084
1058
  results?: DocumentReaderResults
1085
- error?: DocumentReaderException
1059
+ error?: RegulaException
1086
1060
 
1087
1061
  static fromJson(jsonObject?: any): DocumentReaderCompletion | undefined {
1088
1062
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -1090,7 +1064,7 @@ export class DocumentReaderCompletion {
1090
1064
 
1091
1065
  result.action = jsonObject["action"]
1092
1066
  result.results = DocumentReaderResults.fromJson(jsonObject["results"])
1093
- result.error = DocumentReaderException.fromJson(jsonObject["error"])
1067
+ result.error = RegulaException.fromJson(jsonObject["error"])
1094
1068
 
1095
1069
  return result
1096
1070
  }
@@ -1111,13 +1085,13 @@ export class RfidNotificationCompletion {
1111
1085
  }
1112
1086
  }
1113
1087
 
1114
- export class DocumentReaderException {
1088
+ export class RegulaException {
1115
1089
  errorCode?: number
1116
1090
  message?: string
1117
1091
 
1118
- static fromJson(jsonObject?: any): DocumentReaderException | undefined {
1092
+ static fromJson(jsonObject?: any): RegulaException | undefined {
1119
1093
  if (jsonObject == null || jsonObject == undefined) return undefined
1120
- const result = new DocumentReaderException
1094
+ const result = new RegulaException
1121
1095
 
1122
1096
  result.errorCode = jsonObject["errorCode"]
1123
1097
  result.message = jsonObject["message"]
@@ -1410,6 +1384,7 @@ export class DocReaderDocumentsDatabase {
1410
1384
  databaseDescription?: string
1411
1385
  countriesNumber?: number
1412
1386
  documentsNumber?: number
1387
+ size?: number
1413
1388
 
1414
1389
  static fromJson(jsonObject?: any): DocReaderDocumentsDatabase | undefined {
1415
1390
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -1421,6 +1396,7 @@ export class DocReaderDocumentsDatabase {
1421
1396
  result.databaseDescription = jsonObject["databaseDescription"]
1422
1397
  result.countriesNumber = jsonObject["countriesNumber"]
1423
1398
  result.documentsNumber = jsonObject["documentsNumber"]
1399
+ result.size = jsonObject["size"]
1424
1400
 
1425
1401
  return result
1426
1402
  }
@@ -1511,6 +1487,203 @@ export class DocumentReaderValidity {
1511
1487
  }
1512
1488
  }
1513
1489
 
1490
+ export class FaceApiParams {
1491
+ url?: string
1492
+ mode?: string
1493
+ searchParams?: Search
1494
+ threshold?: number
1495
+ serviceTimeout?: number
1496
+ proxy?: string
1497
+ proxyPassword?: string
1498
+ proxyType?: number
1499
+
1500
+ static fromJson(jsonObject?: any): FaceApiParams | undefined {
1501
+ if (jsonObject == null || jsonObject == undefined) return undefined
1502
+ const result = new FaceApiParams
1503
+
1504
+ result.url = jsonObject["url"]
1505
+ result.mode = jsonObject["mode"]
1506
+ result.searchParams = Search.fromJson(jsonObject["searchParams"])
1507
+ result.threshold = jsonObject["threshold"]
1508
+ result.serviceTimeout = jsonObject["serviceTimeout"]
1509
+ result.proxy = jsonObject["proxy"]
1510
+ result.proxyPassword = jsonObject["proxyPassword"]
1511
+ result.proxyType = jsonObject["proxyType"]
1512
+
1513
+ return result
1514
+ }
1515
+ }
1516
+
1517
+ export class Search {
1518
+ limit?: number
1519
+ threshold?: number
1520
+ groupIds?: number[]
1521
+
1522
+ static fromJson(jsonObject?: any): Search | undefined {
1523
+ if (jsonObject == null || jsonObject == undefined) return undefined
1524
+ const result = new Search
1525
+
1526
+ result.limit = jsonObject["limit"]
1527
+ result.threshold = jsonObject["threshold"]
1528
+ result.groupIds = []
1529
+ if (jsonObject["groupIds"] != null) {
1530
+ for (const i in jsonObject["groupIds"]) {
1531
+ result.groupIds.push(jsonObject["groupIds"][i])
1532
+ }
1533
+ }
1534
+
1535
+ return result
1536
+ }
1537
+ }
1538
+
1539
+ export class ImageQA {
1540
+ dpiThreshold?: number
1541
+ angleThreshold?: number
1542
+ focusCheck?: boolean
1543
+ glaresCheck?: boolean
1544
+ colornessCheck?: boolean
1545
+ moireCheck?: boolean
1546
+ expectedPass?: number[]
1547
+ glaresCheckParams?: GlaresCheckParams
1548
+ documentPositionIndent?: number
1549
+
1550
+ static fromJson(jsonObject?: any): ImageQA | undefined {
1551
+ if (jsonObject == null || jsonObject == undefined) return undefined
1552
+ const result = new ImageQA
1553
+
1554
+ result.dpiThreshold = jsonObject["dpiThreshold"]
1555
+ result.angleThreshold = jsonObject["angleThreshold"]
1556
+ result.focusCheck = jsonObject["focusCheck"]
1557
+ result.glaresCheck = jsonObject["glaresCheck"]
1558
+ result.colornessCheck = jsonObject["colornessCheck"]
1559
+ result.moireCheck = jsonObject["moireCheck"]
1560
+ result.expectedPass = []
1561
+ if (jsonObject["expectedPass"] != null) {
1562
+ for (const i in jsonObject["expectedPass"]) {
1563
+ result.expectedPass.push(jsonObject["expectedPass"][i])
1564
+ }
1565
+ }
1566
+ result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
1567
+ result.documentPositionIndent = jsonObject["documentPositionIndent"]
1568
+
1569
+ return result
1570
+ }
1571
+ }
1572
+
1573
+ export class GlaresCheckParams {
1574
+ imgMarginPart?: number
1575
+ maxGlaringPart?: number
1576
+
1577
+ static fromJson(jsonObject?: any): GlaresCheckParams | undefined {
1578
+ if (jsonObject == null || jsonObject == undefined) return undefined
1579
+ const result = new GlaresCheckParams
1580
+
1581
+ result.imgMarginPart = jsonObject["imgMarginPart"]
1582
+ result.maxGlaringPart = jsonObject["maxGlaringPart"]
1583
+
1584
+ return result
1585
+ }
1586
+ }
1587
+
1588
+ export class RFIDParams {
1589
+ paIgnoreNotificationCodes?: number[]
1590
+
1591
+ static fromJson(jsonObject?: any): RFIDParams | undefined {
1592
+ if (jsonObject == null || jsonObject == undefined) return undefined
1593
+ const result = new RFIDParams
1594
+
1595
+ result.paIgnoreNotificationCodes = []
1596
+ if (jsonObject["paIgnoreNotificationCodes"] != null) {
1597
+ for (const i in jsonObject["paIgnoreNotificationCodes"]) {
1598
+ result.paIgnoreNotificationCodes.push(jsonObject["paIgnoreNotificationCodes"][i])
1599
+ }
1600
+ }
1601
+
1602
+ return result
1603
+ }
1604
+ }
1605
+
1606
+ export class OnlineProcessingConfig {
1607
+ mode?: number
1608
+ url?: string
1609
+ processParam?: any
1610
+ imageFormat?: number
1611
+ imageCompressionQuality?: number
1612
+
1613
+ static fromJson(jsonObject?: any): OnlineProcessingConfig | undefined {
1614
+ if (jsonObject == null || jsonObject == undefined) return undefined
1615
+ const result = new OnlineProcessingConfig
1616
+
1617
+ result.mode = jsonObject["mode"]
1618
+ result.url = jsonObject["url"]
1619
+ result.processParam = jsonObject["processParam"]
1620
+ result.imageFormat = jsonObject["imageFormat"]
1621
+ result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
1622
+
1623
+ return result
1624
+ }
1625
+ }
1626
+
1627
+ export class ScannerConfig {
1628
+ scenario?: string
1629
+ livePortrait?: string
1630
+ extPortrait?: string
1631
+ onlineProcessingConfig?: OnlineProcessingConfig
1632
+ cameraId?: number
1633
+
1634
+ static fromJson(jsonObject?: any): ScannerConfig | undefined {
1635
+ if (jsonObject == null || jsonObject == undefined) return undefined
1636
+ const result = new ScannerConfig
1637
+
1638
+ result.scenario = jsonObject["scenario"]
1639
+ result.livePortrait = jsonObject["livePortrait"]
1640
+ result.extPortrait = jsonObject["extPortrait"]
1641
+ result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
1642
+ result.cameraId = jsonObject["cameraId"]
1643
+
1644
+ return result
1645
+ }
1646
+ }
1647
+
1648
+ export class RecognizeConfig {
1649
+ scenario?: string
1650
+ livePortrait?: string
1651
+ extPortrait?: string
1652
+ onlineProcessingConfig?: OnlineProcessingConfig
1653
+ image?: string
1654
+ oneShotIdentification?: boolean
1655
+ images?: string[]
1656
+ imageInputData?: ImageInputData[]
1657
+
1658
+ static fromJson(jsonObject?: any): RecognizeConfig | undefined {
1659
+ if (jsonObject == null || jsonObject == undefined) return undefined
1660
+ const result = new RecognizeConfig
1661
+
1662
+ result.scenario = jsonObject["scenario"]
1663
+ result.livePortrait = jsonObject["livePortrait"]
1664
+ result.extPortrait = jsonObject["extPortrait"]
1665
+ result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
1666
+ result.image = jsonObject["image"]
1667
+ result.oneShotIdentification = jsonObject["oneShotIdentification"]
1668
+ result.images = []
1669
+ if (jsonObject["images"] != null) {
1670
+ for (const i in jsonObject["images"]) {
1671
+ result.images.push(jsonObject["images"][i])
1672
+ }
1673
+ }
1674
+ result.imageInputData = []
1675
+ if (jsonObject["imageInputData"] != null) {
1676
+ for (const i in jsonObject["imageInputData"]) {
1677
+ const item = ImageInputData.fromJson(jsonObject["imageInputData"][i])
1678
+ if (item != undefined)
1679
+ result.imageInputData.push(item)
1680
+ }
1681
+ }
1682
+
1683
+ return result
1684
+ }
1685
+ }
1686
+
1514
1687
  export class DocumentReaderResults {
1515
1688
  videoCaptureSessionId?: string
1516
1689
  chipPage?: number
@@ -1537,6 +1710,73 @@ export class DocumentReaderResults {
1537
1710
  status?: DocumentReaderResultsStatus
1538
1711
  vdsncData?: VDSNCData
1539
1712
 
1713
+ textFieldValueByType(fieldType, successCallback, errorCallback) {
1714
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByType", [this.rawResult, fieldType], successCallback, errorCallback)
1715
+ }
1716
+
1717
+ textFieldValueByTypeLcid(fieldType, lcid, successCallback, errorCallback) {
1718
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeLcid", [this.rawResult, fieldType, lcid], successCallback, errorCallback)
1719
+ }
1720
+
1721
+ textFieldValueByTypeSource(fieldType, source, successCallback, errorCallback) {
1722
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
1723
+ }
1724
+
1725
+ textFieldValueByTypeLcidSource(fieldType, lcid, source, successCallback, errorCallback) {
1726
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeLcidSource", [this.rawResult, fieldType, lcid, source], successCallback, errorCallback)
1727
+ }
1728
+
1729
+ textFieldValueByTypeSourceOriginal(fieldType, source, original, successCallback, errorCallback) {
1730
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeSourceOriginal", [this.rawResult, fieldType, source, original], successCallback, errorCallback)
1731
+ }
1732
+
1733
+ textFieldValueByTypeLcidSourceOriginal(fieldType, lcid, source, original, successCallback, errorCallback) {
1734
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeLcidSourceOriginal", [this.rawResult, fieldType, lcid, source, original], successCallback, errorCallback)
1735
+ }
1736
+
1737
+ textFieldByType(fieldType, successCallback, errorCallback) {
1738
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldByType", [this.rawResult, fieldType], successCallback, errorCallback)
1739
+ }
1740
+
1741
+ textFieldByTypeLcid(fieldType, lcid, successCallback, errorCallback) {
1742
+ RNRegulaDocumentReader.exec("DocumentReader", "textFieldByTypeLcid", [this.rawResult, fieldType, lcid], successCallback, errorCallback)
1743
+ }
1744
+
1745
+ graphicFieldByTypeSource(fieldType, source, successCallback, errorCallback) {
1746
+ RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
1747
+ }
1748
+
1749
+ graphicFieldByTypeSourcePageIndex(fieldType, source, pageIndex, successCallback, errorCallback) {
1750
+ RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSourcePageIndex", [this.rawResult, fieldType, source, pageIndex], successCallback, errorCallback)
1751
+ }
1752
+
1753
+ graphicFieldByTypeSourcePageIndexLight(fieldType, source, pageIndex, light, successCallback, errorCallback) {
1754
+ RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSourcePageIndex", [this.rawResult, fieldType, source, pageIndex, light], successCallback, errorCallback)
1755
+ }
1756
+
1757
+ graphicFieldImageByType(fieldType, successCallback, errorCallback) {
1758
+ RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByType", [this.rawResult, fieldType], successCallback, errorCallback)
1759
+ }
1760
+
1761
+ graphicFieldImageByTypeSource(fieldType, source, successCallback, errorCallback) {
1762
+ RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
1763
+ }
1764
+
1765
+ graphicFieldImageByTypeSourcePageIndex(fieldType, source, pageIndex, successCallback, errorCallback) {
1766
+ RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSourcePageIndex", [this.rawResult, fieldType, source, pageIndex], successCallback, errorCallback)
1767
+ }
1768
+
1769
+ graphicFieldImageByTypeSourcePageIndexLight(fieldType, source, pageIndex, light, successCallback, errorCallback) {
1770
+ RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSourcePageIndexLight", [this.rawResult, fieldType, source, pageIndex, light], successCallback, errorCallback)
1771
+ }
1772
+
1773
+ containers(resultType, successCallback, errorCallback) {
1774
+ RNRegulaDocumentReader.exec("DocumentReader", "containers", [this.rawResult, resultType], successCallback, errorCallback)
1775
+ }
1776
+
1777
+ encryptedContainers(successCallback, errorCallback) {
1778
+ RNRegulaDocumentReader.exec("DocumentReader", "encryptedContainers", [this.rawResult], successCallback, errorCallback)
1779
+ }
1540
1780
 
1541
1781
  static fromJson(jsonObject?: any): DocumentReaderResults | undefined {
1542
1782
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -1604,196 +1844,6 @@ export class DocumentReaderResults {
1604
1844
 
1605
1845
  return result
1606
1846
  }
1607
-
1608
- /**
1609
- * @deprecated Use textFieldValueBy...()
1610
- */
1611
- getTextFieldValueByType({ fieldType, lcid = 0, source = -1, original = false }: { fieldType: number, lcid?: number, source?: number, original?: boolean }): string | undefined {
1612
- if (this.textResult == undefined) return undefined
1613
- const field = this.findByTypeAndLcid(fieldType, lcid)
1614
- if (field == undefined) return undefined
1615
- const value = this.findBySource(field, source)
1616
- if (value == undefined) return undefined
1617
- return original ? value.originalValue : value.value
1618
- }
1619
-
1620
- /**
1621
- * @deprecated
1622
- */
1623
- getTextFieldStatusByType(fieldType: number, lcid?: number): number {
1624
- if (this.textResult == undefined) return 0
1625
- const field = this.findByTypeAndLcid(fieldType, lcid)
1626
- if(field != undefined && field.status != null && field.status != undefined)
1627
- return field.status
1628
- return 0
1629
- }
1630
-
1631
- /**
1632
- * @deprecated Use graphicFieldImageBy...()
1633
- */
1634
- getGraphicFieldImageByType({ fieldType, source = -1, light = -1, pageIndex = -1 }: { fieldType: number, source?: number, light?: number, pageIndex?: number }): string | undefined {
1635
- if (this.graphicResult == undefined || this.graphicResult.fields == undefined) return undefined
1636
- const foundFields: DocumentReaderGraphicField[] = []
1637
-
1638
- for (const field of this.graphicResult.fields)
1639
- if (field.fieldType === fieldType)
1640
- foundFields.push(field)
1641
- if (source !== -1)
1642
- for (let i = 0; i < foundFields.length; i++)
1643
- if (foundFields[i].sourceType !== source)
1644
- foundFields.splice(i, 1)
1645
- if (light !== -1)
1646
- for (let i = 0; i < foundFields.length; i++)
1647
- if (foundFields[i].lightType !== light)
1648
- foundFields.splice(i, 1)
1649
- if (pageIndex !== -1)
1650
- for (let i = 0; i < foundFields.length; i++)
1651
- if (foundFields[i].pageIndex !== pageIndex)
1652
- foundFields.splice(i, 1)
1653
-
1654
- return foundFields.length > 0 ? foundFields[0].value : undefined
1655
- }
1656
-
1657
- /**
1658
- * @deprecated
1659
- */
1660
- getQualityResult({ imageQualityCheckType, securityFeature = -1, pageIndex = 0 }: { imageQualityCheckType: number, securityFeature?: number, pageIndex?: number }): number {
1661
- let resultSum = 2
1662
- if (this.imageQuality == undefined)
1663
- return resultSum
1664
-
1665
- let imageQualityGroup
1666
-
1667
- for (const iq of this.imageQuality)
1668
- if (iq != null && iq != undefined && iq.pageIndex == pageIndex)
1669
- imageQualityGroup = iq
1670
- if (imageQualityGroup == null || imageQualityGroup == undefined)
1671
- return resultSum
1672
-
1673
- for (const field of imageQualityGroup.imageQualityList)
1674
- if (field.type === imageQualityCheckType)
1675
- if (securityFeature === -1) {
1676
- if (field.result === 0) {
1677
- resultSum = 0
1678
- break
1679
- }
1680
- if (field.result === 1)
1681
- resultSum = field.result
1682
- } else if (field.featureType === securityFeature) {
1683
- resultSum = field.result
1684
- break
1685
- }
1686
-
1687
- return resultSum
1688
- }
1689
-
1690
- /**
1691
- * @deprecated
1692
- */
1693
- findByTypeAndLcid(type: number, lcid?: number): DocumentReaderTextField | undefined {
1694
- if (this.textResult == undefined || this.textResult.fields == undefined) return undefined
1695
- let field
1696
- const foundFields: DocumentReaderTextField[] = []
1697
-
1698
- for (field of this.textResult.fields)
1699
- if (field.fieldType === type)
1700
- foundFields.push(field)
1701
- if (foundFields.length <= 0)
1702
- return undefined
1703
-
1704
- let foundField = undefined
1705
-
1706
- for (field of foundFields)
1707
- if (lcid === 0) {
1708
- foundField = field
1709
- if (field.lcid === lcid)
1710
- break
1711
- } else if (field.lcid === lcid)
1712
- return field
1713
-
1714
- return foundField
1715
- }
1716
-
1717
- /**
1718
- * @deprecated
1719
- */
1720
- findBySource(field: DocumentReaderTextField, sourceType: number): DocumentReaderValue | undefined {
1721
- let value
1722
- if (sourceType === -1) {
1723
- const mrzVal = this.findBySource(field, 3)
1724
- if (mrzVal != null && mrzVal != undefined)
1725
- return mrzVal
1726
- value = this.findBySource(field, 18)
1727
- if (value != null && value != undefined)
1728
- return value
1729
- const visualVal = this.findBySource(field, 17)
1730
- return visualVal
1731
- }
1732
- if(field.values == undefined) return undefined
1733
- for (const item of field.values)
1734
- if (item.sourceType === sourceType)
1735
- return item
1736
-
1737
- return undefined
1738
- }
1739
-
1740
- /**
1741
- * @deprecated Use containers()
1742
- */
1743
- getContainers(resultTypes: number[]): string | undefined {
1744
- try {
1745
- if(this.rawResult == undefined) return undefined
1746
- const json = JSON.parse(this.rawResult)
1747
- const containerList = json.List
1748
- const resultArray: any[] = []
1749
- for (const container of containerList){
1750
- if (container == null || container.length == 0)
1751
- continue
1752
- for (const resultType of resultTypes)
1753
- if(resultType == container.result_type){
1754
- resultArray.push(container)
1755
- break
1756
- }
1757
- }
1758
- if (resultArray.length == 0) return undefined
1759
- const newContainerList = {}
1760
- newContainerList["List"] = resultArray
1761
- const newJson = {}
1762
- newJson["ContainerList"] = newContainerList
1763
- newJson["TransactionInfo"] = json.TransactionInfo
1764
- } catch (error) {
1765
- return undefined
1766
- }
1767
- }
1768
-
1769
- /**
1770
- * @deprecated Use encryptedContainers()
1771
- */
1772
- getEncryptedContainers(): string | undefined {
1773
- return this.getContainers([
1774
- eRPRM_ResultType.RPRM_RESULT_TYPE_INTERNAL_RFID_SESSION,
1775
- eRPRM_ResultType.RPRM_RESULT_TYPE_INTERNAL_ENCRYPTED_RCL,
1776
- eRPRM_ResultType.RPRM_RESULT_TYPE_INTERNAL_LICENSE
1777
- ])
1778
- }
1779
-
1780
- textFieldValueByType(fieldType: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1781
- textFieldValueByTypeLcid(fieldType: number, lcid: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1782
- textFieldValueByTypeSource(fieldType: number, source: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1783
- textFieldValueByTypeLcidSource(fieldType: number, lcid: number, source: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1784
- textFieldValueByTypeSourceOriginal(fieldType: number, source: number, original: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1785
- textFieldValueByTypeLcidSourceOriginal(fieldType: number, lcid: number, source: number, original: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1786
- textFieldByType(fieldType: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1787
- textFieldByTypeLcid(fieldType: number, lcid: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1788
- graphicFieldByTypeSource(fieldType: number, source: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1789
- graphicFieldByTypeSourcePageIndex(fieldType: number, source: number, pageIndex: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1790
- graphicFieldByTypeSourcePageIndexLight(fieldType: number, source: number, pageIndex: number, light: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1791
- graphicFieldImageByType(fieldType: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1792
- graphicFieldImageByTypeSource(fieldType: number, source: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1793
- graphicFieldImageByTypeSourcePageIndex(fieldType: number, source: number, pageIndex: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1794
- graphicFieldImageByTypeSourcePageIndexLight(fieldType: number, source: number, pageIndex: number, light: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1795
- containers(resultType: number[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1796
- encryptedContainers(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void;
1797
1847
  }
1798
1848
 
1799
1849
  export const FontStyle = {
@@ -1822,10 +1872,9 @@ export const eRPRM_Authenticity = {
1822
1872
  HOLOGRAMS_DETECTION: 524288,
1823
1873
  MRZ: 8388608,
1824
1874
  STATUS_ONLY: 0x80000000,
1825
- OVI: 0x00000400,
1826
- LIVENESS: 0x00200000,
1827
- OCR: 0x00400000,
1828
- UV: 1 | 4 | 16,
1875
+ OVI: 1024,
1876
+ LIVENESS: 2097152,
1877
+ OCR: 4194304,
1829
1878
  }
1830
1879
 
1831
1880
  export const eRFID_ErrorCodes = {
@@ -1943,241 +1992,6 @@ export const eRFID_ErrorCodes = {
1943
1992
  RFID_ERROR_LAYER34_SAM_ERROR: 0x840D0000,
1944
1993
  RFID_ERROR_LAYER34_SAM_COLLISION: 0x840E0000,
1945
1994
  RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE: 0x840F0000,
1946
-
1947
- getTranslation(value: number) {
1948
- switch (value) {
1949
- case this.RFID_ERROR_NO_ERROR:
1950
- return "RFID: No error"
1951
- case this.RFID_ERROR_ALREADY_DONE:
1952
- return "RFID: The requested operation is already performed"
1953
- case this.RFID_ERROR_FAILED:
1954
- return "RFID: Failed"
1955
- case this.RFID_ERROR_NO_CHIP_DETECTED:
1956
- return "RFID: No chip is detected"
1957
- case this.RFID_ERROR_NOT_AVAILABLE:
1958
- return "RFID: Unavailable"
1959
- case this.RFID_ERROR_INVALID_PARAMETER:
1960
- return "RFID: Invalid parameter in ExecuteCommand() call found"
1961
- case this.RFID_ERROR_NOT_INITIALIZED:
1962
- return "RFID: Device is uninitialized"
1963
- case this.RFID_ERROR_NOT_ENOUGH_MEMORY:
1964
- return "RFID: Out of memory"
1965
- case this.RFID_ERROR_INVALID_DIRECTORY:
1966
- return "RFID: Invalid directory"
1967
- case this.RFID_ERROR_UNKNOWN_COMMAND:
1968
- return "RFID: Unknown command"
1969
- case this.RFID_ERROR_FILE_IO_ERROR:
1970
- return "RFID File: IO Error"
1971
- case this.RFID_ERROR_BUSY:
1972
- return "RFID: RFID is busy"
1973
- case this.RFID_ERROR_OLD_FIRMWARE:
1974
- return "RFID: The firmware needs to be updated to a newer version"
1975
- case this.RFID_ERROR_PCSC_FAILED:
1976
- return "PCSC: Failed"
1977
- case this.RFID_ERROR_PCSC_READER_NOT_AVAILABLE:
1978
- return "PCSC: The reader is unavailable"
1979
- case this.RFID_ERROR_PCSC_CANT_CONNECT_CARD:
1980
- return "PCSC: The card cannot be connected"
1981
- case this.RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED:
1982
- return "PCSC: The card is not connected"
1983
- case this.RFID_ERROR_PCSC_OPERATION_CANCELLED:
1984
- return "PCSC: Operation is cancelled"
1985
- case this.RFID_ERROR_PCSC_CARD_IS_BUSY:
1986
- return "PCSC: The card is busy"
1987
- case this.RFID_ERROR_PCSC_FAILED_SCARD:
1988
- return "PCSC: Failed Smart Card"
1989
- case this.RFID_ERROR_PCSC_EXT_LE_FAILED:
1990
- return "PCSC: ExtLe Failed"
1991
- case this.RFID_ERROR_LAYER6_SECURITY_MANAGER:
1992
- return "LAYER6: Secure Messaging was not activated"
1993
- case this.RFID_ERROR_LAYER6_APP_SELECTION_FAILURE:
1994
- return "LAYER6: ISO7816_A_03 \"Application selection failure\""
1995
- case this.RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL:
1996
- return "LAYER6: ISO7816_B_01 \"Mutual authentication MAC failure\""
1997
- case this.RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL:
1998
- return "LAYER6: ISO7816_B_02 \"Mutual authentication encryption failure\""
1999
- case this.RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE:
2000
- return "LAYER6: ISO7816_B_03 \"Mutual authentication failure\""
2001
- case this.RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA:
2002
- return "LAYER6: ISO7816_B_03 \"Mutual authentication failure data\""
2003
- case this.RFID_ERROR_LAYER6_SM_DO_8E_MISSING:
2004
- return "LAYER6: SM failure – MAC missing"
2005
- case this.RFID_ERROR_LAYER6_SM_DO_87_MISSING:
2006
- return "LAYER6: SM failure – cryptogram missing"
2007
- case this.RFID_ERROR_LAYER6_SM_DO_99_MISSING:
2008
- return "LAYER6: SM failure – secured status bytes missing"
2009
- case this.RFID_ERROR_LAYER6_SM_MAC_INCORRECT:
2010
- return "LAYER6: SM failure – incorrect MAC"
2011
- case this.RFID_ERROR_LAYER6_SM_DO_87_INCORRECT:
2012
- return "LAYER6: SM failure – incorrect cryptogram"
2013
- case this.RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA:
2014
- return "LAYER6: Not TLV response data"
2015
- case this.RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH:
2016
- return "LAYER6: Wrong data length (APDU_INS_GET_CHALLENGE)"
2017
- case this.RFID_ERROR_LAYER6_INT_AUTH_FAILURE:
2018
- return "LAYER6: APDU_INS_INTERNAL_AUTHENTICATE failure"
2019
- case this.RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE:
2020
- return "LAYER6: MSE:Set KAT failure"
2021
- case this.RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE:
2022
- return "LAYER6: MSE:Set DST failure"
2023
- case this.RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE:
2024
- return "LAYER6: PSO CERTIFICATE failure"
2025
- case this.RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE:
2026
- return "LAYER6: MSE:Set AT failure"
2027
- case this.RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE:
2028
- return "LAYER6: GET CHALLENGE failure"
2029
- case this.RFID_ERROR_LAYER6_EXT_AUTH_FAILURE:
2030
- return "LAYER6: APDU_INS_EXTERNAL_AUTHENTICATE (external authentication) failure"
2031
- case this.RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE:
2032
- return "LAYER6: General Authenticity Failure"
2033
- case this.RFID_ERROR_LAYER6_FILE_NOT_FOUND:
2034
- return "LAYER6: File selection failure / file not found"
2035
- case this.RFID_ERROR_LAYER6_FILE_EOF1:
2036
- return "LAYER6: Reading beyond EOF / Unexpected EOF"
2037
- case this.RFID_ERROR_LAYER6_FILE_EOF2:
2038
- return "LAYER6: Reading beyond EOF / Unexpected EOF"
2039
- case this.RFID_ERROR_LAYER6_INCORRECT_PARAMS:
2040
- return "LAYER6: Incorrect params"
2041
- case this.RFID_ERROR_LAYER6_NO_REFERENCE_DATA:
2042
- return "LAYER6: No reference data"
2043
- case this.RFID_ERROR_LAYER6_PWD_SUSPEND:
2044
- return "LAYER6: PWD suspended"
2045
- case this.RFID_ERROR_LAYER6_PWD_BLOCKED:
2046
- return "LAYER6: PWD blocked"
2047
- case this.RFID_ERROR_LAYER6_PWD_DEACTIVATED:
2048
- return "LAYER6: PWD deactivated"
2049
- case this.RFID_ERROR_LAYER6_PWD_BLOCKED2:
2050
- return "LAYER6: PWD blocked 2"
2051
- case this.RFID_ERROR_LAYER6_PWD_DEACTIVATED2:
2052
- return "LAYER6: PWD deactivated 2"
2053
- case this.RFID_ERROR_LAYER6_PWD_SUSPEND2:
2054
- return "LAYER6: PWD suspended 2"
2055
- case this.RFID_ERROR_LAYER6_PWD_FAILED:
2056
- return "LAYER6: PWD failed"
2057
- case this.RFID_ERROR_NOT_PERFORMED:
2058
- return "RFID: Not performed"
2059
- case this.RFID_ERROR_SESSION_IS_CLOSED:
2060
- return "RFID: Session is closed"
2061
- case this.RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION:
2062
- return "RFID: Unsupported terminal operation"
2063
- case this.RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN:
2064
- return "RFID: Terminal type unknown"
2065
- case this.RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE:
2066
- return "RFID: Terminal type bad certificate"
2067
- case this.RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET:
2068
- return "RFID: Terminal type not set"
2069
- case this.RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN:
2070
- return "RFID: Unknown procedure type"
2071
- case this.RFID_ERROR_Session_Procedure_Type_Unsupported:
2072
- return "RFID: Unsupported procedure type"
2073
- case this.RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET:
2074
- return "RFID: Procedure type not set"
2075
- case this.RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE:
2076
- return "RFID: Access key unknown type"
2077
- case this.RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE:
2078
- return "RFID: Access key unsupported SM type"
2079
- case this.RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE:
2080
- return "RFID: Access key incorrect SM type"
2081
- case this.RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED:
2082
- return "RFID: Access key restricted"
2083
- case this.RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA:
2084
- return "RFID: Access key incorrect data"
2085
- case this.RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET:
2086
- return "RFID: Access key not set"
2087
- case this.RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED:
2088
- return "RFID: PWD management not authorized"
2089
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE:
2090
- return "RFID: Access control unknown type"
2091
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM:
2092
- return "RFID: Access control unknown type"
2093
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE:
2094
- return "RFID: PACE required"
2095
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS:
2096
- return "RFID: CA keys required"
2097
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA:
2098
- return "RFID: TA required"
2099
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA:
2100
- return "RFID: CA required"
2101
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA:
2102
- return "RFID: Incorrect option CA"
2103
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED:
2104
- return "RFID: CA failed"
2105
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED:
2106
- return "RFID: TA failed"
2107
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED:
2108
- return "RFID: AA failed"
2109
- case this.RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED:
2110
- return "RFID: RI failed"
2111
- case this.RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED:
2112
- return "RFID: SO signature check failed"
2113
- case this.RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED:
2114
- return "RFID: Hash check failed"
2115
- case this.RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY:
2116
- return "RFID: Invalid aux data - date of expiry"
2117
- case this.RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH:
2118
- return "RFID: Invalid aux data - date of birth"
2119
- case this.RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID:
2120
- return "RFID: Invalid aux data - community ID"
2121
- case this.RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION:
2122
- return "RFID: eSign requires app selection"
2123
- case this.RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET:
2124
- return "RFID: eSign PIN not set"
2125
- case this.RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED:
2126
- return "RFID: eSign PIN not verified"
2127
- case this.RFID_ERROR_SESSION_INCORRECT_DATA:
2128
- return "RFID: Incorrect data"
2129
- case this.RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA:
2130
- return "RFID file: Insufficient data"
2131
- case this.RFID_ERROR_SESSION_FILE_INCORRECT_DATA:
2132
- return "RFID file: Incorrect data"
2133
- case this.RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA:
2134
- return "RFID file: Unexpected data"
2135
- case this.RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA:
2136
- return "RFID file: Contains unexpected data"
2137
- case this.RFID_ERROR_SESSION_FILE_WRONG_TAG:
2138
- return "RFID file: Wrong tag"
2139
- case this.RFID_ERROR_SESSION_FILE_CANT_USE_DATA:
2140
- return "RFID file: Cannot use data"
2141
- case this.RFID_ERROR_SESSION_FILE_CANT_READ_DATA:
2142
- return "RFID file: Cannot read data"
2143
- case this.RFID_ERROR_SESSION_FILE_ACCESS_DENIED:
2144
- return "RFID file: Access denied"
2145
- case this.RFID_ERROR_LAYER34_NO_ERROR:
2146
- return "RFID: Layer 34 - No error"
2147
- case this.RFID_ERROR_LAYER34_TIME_OUT:
2148
- return "RFID: Layer 34 - Timeout"
2149
- case this.RFID_ERROR_LAYER34_COLLISION:
2150
- return "RFID: Layer 34 - Collision"
2151
- case this.RFID_ERROR_LAYER34_CRC:
2152
- return "RFID: Layer 34 - CRC"
2153
- case this.RFID_ERROR_LAYER34_DATA_INTEGRITY:
2154
- return "RFID: Layer 34 - Data integrity"
2155
- case this.RFID_ERROR_LAYER34_DATA_LENGTH:
2156
- return "RFID: Layer 34 - Data length"
2157
- case this.RFID_ERROR_Layer34_RFU:
2158
- return "RFID: Layer 34 - RFU"
2159
- case this.RFID_ERROR_LAYER34_COLLISION_TOO_MANY:
2160
- return "RFID: Layer 34 - Too many collision"
2161
- case this.RFID_ERROR_LAYER34_PROTOCOL_B:
2162
- return "RFID: Layer 34 - Protocol B"
2163
- case this.RFID_ERROR_LAYER34_DATA_CONTENTS:
2164
- return "RFID: Layer 34 - Data contents"
2165
- case this.RFID_ERROR_LAYER34_PROTOCOL:
2166
- return "RFID: Layer 34 - Protocol"
2167
- case this.RFID_ERROR_LAYER34_GLOBAL_TIME_OUT:
2168
- return "RFID: Layer 34 - Globa timeout"
2169
- case this.RFID_ERROR_LAYER34_MIFARE_AUTH:
2170
- return "RFID: Layer 34 - MIFARE auth"
2171
- case this.RFID_ERROR_LAYER34_SAM_ERROR:
2172
- return "RFID: Layer 34 - SAM error"
2173
- case this.RFID_ERROR_LAYER34_SAM_COLLISION:
2174
- return "RFID: Layer 34 - SAM collision"
2175
- case this.RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE:
2176
- return "RFID: Layer 34 - SAM acknowledge"
2177
- default:
2178
- return value.toString()
2179
- }
2180
- }
2181
1995
  }
2182
1996
 
2183
1997
  export const eLDS_ParsingErrorCodes = {
@@ -2307,267 +2121,6 @@ export const eLDS_ParsingErrorCodes = {
2307
2121
  ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM: 0x81000308,
2308
2122
  ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE: 0x81000309,
2309
2123
  ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE: 0x8100030A,
2310
-
2311
- getTranslation(value: number) {
2312
- switch (value) {
2313
- case this.ERR_LDS_OK:
2314
- return "OK"
2315
- case this.ERR_LDS_ASN_INCORRECT_DATA:
2316
- return "Error - ASN: Incorrect data"
2317
- case this.RR_LDS_ASN_NOT_ENOUGH_DATA:
2318
- return "Error - ASN: Not enough data"
2319
- case this.ERR_LDS_ASN_CONTENTS_UNEXPECTED_DATA:
2320
- return "Error - ASN: Contents unexpected data"
2321
- case this.ERR_LDS_ASN_SIGNED_DATA_INCORRECT_DATA:
2322
- return "Error - ASN Signed data: Incorrect data"
2323
- case this.ERR_LDS_ASN_SIGNED_DATA_ENCAP_CONTENTS_INCORRECT_DATA:
2324
- return "Error - ASN Signed data: Encap contents incorrect data"
2325
- case this.ERR_LDS_ASN_SIGNED_DATA_VERSION_INCORRECT_DATA:
2326
- return "Error - ASN Signed data: Version incorrect data"
2327
- case this.ERR_LDS_ASN_SIGNED_DATA_DIGEST_ALGORITHMS_INCORRECT_DATA:
2328
- return "Error - ASN Signed data: Digest algorithms incorrect data"
2329
- case this.ERR_LDS_ASN_LDS_OBJECT_INCORRECT_DATA:
2330
- return "Error - ASN LDS object: Incorrect data"
2331
- case this.ERR_LDS_ASN_LDS_OBJECT_VERSION_INCORRECT_DATA:
2332
- return "Error - ASN LDS object: Version incorrect data"
2333
- case this.ERR_LDS_ASN_LDS_OBJECT_DIGEST_ALGORITHM_INCORRECT_DATA:
2334
- return "Error - ASN LDS object: Digest algorithm incorrect data"
2335
- case this.ERR_LDS_ASN_LDS_OBJECT_DG_HASHES_INCORRECT_DATA:
2336
- return "Error - ASN LDS object: DG hashes incorrect data"
2337
- case this.ERR_LDS_ASN_LDS_OBJECT_VERSION_INFO_INCORRECT_DATA:
2338
- return "Error - ASN LDS object: Version info incorrect data"
2339
- case this.ERR_LDS_ASN_CERTIFICATE_INCORRECT_DATA:
2340
- return "Error - ASN Certificate: Incorrect data"
2341
- case this.ERR_LDS_ASN_CERTIFICATE_VERSION_INCORRECT_DATA:
2342
- return "Error - ASN Certificate: Version incorrect data"
2343
- case this.ERR_LDS_ASN_CERTIFICATE_SN_INCORRECT_DATA:
2344
- return "Error - ASN Certificate: SN incorrect data"
2345
- case this.ERR_LDS_ASN_CERTIFICATE_SIGNATURE_INCORRECT_DATA:
2346
- return "Error - ASN Certificate: Signature incorrect data"
2347
- case this.ERR_LDS_ASN_CERTIFICATE_ISSUER_INCORRECT_DATA:
2348
- return "Error - ASN Certificate: Issuer incorrect data"
2349
- case this.ERR_LDS_ASN_CERTIFICATE_VALIDITY_INCORRECT_DATA:
2350
- return "Error - ASN Certificate: Validity incorrect data"
2351
- case this.ERR_LDS_ASN_CERTIFICATE_SUBJECT_INCORRECT_DATA:
2352
- return "Error - ASN Certificate: Subject incorrect data"
2353
- case this.ERR_LDS_ASN_CERTIFICATE_SUBJECT_PK_INCORRECT_DATA:
2354
- return "Error - ASN Certificate: Subject PK incorrect data"
2355
- case this.ERR_LDS_ASN_CERTIFICATE_EXTENSIONS_INCORRECT_DATA:
2356
- return "Error - ASN Certificate: Extensions incorrect data"
2357
- case this.ERR_LDS_ASN_SIGNER_INFO_INCORRECT_DATA:
2358
- return "Error - ASN Signer info: Incorrect data"
2359
- case this.ERR_LDS_ASN_SIGNER_INFO_VERSION_INCORRECT_DATA:
2360
- return "Error - ASN Signer info: Version incorrect data"
2361
- case this.ERR_LDS_ASN_SIGNER_INFO_SID_INCORRECT_DATA:
2362
- return "Error - ASN Signer info: SID incorrect data"
2363
- case this.ERR_LDS_ASN_SIGNER_INFO_DIGEST_ALG_INCORRECT_DATA:
2364
- return "Error - ASN Signer info: Digest algorithms incorrect data"
2365
- case this.ERR_LDS_ASN_SIGNER_INFO_SIGNED_ATTRS_INCORRECT_DATA:
2366
- return "Error - ASN Signer info: Signed attributes incorrect data"
2367
- case this.ERR_LDS_ASN_SIGNER_INFO_SIGN_ALG_INCORRECT_DATA:
2368
- return "Error - ASN Signer info: Sign algorithms incorrect data"
2369
- case this.ERR_LDS_ASN_SIGNER_INFO_SIGNATURE_INCORRECT_DATA:
2370
- return "Error - ASN Signer info: Signature incorrect data"
2371
- case this.ERR_LDS_ASN_SIGNER_INFO_UNSIGNED_ATTRS_INCORRECT_DATA:
2372
- return "Error - ASN Signer info: Unsigned attributes incorrect data"
2373
- case this.ERR_LDS_ICAO_LDS_OBJECT_UNSUPPORTED_DIGEST_ALGORITHM:
2374
- return "Error - ICAO LDS object: Unsupported digest algorithm"
2375
- case -this.ERR_LDS_ICAO_SIGNED_DATA_SIGNER_INFOS_EMPTY:
2376
- return "Error - ICAO Signed data: Signer info empty"
2377
- case this.ERR_LDS_ICAO_SIGNER_INFO_UNSUPPORTED_DIGEST_ALGORITHM:
2378
- return "Error - ICAO Signer info: Unsupported digest algorithm"
2379
- case this.ERR_LDS_ICAO_SIGNER_INFO_UNSUPPORTED_SIGNATURE_ALGORITHM:
2380
- return "Error - ICAO Signer info: Unsupported signature algorithm"
2381
- case this.ERR_LDS_ICAO_SIGNER_INFO_MESSAGE_DIGEST_ERROR:
2382
- return "Error - ICAO Signer info: Message digest error"
2383
- case this.ERR_LDS_ICAO_SIGNER_INFO_SIGNED_ATTRS_MISSED:
2384
- return "Error - ICAO Signer info: Signed attributes missed"
2385
- case this.ERR_LDS_AUTH_SIGNER_INFO_CANT_FIND_CERTIFICATE:
2386
- return "Error - Auth: Signer info cannot find certificate"
2387
- case this.ERR_LDS_AUTH_ERROR:
2388
- return "Error - Auth: Error"
2389
- case this.ERR_LDS_AUTH_UNSUPPORTED_SIGNATURE_ALGORITHM:
2390
- return "Error - Auth: Unsupported signature algorithm"
2391
- case this.ERR_LDS_AUTH_UNSUPPORTED_PUBLIC_KEY_ALGORITHM:
2392
- return "Error - Auth: Unsupported public key algorithm"
2393
- case this.ERR_LDS_AUTH_MESSED_ALGORITHMS:
2394
- return "Error - Auth: Messed algorithms"
2395
- case this.ERR_LDS_AUTH_PUBLIC_KEY_DATA_INVALID:
2396
- return "Error - Auth: Public key data invalid"
2397
- case this.ERR_LDS_AUTH_ALGORITHM_PARAMETERS_DATA_INVALID:
2398
- return "Error - Auth: Algorithm parameters data invalid"
2399
- case this.ERR_LDS_AUTH_SIGNATURE_DATA_INVALID:
2400
- return "Error - Auth: Signature data invalid"
2401
- case this.ERR_LDS_AUTH_UNSUPPORTED_DIGEST_ALGORITHM:
2402
- return "Error - Auth: Unsupported digest algorithm"
2403
- case this.ERR_LDS_AUTH_SIGNATURE_DATA_INCORRECT:
2404
- return "Error - Auth: Signature data incorrect"
2405
- case this.ERR_LDS_AUTH_ALGORITHM_PARAMETERS_NOT_DEFINED:
2406
- return "Error - Auth: Algorithm parameters not defined"
2407
- case this.ERR_LDS_AUTH_SIGNATURE_CHECK_FAILED:
2408
- return "Error - Auth: Signature check failed"
2409
- case this.ERR_LDS_DG_WRONG_TAH:
2410
- return "Error - DG: Wrong Tag"
2411
- case this.ERR_LDS_PACE_INFO_NOT_AVAILABLE:
2412
- return "Error - PACE: Info Not Available"
2413
- case this.ERR_LDS_PACE_SYMMETRIC_CYPHER_CANT_INITIALIZE:
2414
- return "Error - PACE: Symmetric Cypher Cannot Initialize"
2415
- case this.ERR_LDS_PACE_KEY_AGREEMENT_CANT_INITIALIZE:
2416
- return "Error - PACE: Key Agreement Cannot Initialize"
2417
- case this.ERR_LDS_PACE_EPHEMERAL_KEYS_CANT_CREATE:
2418
- return "Error - PACE: Ephemeral Keys Cannot Create"
2419
- case this.ERR_LDS_PACE_MAPPING_CANT_DECODE_NONCE:
2420
- return "Error - PACE: Mapping Cannot Decode Nonce"
2421
- case this.ERR_LDS_PACE_SHARED_SECRET_CANT_CREATE:
2422
- return "Error - PACE: Shared Secret Cannot Create"
2423
- case this.ERR_LDS_PACE_DOMAIN_PARAMS_UNSUPPORTED_FORMAT:
2424
- return "Error - PACE: Domain Params Unsupported Format"
2425
- case this.ERR_LDS_PACE_EPHEMERAL_KEYS_INCORRECT:
2426
- return "Error - PACE: Ephemeral Keys Incorrect"
2427
- case this.ERR_LDS_PACE_MAPPING_EPHEMERAL_KEYS_INCORRECT:
2428
- return "Error - PACE: Mapping Ephemeral Keys Incorrect"
2429
- case this.ERR_LDS_PACE_MAPPING_CANT_PERFORM:
2430
- return "Error - PACE: Mapping Cannot Perform"
2431
- case this.ERR_LDS_PACE_NON_MATCHING_AUTH_TOKENS:
2432
- return "Error - PACE: Non-Matching Auth Tokens"
2433
- case this.ERR_LDS_CA_CANT_FIND_PUBLIC_KEY:
2434
- return "Error - CA: Cannot Find Public Key"
2435
- case this.ERR_LDS_CA_CANT_FIND_INFO:
2436
- return "Error - CA: Cannot Find Info"
2437
- case this.ERR_LDS_CA_INCORRECT_VERSION:
2438
- return "Error - CA: Incorrect Version"
2439
- case this.ERR_LDS_CA_CANT_FIND_DOMAIN_PARAMETERS:
2440
- return "Error - CA: Cannot Find Domain Parameters"
2441
- case this.ERR_LDS_CA_KEY_AGREEMENT_CANT_INITIALIZE:
2442
- return "Error - CA: Key Agreement Cannot Initialize"
2443
- case this.ERR_LDS_CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM:
2444
- return "Error - CA: Public Key Unsupported Algorithm"
2445
- case this.ERR_LDS_CA_EPHEMERAL_KEYS_CANT_CREATE:
2446
- return "Error - CA: Ephemeral Keys Cannot Create"
2447
- case this.ERR_LDS_CA_SHARED_SECRET_CANT_CREATE:
2448
- return "Error - CA: Shared Secret Cannot Create"
2449
- case this.ERR_LDS_CA_NON_MATCHING_AUTH_TOKENS:
2450
- return "Error - CA: Non-Matching Auth Tokens"
2451
- case this.ERR_LDS_TA_INCORRECT_VERSION:
2452
- return "Error - TA: Incorrect Version"
2453
- case this.ERR_LDS_TA_CANT_BUILD_CERTIFICATE_CHAIN:
2454
- return "Error - TA: Cannot Build Certificate Chain"
2455
- case this.ERR_LDS_TA_CANT_FIND_IS_PRIVATE_KEY:
2456
- return "Error - TA: Cannot Find IS Private Key"
2457
- case this.ERR_LDS_TA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM:
2458
- return "Error - TA: Public Key Unsupported Algorithm"
2459
- case this.ERR_LDS_TA_SIGNATURE_BUILDING_ERROR:
2460
- return "Error - TA: Signature Building Error"
2461
- case this.ERR_LDS_TA_INVALID_KEY_ALGORITHM_PARAMETERS:
2462
- return "Error - TA: Invalid Key Algorithm Parameters"
2463
- case this.ERR_LDS_AA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM:
2464
- return "Error - AA: Public Key Unsupported Algorithm"
2465
- case this.ERR_LDS_AA_PUBLIC_KEY_INCORRECT_DATA:
2466
- return "Error - AA: Public Key Incorrect Data"
2467
- case this.ERR_LDS_AA_PUBLIC_KEY_INCORRECT_PARAMETERS:
2468
- return "Error - AA: Public Key Incorrect Parameters"
2469
- case this.ERR_LDS_AA_PUBLIC_KEY_UNDEFINED_PARAMETERS:
2470
- return "Error - AA: Public Key Undefined Parameters"
2471
- case this.ERR_LDS_AA_SIGNATURE_INCORRECT_DATA:
2472
- return "Error - AA: Signature Incorrect Data"
2473
- case this.ERR_LDS_AA_UNSUPPORTED_RECOVERY_SCHEME:
2474
- return "Error - AA: Unsupported recovery scheme"
2475
- case this.ERR_LDS_AA_INCORRECT_TRAILER:
2476
- return "Error - AA: Incorrect Trailer"
2477
- case this.ERR_LDS_AA_UNSUPPORTED_DIGEST_ALGORITHM:
2478
- return "Error - AA: Unsupported Digest Algorithm"
2479
- case this.ERR_LDS_RI_SECTOR_KEY_CANT_FIND:
2480
- return "Error - RI: Sector Key Cannot Find"
2481
- case this.ERR_LDS_RI_SECTOR_KEY_INCORRECT_DATA:
2482
- return "Error - RI: Sector Key Incorrect Data"
2483
- case this.ERR_LDS_RI_SECTOR_KEY_INCOMPLETE_DATA:
2484
- return "Error - RI: Sector Key Incomplete Data"
2485
- case this.ERR_LDS_CV_CERTIFICATE_MISSING_MANDATORY_DATA_PK:
2486
- return "Error - CV Certificate: Missing mandatory data PK"
2487
- case this.ERR_LDS_CV_CERTIFICATE_PUBLIC_KEY_UNSUPPORTED:
2488
- return "Error - CV Certificate: Public key unsupported"
2489
- case this.ERR_LDS_CV_CERTIFICATE_CHAT_UNSUPPORTED_TERMINAL_TYPE:
2490
- return "Error - CV Certificate: CHAT unsupported terminal type"
2491
- case this.ERR_LDS_CV_CERTIFICATE_PRIVATE_KEY_UNSUPPORTED:
2492
- return "Error - CV Certificate: Private key unsupported"
2493
- case this.ERR_LDS_CV_CERTIFICATE_PRIVATE_KEY_INVALID_PARAMS:
2494
- return "Error - CV Certificate: Private key invalid params"
2495
- case this.ERR_LDS_CV_CERTIFICATE_INCORRECT_DATA:
2496
- return "Error - CV Certificate: Incorrect data"
2497
- case this.ERR_LDS_CV_CERTIFICATE_CPI_INCORRECT_DATA:
2498
- return "Error - CV Certificate: CPI incorrect data"
2499
- case this.ERR_LDS_CV_CERTIFICATE_CAR_INCORRECT_DATA:
2500
- return "Error - CV Certificate: CAR incorrect data"
2501
- case this.ERR_LDS_CV_CERTIFICATE_PUBLIC_KEY_INCORRECT_DATA:
2502
- return "Error - CV Certificate: Public key incorrect data"
2503
- case this.ERR_LDS_CV_CERTIFICATE_CHR_INCORRECT_DATA:
2504
- return "Error - CV Certificate: CHR incorrect data"
2505
- case this.ERR_LDS_CV_CERTIFICATE_CHAT_INCORRECT_DATA:
2506
- return "Error - CV Certificate: CHAT incorrect data"
2507
- case this.ERR_LDS_CV_CERTIFICATE_VALID_FROM_INCORRECT_DATA:
2508
- return "Error - CV Certificate: Valid from incorrect data"
2509
- case this.ERR_LDS_CV_CERTIFICATE_VALID_TO_INCORRECT_DATA:
2510
- return "Error - CV Certificate: Valid to incorrect data"
2511
- case this.ERR_LDS_CV_CERTIFICATE_EXTENSIONS_INCORRECT_DATA:
2512
- return "Error - CV Certificate: Extensions incorrect data"
2513
- case this.ERR_LDS_CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_DATA:
2514
- return "Error - CV Certificate: Private key incorrect data"
2515
- case this.ERR_LDS_CV_CERTIFICATE_PRIVATE_KEY_MISSING:
2516
- return "Error - CV Certificate: Private key missing"
2517
- case this.ERR_LDS_BAP_SYMMETRIC_CYPHER_CANT_INITIALIZE:
2518
- return "Error - BAP: Symmetric Cypher Cannot Initialize"
2519
- case this.ERR_LDS_DG_CONTENTS_UNEXPECTED_DATA:
2520
- return "Error - DG: Contents unexpected data"
2521
- case this.ERR_LDS_ICAO_SIGNED_DATA_SIGNER_INFOS_EMPTY:
2522
- return "Error - ICAO Signed data: Signer info empty"
2523
- case this.ERR_LDS_PACE_CAM_DATA_CANT_VERIFY:
2524
- return "Error - PACE: CAM data cannot verify"
2525
- case this.ERR_LDS_PACE_CAM_DATA_INCORRECT:
2526
- return "Error - PACE: CAM data incorrect"
2527
- case this.ERR_LDS_PACE_CAM_DATA_NON_MATCHING:
2528
- return "Error - PACE: CAM data non-matching"
2529
- case this.ERR_LDS_PACE_IM_RANDOM_MAPPING_FAILED:
2530
- return "Error - PACE: Random mapping failed"
2531
- case this.ERR_LDS_PACE_IM_SCHEME_INCORRECT:
2532
- return "Error - PACE: IM scheme incorrect"
2533
- case this.ERR_LDS_VDS_ISSUING_COUNTRY_INCORRECT_DATA:
2534
- return "Error - VDS: Issuing country incorrect data"
2535
- case this.ERR_LDS_VDS_ISSUING_COUNTRY_SIZE:
2536
- return "Error - VDS: Issuing country size"
2537
- case this.ERR_LDS_VDS_NC_INCORRECT_DATA:
2538
- return "Error - VDS: Incorrect data"
2539
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE:
2540
- return "Error - VDS: Missing or incorrect certificate"
2541
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_DATA:
2542
- return "Error - VDS: Missing or incorrect data"
2543
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_HEADER:
2544
- return "Error - VDS: Missing or incorrect header"
2545
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_ISSUING_COUNTRY:
2546
- return "Error - VDS: Missing or incorrect issuing country"
2547
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_MESSAGE:
2548
- return "Error - VDS: Missing or incorrect message"
2549
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIGNATURE:
2550
- return "Error - VDS: Missing or incorrect signature"
2551
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM:
2552
- return "Error - VDS: Missing or incorrect signature algorithm"
2553
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE:
2554
- return "Error - VDS: Missing or incorrect signature value"
2555
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_TYPE:
2556
- return "Error - VDS: Missing or incorrect type"
2557
- case this.ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_VERSION:
2558
- return "Error - VDS: Missing or incorrect version"
2559
- case this.ERR_LDS_VDS_SIGNATURE_INCORRECT_DATA:
2560
- return "Error - VDS: Signature incorrect data"
2561
- case this.ERR_LDS_VDS_SIGNER_CERTIFICATE_DATA:
2562
- return "Error - VDS: Signature certificate data"
2563
- case this.ERR_LDS_VDS_SIGNER_CERTIFICATE_SIZE:
2564
- return "Error - VDS: Signature certificate size"
2565
- case this.ERR_LDS_VDS_UNSUPPORTED_VERSION:
2566
- return "Error - VDS: Unsupported version"
2567
- default:
2568
- return value.toString()
2569
- }
2570
- }
2571
2124
  }
2572
2125
 
2573
2126
  export const eRFID_CertificateType = {
@@ -2630,7 +2183,10 @@ export const eRPRM_ResultType = {
2630
2183
  RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: 105,
2631
2184
  RPRM_RESULT_TYPE_BARCODE_POSITION: 62,
2632
2185
  RPRM_RESULT_TYPE_MRZ_POSITION: 61,
2186
+ RPRM_RESULT_TYPE_LIVE_PORTRAIT: 32,
2633
2187
  RPRM_RESULT_TYPE_STATUS: 33,
2188
+ RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: 34,
2189
+ RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
2634
2190
  }
2635
2191
 
2636
2192
  export const CameraTypes = {
@@ -2728,6 +2284,41 @@ export const eRFID_AuthenticationProcedureType = {
2728
2284
  aptGeneral: 3,
2729
2285
  }
2730
2286
 
2287
+ export const DocumentReaderErrorCodes = {
2288
+ INITIALIZATION_CORE_ABSENT: 0,
2289
+ INITIALIZATION_FAILED: 1,
2290
+ INCORRECT_SCENARIO: 2,
2291
+ NO_RESULT: 3,
2292
+ REMOVE_DATABASE: 4,
2293
+ FETCHING_DATABASE: 5,
2294
+ DB_ID_NOT_FOUND: 6,
2295
+ DB_DESCRIPTION_NOT_FOUND: 7,
2296
+ SAVE_DB: 8,
2297
+ DOWNLOAD_DB_INCORRECT_CHECKSUM: 9,
2298
+ DB_DOWNLOAD: 10,
2299
+ LICENSE_ABSENT_OR_CORRUPTED: 13,
2300
+ LICENSE_INVALID_DATE: 14,
2301
+ LICENSE_INVALID_VERSION: 15,
2302
+ LICENSE_INVALID_DEVICE_ID: 16,
2303
+ LICENSE_INVALID_SYSTEM_OR_APP_ID: 17,
2304
+ LICENSE_NO_CAPABILITIES: 18,
2305
+ LICENSE_NO_AUTHENTICITY: 19,
2306
+ RECORD_PROCESS_INVALID_OUTPUT_URL: 20,
2307
+ LICENSE_ONLINE_ERROR: 21,
2308
+ LICENSE_NO_DATABASE: 22,
2309
+ LICENSE_DATABASE_INCORRECT: 23,
2310
+ INVALID_TCC_PARAMS: 24,
2311
+ RFID_IN_PROGRESS: 25,
2312
+ NATIVE_JAVA_EXCEPTION: 1000,
2313
+ BACKEND_ONLINE_PROCESSING: 303,
2314
+ WRONG_INPUT: 400,
2315
+ STATE_EXCEPTION: 500,
2316
+ BLE_EXCEPTION: 600,
2317
+ FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: 601,
2318
+ APP_BACKGROUND: 700,
2319
+ ONLINE_PROCESSING_WRONG_INPUT: 800,
2320
+ }
2321
+
2731
2322
  export const ScenarioIdentifier = {
2732
2323
  SCENARIO_MRZ: "Mrz",
2733
2324
  SCENARIO_BARCODE: "Barcode",
@@ -2931,6 +2522,7 @@ export const eCheckDiagnose = {
2931
2522
  BARCODE_DATA_FORMAT_ERROR: 141,
2932
2523
  BARCODE_SIZE_PARAMS_ERROR: 142,
2933
2524
  NOT_ALL_BARCODES_READ: 143,
2525
+ GLARES_IN_BARCODE_AREA: 144,
2934
2526
  PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150,
2935
2527
  PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151,
2936
2528
  PORTRAIT_COMPARISON_SERVICE_ERROR: 152,
@@ -2960,8 +2552,9 @@ export const eCheckDiagnose = {
2960
2552
  OCR_QUALITY_INVALID_FONT: 221,
2961
2553
  OCR_QUALITY_INVALID_BACKGROUND: 222,
2962
2554
  LAS_INK_INVALID_LINES_FREQUENCY: 230,
2963
- LAST_DIAGNOSE_VALUE: 250,
2964
2555
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
2556
+ DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
2557
+ LAST_DIAGNOSE_VALUE: 250,
2965
2558
  }
2966
2559
 
2967
2560
  export const RFIDDelegate = {
@@ -3221,449 +2814,6 @@ export const eLDS_ParsingNotificationCodes = {
3221
2814
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: 0x92000117,
3222
2815
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: 0x92000118,
3223
2816
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: 0x92000119,
3224
-
3225
- getTranslation(value: number) {
3226
- switch (value) {
3227
- case this.NTF_LDS_ASN_CERTIFICATE_INCORRECT_VERSION:
3228
- return "Notification - ASN certificate: Incorrect version"
3229
- case this.NTF_LDS_ASN_CERTIFICATE_NON_MATCHING_SIGNATURE_ALGORITHM:
3230
- return "Notification - ASN certificate: Non-matching signature algorithm"
3231
- case this.NTF_LDS_ASN_CERTIFICATE_INCORRECT_TIME_CODING:
3232
- return "Notification - ASN certificate: Incorrect time coding"
3233
- case this.NTF_LDS_ASN_CERTIFICATE_INCORRECT_USE_OF_GENERALIZED_TIME:
3234
- return "Notification - ASN certificate: Incorrect use of generalized time"
3235
- case this.NTF_LDS_ASN_CERTIFICATE_EMPTY_ISSUER:
3236
- return "Notification - ASN certificate: Empty issuer"
3237
- case this.NTF_LDS_ASN_CERTIFICATE_EMPTY_SUBJECT:
3238
- return "Notification - ASN certificate: Empty subject"
3239
- case this.NTF_LDS_ASN_CERTIFICATE_UNSUPPORTED_CRITICAL_EXTENSION:
3240
- return "Notification - ASN certificate: Unsupported critical extension"
3241
- case this.NTF_LDS_ASN_CERTIFICATE_FORCED_DEFAULT_CSCA_ROLE:
3242
- return "Notification - ASN certificate: Forced default CSCA role"
3243
- case this.NTF_LDS_ASN_CERTIFICATE_FORCED_DEFAULT_DS_ROLE:
3244
- return "Notification - ASN certificate: Forced Default DS role"
3245
- case this.NTF_LDS_ASN_CERTIFICATE_INCORRECT_ISSUER_SUBJECT_DS:
3246
- return "Notification - ASN certificate: Incorrect issuer subject DS"
3247
- case this.NTF_LDS_ASN_CERTIFICATE_DUPLICATING_EXTENSIONS:
3248
- return "Notification - ASN certificate: Duplicating extensions"
3249
- case this.NTF_LDS_ICAO_CERTIFICATE_VERSION_MISSED:
3250
- return "Notification - ICAO certificate: Version missed"
3251
- case this.NTF_LDS_ICAO_CERTIFICATE_VERSION_INCORRECT:
3252
- return "Notification - ICAO certificate: Version incorrect"
3253
- case this.NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_MISSED:
3254
- return "Notification - ICAO certificate: Issuer country missed"
3255
- case this.NTF_LDS_ICAO_CERTIFICATE_ISSUER_COMMON_NAME_MISSED:
3256
- return "Notification - ICAO certificate: Issuer common name missed"
3257
- case this.NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_COMPLIANT:
3258
- return "Notification - ICAO certificate: Issuer country non-compliant"
3259
- case this.NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_MISSED:
3260
- return "Notification - ICAO certificate: Subject country missed"
3261
- case this.NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_MISSED:
3262
- return "Notification - ICAO certificate: Subject common name missed"
3263
- case this.NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_COMPLIANT:
3264
- return "Notification - ICAO certificate: Subject country non-compliant"
3265
- case this.NTF_LDS_ICAO_CERTIFICATE_USING_NON_COMPLIANT_DATA:
3266
- return "Notification - ICAO certificate: Using non-compliant data"
3267
- case this.NTF_LDS_ICAO_CERTIFICATE_UNSUPPORTED_SIGNATURE_ALGORITHM:
3268
- return "Notification - ICAO certificate: Unsupported signature algorithm"
3269
- case this.NTF_LDS_ICAO_CERTIFICATE_UNSUPPORTED_PUBLIC_KEY_ALGORITHM:
3270
- return "Notification - ICAO certificate: Unsupported public key algorithm"
3271
- case this.NTF_LDS_ICAO_CERTIFICATE_MISSED_EXTENSIONS:
3272
- return "Notification - ICAO certificate: Missed extensions"
3273
- case this.NTF_LDS_ICAO_CERTIFICATE_VALIDITY:
3274
- return "Notification - ICAO certificate: Validity"
3275
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_USING_NON_COMPLIANT_DATA:
3276
- return "Notification - ICAO certificate extension: Using non-compliant data"
3277
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_KEY_USAGE_MISSED:
3278
- return "Notification - ICAO certificate extension: Key usage missed"
3279
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_KEY_USAGE_NOT_CRITICAL:
3280
- return "Notification - ICAO certificate extension: Key usage not critical"
3281
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_KEY_USAGE_INCORRECT_DATA:
3282
- return "Notification - ICAO certificate extension: Key usage incorrect data"
3283
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_BASIC_C_MISSED:
3284
- return "Notification - ICAO certificate extension: Basic constraints missed"
3285
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE1:
3286
- return "Notification - ICAO certificate extension: Basic constraints incorrect usage 1"
3287
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_USAGE2:
3288
- return "Notification - ICAO certificate extension: Basic constraints incorrect usage 2"
3289
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_BASIC_C_NOT_CRITICAL:
3290
- return "Notification - ICAO certificate extension: Basic constraints not critical"
3291
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_BASIC_C_INCORRECT_DATA:
3292
- return "Notification - ICAO certificate extension: Basic constraints incorrect data"
3293
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_MISSED:
3294
- return "Notification - ICAO certificate extension: Basic constraints path LenC missed"
3295
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_BASIC_C_PATH_LEN_C_INCORRECT:
3296
- return "Notification - ICAO certificate extension: Basic constraints path LenC incorrect"
3297
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_NOT_CRITICAL:
3298
- return "Notification - ICAO certificate extension: Ext key usage not critical"
3299
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_USAGE:
3300
- return "Notification - ICAO certificate extension: Ext key usage incorrect usage"
3301
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_EXT_KEY_USAGE_INCORRECT_DATA:
3302
- return "Notification - ICAO certificate extension: Ext key usage incorrect data"
3303
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_MISSED:
3304
- return "Notification - ICAO certificate extension Auth key: ID missed"
3305
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_INCORRECT_DATA:
3306
- return "Notification - ICAO certificate extension Auth key: Incorrect data"
3307
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_AUTH_KEY_ID_KEY_ID_MISSED:
3308
- return "Notification - ICAO certificate extension Auth key: Key ID missed"
3309
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_MISSED:
3310
- return "Notification - ICAO certificate extension: Subject key ID missed"
3311
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_KEY_ID_INCORRECT_DATA:
3312
- return "Notification - ICAO certificate extension: Subject key ID incorrect data"
3313
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_MISSED:
3314
- return "Notification - ICAO certificate extension: Private key UP missed"
3315
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_INCORRECT_DATA:
3316
- return "Notification - ICAO certificate extension: Private key UP incorrect data"
3317
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_PRIVATE_KEY_UP_EMPTY:
3318
- return "Notification - ICAO certificate extension: Private key UP empty"
3319
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_MISSED:
3320
- return "Notification - ICAO certificate extension: Subject alt name missed"
3321
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_INCORRECT_DATA:
3322
- return "Notification - ICAO certificate extension: Subject alt name incorrect data"
3323
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_EMPTY:
3324
- return "Notification - ICAO certificate extension: Subject alt name empty"
3325
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_NON_COMPLIANT:
3326
- return "Notification - ICAO certificate extension: Subject alt name non-compliant"
3327
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_CRITICAL:
3328
- return "Notification - ICAO certificate extension: Subject alt name critical"
3329
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_EMPTY:
3330
- return "Notification - ICAO certificate extension: Subject alt name DN empty"
3331
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_INCORRECT:
3332
- return "Notification - ICAO certificate extension: Subject alt name DN incorrect"
3333
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_SUBJECT_ALT_NAME_DN_NON_COMPLIANT:
3334
- return "Notification - ICAO certificate extension: Subject alt name DN non-compliant"
3335
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_MISSED:
3336
- return "Notification - ICAO certificate extension: Issuer alt name missed"
3337
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_INCORRECT_DATA:
3338
- return "Notification - ICAO certificate extension: Issuer alt name incorrect data"
3339
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_EMPTY:
3340
- return "Notification - ICAO certificate extension: Issuer alt name empty"
3341
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_NON_COMPLIANT:
3342
- return "Notification - ICAO certificate extension: Issuer alt name non-compliant"
3343
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_EMPTY:
3344
- return "Notification - ICAO certificate extension: Issuer alt name DN empty"
3345
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_INCORRECT:
3346
- return "Notification - ICAO certificate extension: Issuer alt name DN incorrect"
3347
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_DN_NON_COMPLIANT:
3348
- return "Notification - ICAO certificate extension: Issuer alt name DN non-compliant"
3349
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_MISSED:
3350
- return "Notification - ICAO certificate extension Doc type list: Missed"
3351
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_INCORRECT_DATA:
3352
- return "Notification - ICAO certificate extension Doc type list: Incorrect data"
3353
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_VERSION:
3354
- return "Notification - ICAO certificate extension Doc type list: Version"
3355
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES:
3356
- return "Notification - ICAO certificate extension Doc type list: Doc types"
3357
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_DOC_TYPES_EMPTY:
3358
- return "Notification - ICAO certificate extension Doc type list: Doc types empty"
3359
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CERT_POLICIES_INCORRECT_DATA:
3360
- return "Notification - ICAO certificate extension: Dert policies incorrect data"
3361
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CERT_POLICIES_EMPTY:
3362
- return "Notification - ICAO certificate extension: Cert policies empty"
3363
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CERT_POLICIES_POLICY_ID_MISSED:
3364
- return "Notification - ICAO certificate extension: Cert policies policy ID missed"
3365
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_MISSED:
3366
- return "Notification - ICAO certificate extension: CRL dist point missed"
3367
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_INCORRECT_DATA:
3368
- return "Notification - ICAO certificate extension: CRL dist point incorrect data"
3369
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_EMPTY:
3370
- return "Notification - ICAO certificate extension: CRL dist point empty"
3371
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CRL_DIST_POINT_POINT_MISSED:
3372
- return "Notification - ICAO certificate extension: CRL dist point point missed"
3373
- case this.NTF_LDS_ICAO_COM_LDS_VERSION_INCORRECT:
3374
- return "Notification - ICAO COM: LDS version incorrect"
3375
- case this.NTF_LDS_ICAO_COM_LDS_VERSION_MISSING:
3376
- return "Notification - ICAO COM: LDS version missing"
3377
- case this.NTF_LDS_ICAO_COM_UNICODE_VERSION_INCORRECT:
3378
- return "Notification - ICAO COM: Unicode version incorrect"
3379
- case this.NTF_LDS_ICAO_COM_UNICODE_VERSION_MISSING:
3380
- return "Notification - ICAO COM: Unicode version missing"
3381
- case this.NTF_LDS_ICAO_COM_DGPM_INCORRECT:
3382
- return "Notification - ICAO COM: DGPM incorrect"
3383
- case this.NTF_LDS_ICAO_COM_DGPM_MISSING:
3384
- return "Notification - ICAO COM: DGPM missing"
3385
- case this.NTF_LDS_ICAO_COM_DGPM_UNEXPECTED:
3386
- return "Notification - ICAO COM: DGPM unexpected"
3387
- case this.NTF_LDS_ICAO_APPLICATION_LDS_VERSION_UNSUPPORTED:
3388
- return "Notification - ICAO application: LDS version unsupported"
3389
- case this.NTF_LDS_ICAO_APPLICATION_UNICODE_VERSION_UNSUPPORTED:
3390
- return "Notification - ICAO application: Unicode version unsupported"
3391
- case this.NTF_LDS_ICAO_APPLICATION_LDS_VERSION_INCONSISTENT:
3392
- return "Notification - ICAO application: LDS version inconsistent"
3393
- case this.NTF_LDS_ICAO_APPLICATION_UNICODE_VERSION_INCONSISTENT:
3394
- return "Notification - ICAO application: Unicode version inconsistent"
3395
- case this.NTF_LDS_ASN_SIGNED_DATA_OID_INCORRECT:
3396
- return "Notification - ASN signed data: OID incorrect"
3397
- case this.NTF_LDS_ASN_SIGNED_DATA_VERSION_INCORRECT:
3398
- return "Notification - ASN signed data: Version incorrect"
3399
- case this.NTF_LDS_ICAO_SIGNED_DATA_VERSION_INCORRECT:
3400
- return "Notification - ICAO signed data: Version incorrect"
3401
- case this.NTF_LDS_ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_EMPTY:
3402
- return "Notification - ICAO signed data: Digest algorithms empty"
3403
- case this.NTF_LDS_ICAO_SIGNED_DATA_DIGEST_ALGORITHMS_UNSUPPORTED:
3404
- return "Notification - ICAO signed data: Digest algorithms unsupported"
3405
- case this.NTF_LDS_ICAO_SIGNED_DATA_SIGNER_INFOS_MULTIPLE_ENTRIES:
3406
- return "Notification - ICAO signed data: Signer infos multiple entries"
3407
- case this.NTF_LDS_ICAO_SIGNED_DATA_CERTIFICATES_MISSED:
3408
- return "Notification - ICAO signed data: Certificates missed"
3409
- case this.NTF_LDS_ICAO_SIGNED_DATA_CERTIFICATES_EMPTY:
3410
- return "Notification - ICAO signed data: Certificates empty"
3411
- case this.NTF_LDS_ICAO_SIGNED_DATA_CRLS_INCORRECT_USAGE:
3412
- return "Notification - ICAO signed data: CRLs incorrect usage"
3413
- case this.NTF_LDS_ICAO_LDS_OBJECT_INCORRECT_CONTENT_OID:
3414
- return "Notification - ICAO LDS object: Incorrect content OID"
3415
- case this.NTF_LDS_ICAO_LDS_OBJECT_DG_NUMBER_INCORRECT:
3416
- return "Notification - ICAO LDS object: DG number incorrect"
3417
- case this.NTF_LDS_ICAO_LDS_OBJECT_DG_HASH_MISSING:
3418
- return "Notification - ICAO LDS object: DG hash missing"
3419
- case this.NTF_LDS_ICAO_LDS_OBJECT_DG_HASH_EXTRA:
3420
- return "Notification - ICAO LDS object: DG hash extra"
3421
- case this.NTF_LDS_ICAO_LDS_OBJECT_VERSION_INCORRECT:
3422
- return "Notification - ICAO LDS object: Version incorrect"
3423
- case this.NTF_LDS_ICAO_MASTER_LIST_VERSION_INCORRECT:
3424
- return "Notification - ICAO master list: Version incorrect"
3425
- case this.NTF_LDS_ASN_SIGNER_INFO_VERSION_INCORRECT:
3426
- return "Notification - ASN signer info: Version incorrect"
3427
- case this.NTF_LDS_ASN_SIGNER_INFO_SID_INCORRECT_CHOICE:
3428
- return "Notification - ASN signer info: SID incorrect choice"
3429
- case this.NTF_LDS_ASN_SIGNER_INFO_SID_DIGEST_ALGORITHM_NOT_LISTED:
3430
- return "Notification - ASN signer info: SID digest algorithm not listed"
3431
- case this.NTF_LDS_ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_MISSING:
3432
- return "Notification - ASN signer info: Message digest attr missing"
3433
- case this.NTF_LDS_ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_DATA:
3434
- return "Notification - ASN signer info: Message digest attr data"
3435
- case this.NTF_LDS_ASN_SIGNER_INFO_MESSAGE_DIGEST_ATTR_Value:
3436
- return "Notification - ASN signer info: Message digest attr value"
3437
- case this.NTF_LDS_ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_MISSING:
3438
- return "Notification - ASN signer info: Content type attr missing"
3439
- case this.NTF_LDS_ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_DATA:
3440
- return "Notification - ASN signer info: Content type attr data"
3441
- case this.NTF_LDS_ASN_SIGNER_INFO_CONTENT_TYPE_ATTR_VALUE:
3442
- return "Notification - ASN signer info: Content type attr value"
3443
- case this.NTF_LDS_ASN_SIGNER_INFO_SIGNING_TIME_ATTR_MISSING:
3444
- return "Notification - ASN signer info: Signing time attr missing"
3445
- case this.NTF_LDS_ASN_SIGNER_INFO_SIGNING_TIME_ATTR_DATA:
3446
- return "Notification - ASN signer info: Signing time attr data"
3447
- case this.NTF_LDS_ASN_SIGNER_INFO_SIGNING_TIME_ATTR_VALUE:
3448
- return "Notification - ASN signer info: Signing time attr value"
3449
- case this.NTF_LDS_AUTH_SIGNER_INFO_CERTIFICATE_VALIDITY:
3450
- return "Notification - Auth signer info: Certificate validity"
3451
- case this.NTF_LDS_AUTH_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED:
3452
- return "Notification - Auth signer info: Certificate root is not trusted"
3453
- case this.NTF_LDS_AUTH_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA:
3454
- return "Notification - Auth signer info: Certificate cannot find CSCA"
3455
- case this.NTF_LDS_AUTH_SIGNER_INFO_CERTIFICATE_REVOKED:
3456
- return "Notification - Auth signer info: Certificate revoked"
3457
- case this.NTF_LDS_AUTH_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID:
3458
- return "Notification - Auth signer info: Certificate signature invalid"
3459
- case this.NTF_LDS_UNSUPPORTED_IMAGE_FORMAT:
3460
- return "Notification: Unsupported image format"
3461
- case this.NTF_LDS_MRZ_DOCUMENT_TYPE_UNKNOWN:
3462
- return "Notification - MRZ: Document type unknown"
3463
- case this.NTF_LDS_MRZ_ISSUING_STATE_SYNTAX_ERROR:
3464
- return "Notification - MRZ: Issuing state syntax error"
3465
- case this.NTF_LDS_MRZ_NAME_IS_VOID:
3466
- return "Notification - MRZ: Name is void"
3467
- case this.NTF_LDS_MRZ_NUMBER_INCORRECT_CHECKSUM:
3468
- return "Notification - MRZ: Number incorrect checksum"
3469
- case this.NTF_LDS_MRZ_NATIONALITY_SYNTAX_ERROR:
3470
- return "Notification - MRZ: Nationality syntax error"
3471
- case this.NTF_LDS_MRZ_DOB_SYNTAX_ERROR:
3472
- return "Notification - MRZ: DOB syntax error"
3473
- case this.NTF_LDS_MRZ_DOB_ERROR:
3474
- return "Notification - MRZ: DOB error"
3475
- case this.NTF_LDS_MRZ_DOB_INCORRECT_CHECKSUM:
3476
- return "Notification - MRZ: DOB incorrect checksum"
3477
- case this.NTF_LDS_MRZ_SEX_INCORRECT:
3478
- return "Notification - MRZ: Sex incorrect"
3479
- case this.NTF_LDS_MRZ_DOE_SYNTAX_ERROR:
3480
- return "Notification - MRZ: DOE syntax error"
3481
- case this.NTF_LDS_MRZ_DOE_ERROR:
3482
- return "Notification - MRZ: DOE error"
3483
- case this.NTF_LDS_MRZ_DOE_INCORRECT_CHECKSUM:
3484
- return "Notification - MRZ: DOE incorrect checksum"
3485
- case this.NTF_LDS_MRZ_OPTIONAL_DATA_INCORRECT_CHECKSUM:
3486
- return "Notification - MRZ: Optional data incorrect checksum"
3487
- case this.NTF_LDS_MRZ_INCORRECT_CHECKSUM:
3488
- return "Notification - MRZ: Incorrect checksum"
3489
- case this.NTF_LDS_MRZ_INCORRECT:
3490
- return "Notification - MRZ: Incorrect"
3491
- case this.NTF_LDS_BIOMETRICS_FORMAT_OWNER_MISSING:
3492
- return "Notification - Biometrics: Format owner missing"
3493
- case this.NTF_LDS_BIOMETRICS_FORMAT_OWNER_INCORRECT:
3494
- return "Notification - Biometrics: Format owner incorrect"
3495
- case this.NTF_LDS_BIOMETRICS_FORMAT_TYPE_MISSING:
3496
- return "Notification - Biometrics: Format type missing"
3497
- case this.NTF_LDS_BIOMETRICS_FORMAT_TYPE_INCORRECT:
3498
- return "Notification - Biometrics: Format type incorrect"
3499
- case this.NTF_LDS_BIOMETRICS_TYPE_INCORRECT:
3500
- return "Notification - Biometrics: Type incorrect"
3501
- case this.NTF_LDS_BIOMETRICS_SUB_TYPE_MISSING:
3502
- return "Notification - Biometrics: Subtype missing"
3503
- case this.NTF_LDS_BIOMETRICS_SUB_TYPE_INCORRECT:
3504
- return "Notification - Biometrics: Subtype incorrect"
3505
- case this.NTF_LDS_BIOMETRICS_BDB_IMAGE_MISSING:
3506
- return "Notification - Biometrics: BDB image missing"
3507
- case this.NTF_LDS_BIOMETRICS_BDB_FORMAT_ID_INCORRECT:
3508
- return "Notification - Biometrics: BDB format ID incorrect"
3509
- case this.NTF_LDS_BIOMETRICS_BDB_VERSION_INCORRECT:
3510
- return "Notification - Biometrics: BDB version incorrect"
3511
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_LENGTH_INCORRECT:
3512
- return "Notification - Biometrics: BDB data length incorrect"
3513
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_GENDER:
3514
- return "Notification - Biometrics: BDB Data Gender"
3515
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_EYE_COLOR:
3516
- return "Notification - Biometrics: BDB Data Eye Color"
3517
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_HAIR_COLOR:
3518
- return "Notification - Biometrics: BDB Data Hair Color"
3519
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_POSE_ANGLE_YAW:
3520
- return "Notification - Biometrics: BDB Data Pose Angle Yaw"
3521
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_POSE_ANGLE_PITCH:
3522
- return "Notification - Biometrics: BDB Data Pose Angle Pitch"
3523
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_POSE_ANGLE_ROLL:
3524
- return "Notification - Biometrics: BDB Data Pose Angle Roll"
3525
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_POSE_ANGLE_U_YAW:
3526
- return "Notification - Biometrics: BDB Data Pose Angle U Yaw"
3527
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_POSE_ANGLE_U_PITCH:
3528
- return "Notification - Biometrics: BDB Data Pose Angle U Pitch"
3529
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_POSE_ANGLE_U_ROLL:
3530
- return "Notification - Biometrics: BDB Data Pose Angle U Roll"
3531
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_FACE_IMAGE_TYPE:
3532
- return "Notification - Biometrics: BDB Data Face Image Type"
3533
- case this.NTF_LDS_BIOMETRICS_BDB_DATA_IMAGE_DATA_TYPE:
3534
- return "Notification - Biometrics: BDB Data Image Data Type"
3535
- case this.NTF_LDS_SI_PACE_INFO_UNSUPPORTED_STD_PARAMETERS:
3536
- return "Notification - SI: PACE Info Unsupported Std Parameters"
3537
- case this.NTF_LDS_SI_PACE_INFO_DEPRECATED_VERSION:
3538
- return "Notification - SI: PACE Info Deprecated Version"
3539
- case this.NTF_LDS_SI_PACE_DOMAIN_PARAMS_USING_STD_REF:
3540
- return "Notification - SI: PACE Domain Params Using Std Ref"
3541
- case this.NTF_LDS_SI_PACE_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM:
3542
- return "Notification - SI: PACE Domain Params Unsupported Algorithm"
3543
- case this.NTF_LDS_SI_CA_INFO_INCORRECT_VERSION:
3544
- return "Notification - SI: CA Info Incorrect Version"
3545
- case this.NTF_LDS_SI_CA_PUBLIC_KEY_UNSUPPORTED_ALGORITHM:
3546
- return "Notification - SI: CA PublicKey Unsupported Algorithm"
3547
- case this.NTF_LDS_SI_CA_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM:
3548
- return "Notification - SI: CA Domain Params Unsupported Algorithm"
3549
- case this.NTF_LDS_SI_TA_INFO_INCORRECT_VERSION:
3550
- return "Notification - SI: TA Info Incorrect Version"
3551
- case this.NTF_LDS_SI_TA_INFO_FILE_ID_FOR_VERSION2:
3552
- return "Notification - SI: TA Info File ID For Version 2"
3553
- case this.NTF_LDS_SI_EID_SECURITY_UNSUPPORTED_DIGEST_ALGORITHM:
3554
- return "Notification - SI: eID Security Unsupported Digest Algorithm"
3555
- case this.NTF_LDS_SI_RI_INFO_INCORRECT_VERSION:
3556
- return "Notification - SI: RI info incorrect version"
3557
- case this.NTF_LDS_SI_RI_DOMAIN_PARAMS_UNSUPPORTED_ALGORITHM:
3558
- return "Notification - SI: RI domain params unsupported algorithm"
3559
- case this.NTF_LDS_SI_AA_INFO_INCORRECT_VERSION:
3560
- return "Notification - SI: AA info incorrect version"
3561
- case this.NTF_LDS_SI_AA_INFO_UNSUPPORTED_ALGORITHM:
3562
- return "Notification - SI: AA info unsupported algorithm"
3563
- case this.NTF_LDS_SI_AA_INFO_INCONSISTENT_ALGORITHM_REFERENCE:
3564
- return "Notification - SI: AA info inconsistent algorithm reference"
3565
- case this.NTF_LDS_SI_STORAGE_PACE_INFO_NOT_AVAILABLE:
3566
- return "Notification - SI: PACE Info Not Available"
3567
- case this.NTF_LDS_SI_STORAGE_PACE_INFO_NO_STD_PARAMETERS:
3568
- return "Notification - SI: PACE Info No Std Parameters"
3569
- case this.NTF_LDS_SI_STORAGE_PACE_INFO_NO_MATCHING_DOMAIN_PARAMS:
3570
- return "Notification - SI: PACE Info No Matching Domain Params"
3571
- case this.NTF_LDS_SI_STORAGE_CA_INFO_NOT_AVAILABLE:
3572
- return "Notification - SI: CA Info Not Available"
3573
- case this.NTF_LDS_SI_STORAGE_CA_DOMAIN_PARAMS_NO_REQUIRED_OPTION:
3574
- return "Notification - SI: CA Domain Params No Required Option"
3575
- case this.NTF_LDS_SI_STORAGE_CA_DOMAIN_PARAMS_NOT_AVAILABLE:
3576
- return "Notification - SI: CA Domain Params Not Available"
3577
- case this.NTF_LDS_SI_STORAGE_CA_ANONYMOUS_INFOS:
3578
- return "Notification - SI: CA Anonymous Infos"
3579
- case this.NTF_LDS_SI_STORAGE_CA_INFO_NO_MATCHING_DOMAIN_PARAMS:
3580
- return "Notification - SI: CA Info No Matching Domain Params"
3581
- case this.NTF_LDS_SI_STORAGE_CA_INFO_NO_MATCHING_PUBLIC_KEY:
3582
- return "Notification - SI: CA Info No Matching Public Key"
3583
- case this.NTF_LDS_SI_STORAGE_CA_INCORRECT_INFOS_QUANTITY:
3584
- return "Notification - SI: CA Incorrect Infos Quantity"
3585
- case this.NTF_LDS_SI_STORAGE_TA_INFO_NOT_AVAILABLE:
3586
- return "Notification - SI: TA Info Not Available"
3587
- case this.NTF_LDS_SI_STORAGE_CARD_INFO_LOCATOR_MULTIPLE_ENTRIES:
3588
- return "Notification - SI: Card Info Locator Multiple Entries"
3589
- case this.NTF_LDS_SI_STORAGE_EID_SECURITY_INFO_MULTIPLE_ENTRIES:
3590
- return "Notification - SI: eID Security Info Multiple Entries"
3591
- case this.NTF_LDS_SI_STORAGE_PRIVILEGED_TI_MULTIPLE_ENTRIES:
3592
- return "Notification - SI: Privileged TI Multiple Entries"
3593
- case this.NTF_LDS_SI_STORAGE_PRIVILEGED_TI_INCORRECT_USAGE:
3594
- return "Notification - SI: Privileged TI Incorrect Usage"
3595
- case this.NTF_LDS_SI_STORAGE_RI_DOMAIN_PARAMS_MULTIPLE_ENTRIES:
3596
- return "Notification - SI: RI domain params multiple entries"
3597
- case this.NTF_LDS_SI_STORAGE_PACE_INFOS_NON_CONSISTANT:
3598
- return "Notification - SI: Storage PACE Info Non Consistant"
3599
- case this.NTF_LDS_CV_CERTIFICATE_PROFILE_INCORRECT_VERSION:
3600
- return "Notification - CV Certificate: Profile incorrect version"
3601
- case this.NTF_LDS_CV_CERTIFICATE_VALIDITY:
3602
- return "Notification - CV Certificate: Validity"
3603
- case this.NTF_LDS_CV_CERTIFICATE_NON_CV_CA_DOMAIN_PARAMETERS:
3604
- return "Notification - CV Certificate: Non CVCA domain parameters"
3605
- case this.NTF_LDS_CV_CERTIFICATE_PRIVATE_KEY_INCORRECT_VERSION:
3606
- return "Notification - CV Certificate: Private key incorrect version"
3607
- case this.NTF_LDS_TA_PACE_STATIC_BINDING_USED:
3608
- return "Notification - TA: PACE static binding used"
3609
- case this.NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_VALIDITY:
3610
- return "Notification - Auth ML signer info: Certificate validity"
3611
- case this.NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_ROOT_IS_NOT_TRUSTED:
3612
- return "Notification - Auth ML signer info: Certificate root is not trusted"
3613
- case this.NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA:
3614
- return "Notification - Auth ML signer info: Certificate cannot find CSCA"
3615
- case this.NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED:
3616
- return "Notification - Auth ML signer info: Certificate revoked"
3617
- case this.NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID:
3618
- return "Notification - Auth ML signer info: Certificate signature invalid"
3619
- case this.NTF_LDS_ASN_SIGNED_DATA_CONTENT_OID_INCORRECT:
3620
- return "Notification - ASN signed data: Content OID incorrect"
3621
- case this.NTF_LDS_ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_DATA:
3622
- return "Notification - ASN signer info: List content description attr data"
3623
- case this.NTF_LDS_ASN_SIGNER_INFO_LIST_CONTENT_DESCRIPTION_ATTR_MISSING:
3624
- return "Notification - ASN signer info: List content description attr missing"
3625
- case this.NTF_LDS_BSI_BLACK_LIST_VERSION_INCORRECT:
3626
- return "Notification - BSI: Black list version incorrect"
3627
- case this.NTF_LDS_BSI_DEFECT_LIST_VERSION_INCORRECT:
3628
- return "Notification - BSI: Defect list version incorrect"
3629
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_CSCA_ALT_NAMES_NON_MATCHING:
3630
- return "Notification - ICAO certificate extension: CSCA alt names non-matching"
3631
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_CRITICAL:
3632
- return "Notification - ICAO certificate extension Doc type list: Critical"
3633
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_DOC_TYPE_LIST_NON_COMPLIANT:
3634
- return "Notification - ICAO certificate extension Doc type list: non-compliant"
3635
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_ISSUER_ALT_NAME_CRITICAL:
3636
- return "Notification - ICAO certificate extension: Issuer alt name critical"
3637
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_NAME_CHANGE_CRITICAL:
3638
- return "Notification - ICAO certificate extension: Name change critical"
3639
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_NAME_CHANGE_INCORRECT_DATA:
3640
- return "Notification - ICAO certificate extension: Name change incorrect data"
3641
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_NAME_CHANGE_NON_COMPLIANT:
3642
- return "Notification - ICAO certificate extension: Name change non-compliant"
3643
- case this.NTF_LDS_ICAO_CERTIFICATE_EXT_OPTIONAL_CRITICAL:
3644
- return "Notification - ICAO certificate extension: Optional critical"
3645
- case this.NTF_LDS_ICAO_CERTIFICATE_ISSUER_ATTRIBUTE_NON_COMPLIANT:
3646
- return "Notification - ICAO certificate: Issuer attribute non-compliant"
3647
- case this.NTF_LDS_ICAO_CERTIFICATE_ISSUER_SN_NON_COMPLIANT:
3648
- return "Notification - ICAO certificate: Issuer SN non-compliant"
3649
- case this.NTF_LDS_ICAO_CERTIFICATE_ISSUER_SUBJECT_COUNTRY_NON_MATCHING:
3650
- return "Notification - ICAO certificate: Issuer subject country non-matching"
3651
- case this.NTF_LDS_ICAO_CERTIFICATE_SN_NON_COMPLIANT:
3652
- return "Notification - ICAO certificate: SN non-compliant"
3653
- case this.NTF_LDS_ICAO_CERTIFICATE_SUBJECT_ATTRIBUTE_NON_COMPLIANT:
3654
- return "Notification - ICAO certificate: Subject attribute non-compliant"
3655
- case this.NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COMMON_NAME_NON_COMPLIANT:
3656
- return "Notification - ICAO certificate: Subject common name non-compliant"
3657
- case this.NTF_LDS_ICAO_CERTIFICATE_SUBJECT_NON_COMPLIANT:
3658
- return "Notification - ICAO certificate: Subject non-compliant"
3659
- case this.NTF_LDS_ICAO_CERTIFICATE_SUBJECT_SN_NON_COMPLIANT:
3660
- return "Notification - ICAO certificate: Subject SN non-compliant"
3661
- case this.NTF_LDS_ICAO_DEVIATION_LIST_VERSION_INCORRECT:
3662
- return "Notification - ICAO Deviation list: Version incorrect"
3663
- default:
3664
- return value.toString()
3665
- }
3666
- }
3667
2817
  }
3668
2818
 
3669
2819
  export const eImageQualityCheckType = {
@@ -3676,31 +2826,6 @@ export const eImageQualityCheckType = {
3676
2826
  IQC_SCREEN_CAPTURE: 6,
3677
2827
  IQC_PORTRAIT: 7,
3678
2828
  IQC_HANDWRITTEN: 8,
3679
-
3680
- getTranslation(value: number) {
3681
- switch (value) {
3682
- case this.IQC_IMAGE_GLARES:
3683
- return "Glares"
3684
- case this.IQC_IMAGE_FOCUS:
3685
- return "Focus"
3686
- case this.IQC_IMAGE_RESOLUTION:
3687
- return "Resolution"
3688
- case this.IQC_IMAGE_COLORNESS:
3689
- return "Color"
3690
- case this.IQC_PERSPECTIVE:
3691
- return "Perspective angle"
3692
- case this.IQC_BOUNDS:
3693
- return "Bounds"
3694
- case this.IQC_SCREEN_CAPTURE:
3695
- return "Moire pattern"
3696
- case this.IQC_PORTRAIT:
3697
- return "Portrait"
3698
- case this.IQC_HANDWRITTEN:
3699
- return "Handwritten"
3700
- default:
3701
- return value.toString()
3702
- }
3703
- }
3704
2829
  }
3705
2830
 
3706
2831
  export const MRZFormat = {
@@ -3732,10 +2857,11 @@ export const BarcodeType = {
3732
2857
  DATAMATRIX: 16,
3733
2858
  ALL_1D: 17,
3734
2859
  CODE11: 18,
2860
+ JABCODE: 19,
3735
2861
  }
3736
2862
 
3737
2863
  export const eRPRM_SecurityFeatureType = {
3738
- SECURITY_FEATURE_TYPE_NONE: -1,
2864
+ NONE: -1,
3739
2865
  SECURITY_FEATURE_TYPE_BLANK: 0,
3740
2866
  SECURITY_FEATURE_TYPE_FILL: 1,
3741
2867
  SECURITY_FEATURE_TYPE_PHOTO: 2,
@@ -3780,6 +2906,7 @@ export const eRPRM_SecurityFeatureType = {
3780
2906
  SECURITY_FEATURE_TYPE_BARCODE_SIZE_CHECK: 42,
3781
2907
  SECURITY_FEATURE_TYPE_LAS_INK: 43,
3782
2908
  SECURITY_FEATURE_TYPE_LIVENESS_MLI: 44,
2909
+ SECURITY_FEATURE_TYPE_LIVENESS_BARCODE_BACKGROUND: 45,
3783
2910
  }
3784
2911
 
3785
2912
  export const OnlineMode = {
@@ -4071,57 +3198,6 @@ export const eGraphicFieldType = {
4071
3198
  GF_FINGER_RIGHT_MIDDLE: 307,
4072
3199
  GF_FINGER_RIGHT_RING: 308,
4073
3200
  GF_FINGER_RIGHT_LITTLE: 309,
4074
-
4075
- getTranslation(value: number) {
4076
- switch (value) {
4077
- case this.GF_PORTRAIT:
4078
- return "Portrait"
4079
- case this.GF_FINGERPR:
4080
- return "Fingerprint"
4081
- case this.GF_EYE:
4082
- return "Iris"
4083
- case this.GF_SIGNATURE:
4084
- return "Signature"
4085
- case this.GF_BAR_CODE:
4086
- return "Barcode"
4087
- case this.GF_PROOF_OF_CITIZENSHIP:
4088
- return "Proof of citizenship"
4089
- case this.GF_DOCUMENT_IMAGE:
4090
- return "Document image"
4091
- case this.GF_COLOR_DYNAMIC:
4092
- return "Color dynamics"
4093
- case this.GF_GHOST_PORTRAIT:
4094
- return "Ghost portrait"
4095
- case this.GF_STAMP:
4096
- return "Stamp"
4097
- case this.GF_PORTRAIT_OF_CHILD:
4098
- return "Portrait of child"
4099
- case this.GF_OTHER:
4100
- return "Other"
4101
- case this.GF_FINGER_LEFT_THUMB:
4102
- return "Left thumb"
4103
- case this.GF_FINGER_LEFT_INDEX:
4104
- return "Left index finger"
4105
- case this.GF_FINGER_LEFT_MIDDLE:
4106
- return "Left middle finger"
4107
- case this.GF_FINGER_LEFT_RING:
4108
- return "Left ring finger"
4109
- case this.GF_FINGER_LEFT_LITTLE:
4110
- return "Left little finger"
4111
- case this.GF_FINGER_RIGHT_THUMB:
4112
- return "Right thumb"
4113
- case this.GF_FINGER_RIGHT_INDEX:
4114
- return "Right index finger"
4115
- case this.GF_FINGER_RIGHT_MIDDLE:
4116
- return "Right middle finger"
4117
- case this.GF_FINGER_RIGHT_RING:
4118
- return "Right ring finger"
4119
- case this.GF_FINGER_RIGHT_LITTLE:
4120
- return "Right little finger"
4121
- default:
4122
- return value.toString()
4123
- }
4124
- }
4125
3201
  }
4126
3202
 
4127
3203
  export const RegDeviceConfigType = {
@@ -4240,169 +3316,6 @@ export const eRFID_DataFile_Type = {
4240
3316
  DFT_VDS: 900,
4241
3317
  DFT_VDSNC: 901,
4242
3318
  DFT_USERDEFINED: 1000,
4243
-
4244
- getTranslation(value: number) {
4245
- switch (value) {
4246
- case this.DFT_MIFARE_DATA:
4247
- return "MIFARE data"
4248
- case this.DFT_DL_COM:
4249
- return "EF.COM"
4250
- case this.DFT_PASSPORT_DG1:
4251
- return "Machine Readable Zone (DG1)"
4252
- case this.DFT_ID_DG1:
4253
- return "Document type" + " (DG1)"
4254
- case this.DFT_DL_DG1:
4255
- return "Text data elements (DG1)"
4256
- case this.DFT_PASSPORT_DG2:
4257
- return "Biometry - Facial data (DG2)"
4258
- case this.DFT_ID_DG2:
4259
- return "Issuing state" + " (DG2)"
4260
- case this.DFT_DL_DG2:
4261
- return "License holder information (DG2)"
4262
- case this.DFT_PASSPORT_DG3:
4263
- return "Biometry - Fingerprint(s) (DG3)"
4264
- case this.DFT_ID_DG3:
4265
- return "Date of expiry" + " (DG3)"
4266
- case this.DFT_DL_DG3:
4267
- return "Issuing authority details (DG3)"
4268
- case this.DFT_PASSPORT_DG4:
4269
- return "Biometry - Iris Data (DG4)"
4270
- case this.DFT_ID_DG4:
4271
- return "Given name" + " (DG4)"
4272
- case this.DFT_DL_DG4:
4273
- return "Portrait image (DG4)"
4274
- case this.DFT_PASSPORT_DG5:
4275
- return "Portrait(s) (DG5)"
4276
- case this.DFT_ID_DG5:
4277
- return "Family name" + " (DG5)"
4278
- case this.DFT_DL_DG5:
4279
- return "Signature / usual mark image (DG5)"
4280
- case this.DFT_PASSPORT_DG6:
4281
- return "not defined (DG6)"
4282
- case this.DFT_ID_DG6:
4283
- return "Pseudonym" + " (DG6)"
4284
- case this.DFT_DL_DG6:
4285
- return "Biometry - Facial data (DG6)"
4286
- case this.DFT_PASSPORT_DG7:
4287
- return "Signature / usual mark image (DG7)"
4288
- case this.DFT_ID_DG7:
4289
- return "Academic title" + " (DG7)"
4290
- case this.DFT_DL_DG7:
4291
- return "Biometry - Fingerprint(s) (DG7)"
4292
- case this.DFT_PASSPORT_DG8:
4293
- return "not defined (DG8)"
4294
- case this.DFT_ID_DG8:
4295
- return "Date of birth" + " (DG8)"
4296
- case this.DFT_DL_DG8:
4297
- return "Biometry - Iris Data (DG8)"
4298
- case this.DFT_PASSPORT_DG9:
4299
- return "not defined (DG9)"
4300
- case this.DFT_ID_DG9:
4301
- return "Place of birth" + " (DG9)"
4302
- case this.DFT_DL_DG9:
4303
- return "Biometry - Other (DG9)"
4304
- case this.DFT_PASSPORT_DG10:
4305
- return "not defined (DG10)"
4306
- case this.DFT_ID_DG10:
4307
- return "Nationality" + " (DG10)"
4308
- case this.DFT_DL_DG10:
4309
- return "not defined (DG10)"
4310
- case this.DFT_PASSPORT_DG11:
4311
- return "Additional personal detail(s) (DG11)"
4312
- case this.DFT_ID_DG11:
4313
- return "Sex" + " (DG11)"
4314
- case this.DFT_DL_DG11:
4315
- return "Optional domestic data (DG11)"
4316
- case this.DFT_PASSPORT_DG12:
4317
- return "Additional document details (DG12)"
4318
- case this.DFT_ID_DG12:
4319
- return "Optional details" + " (DG12)"
4320
- case this.DFT_DL_DG12:
4321
- return "Non-match alert (DG12)"
4322
- case this.DFT_PASSPORT_DG13:
4323
- return "Optional detail(s) (DG13)"
4324
- case this.DFT_ID_DG13:
4325
- return "Undefined" + " (DG13)"
4326
- case this.DFT_DL_DG13:
4327
- return "Active Authentication info (DG13)"
4328
- case this.DFT_PASSPORT_DG14:
4329
- return "EAC info (DG14)"
4330
- case this.DFT_ID_DG14:
4331
- return "Undefined" + " (DG14)"
4332
- case this.DFT_DL_DG14:
4333
- return "EAC info (DG14)"
4334
- case this.DFT_PASSPORT_DG15:
4335
- return "Active Authentication info (DG15)"
4336
- case this.DFT_ID_DG15:
4337
- return "Undefined" + " (DG15)"
4338
- case this.DFT_PASSPORT_DG16:
4339
- return "Person(s) to notify (DG16)"
4340
- case this.DFT_ID_DG16:
4341
- return "Undefined" + " (DG16)"
4342
- case this.DFT_PASSPORT_DG17:
4343
- return "DG17"
4344
- case this.DFT_ID_DG17:
4345
- return "Place of registration" + " (DG17)"
4346
- case this.DFT_PASSPORT_DG18:
4347
- return "DG18"
4348
- case this.DFT_ID_DG18:
4349
- return "Place of registration" + " (DG18)"
4350
- case this.DFT_PASSPORT_DG19:
4351
- return "DG19"
4352
- case this.DFT_ID_DG19:
4353
- return "Residence permit 1" + " (DG19)"
4354
- case this.DFT_PASSPORT_DG20:
4355
- return "DG20"
4356
- case this.DFT_ID_DG20:
4357
- return "Residence permit 2" + " (DG20)"
4358
- case this.DFT_ID_DG21:
4359
- return "Optional details" + " (DG21)"
4360
- case this.DFT_DL_SOD:
4361
- return "EF.SOD"
4362
- case this.DFT_PASSPORT_CVCA:
4363
- return "EF.CVCA"
4364
- case this.DFT_MIFARE_VALIDITY:
4365
- return "MIFARE validity"
4366
- case this.DFT_PACE_CARDACCESS:
4367
- return "EF.CardAccess"
4368
- case this.DFT_PACE_CARDSECURITY:
4369
- return "EF.CardSecurity"
4370
- case this.DFT_PACE_CHIPSECURITY:
4371
- return "EF.ChipSecurity"
4372
- case this.DFT_CERTIFICATE:
4373
- return "Certificate"
4374
- case this.DFT_APP_DIRECTORY:
4375
- return "App directory"
4376
- case this.DFT_ATR:
4377
- return "DFT_ATR"
4378
- case this.DFT_CHIP_PROPERTIES:
4379
- return "DFT_CHIP_PROPERTIES"
4380
- case this.DFT_DEFECTLIST:
4381
- return "DFT_DEFECTLIST"
4382
- case this.DFT_DEVIATIONLIST:
4383
- return "DFT_DEVIATIONLIST"
4384
- case this.DFT_DL_CE:
4385
- return "DFT_DL_CE"
4386
- case this.DFT_DL_CVCA:
4387
- return "DFT_DL_CVCA"
4388
- case this.DFT_ESIGN_PK:
4389
- return "DFT_ESIGN_PK"
4390
- case this.DFT_ESIGN_SIGNEDDATA:
4391
- return "DFT_ESIGN_SIGNEDDATA"
4392
- case this.DFT_LOGDATA:
4393
- return "DFT_LOGDATA"
4394
- case this.DFT_MASTERLIST:
4395
- return "DFT_MASTERLIST"
4396
- case this.DFT_SESSION:
4397
- return "DFT_SESSION"
4398
- case this.DFT_UNSPECIFIED:
4399
- return "DFT_UNSPECIFIED"
4400
- case this.DFT_USERDEFINED:
4401
- return "DFT_USERDEFINED"
4402
- default:
4403
- return value.toString()
4404
- }
4405
- }
4406
3319
  }
4407
3320
 
4408
3321
  export const eVisualFieldType = {
@@ -5012,1225 +3925,30 @@ export const eVisualFieldType = {
5012
3925
  FT_DLCLASSCODE_PW_FROM: 654,
5013
3926
  FT_DLCLASSCODE_PW_NOTES: 655,
5014
3927
  FT_DLCLASSCODE_PW_TO: 656,
5015
-
5016
- getTranslation(value: number) {
5017
- switch (value) {
5018
- case this.FT_DOCUMENT_CLASS_CODE:
5019
- return "Document class code"
5020
- case this.FT_ISSUING_STATE_CODE:
5021
- return "Issuing state code"
5022
- case this.FT_DOCUMENT_NUMBER:
5023
- return "Document number"
5024
- case this.FT_DATE_OF_EXPIRY:
5025
- return "Date of expiry"
5026
- case this.FT_DATE_OF_ISSUE:
5027
- return "Date of issue"
5028
- case this.FT_DATE_OF_BIRTH:
5029
- return "Date of birth"
5030
- case this.FT_PLACE_OF_BIRTH:
5031
- return "Place of birth"
5032
- case this.FT_PERSONAL_NUMBER:
5033
- return "Personal number"
5034
- case this.FT_SURNAME:
5035
- return "Surname"
5036
- case this.FT_GIVEN_NAMES:
5037
- return "Given name"
5038
- case this.FT_MOTHERS_NAME:
5039
- return "Mother\'s name"
5040
- case this.FT_NATIONALITY:
5041
- return "Nationality"
5042
- case this.FT_SEX:
5043
- return "Sex"
5044
- case this.FT_HEIGHT:
5045
- return "Height"
5046
- case this.FT_WEIGHT:
5047
- return "Weight"
5048
- case this.FT_EYES_COLOR:
5049
- return "Eye color"
5050
- case this.FT_HAIR_COLOR:
5051
- return "Hair color"
5052
- case this.FT_ADDRESS:
5053
- return "Address"
5054
- case this.FT_DONOR:
5055
- return "Donor"
5056
- case this.FT_SOCIAL_SECURITY_NUMBER:
5057
- return "Social insurance number"
5058
- case this.FT_DL_CLASS:
5059
- return "DL category"
5060
- case this.FT_DL_ENDORSED:
5061
- return "DL endorsement code"
5062
- case this.FT_DL_RESTRICTION_CODE:
5063
- return "DL Restriction Code"
5064
- case this.FT_DL_UNDER_21_DATE:
5065
- return "Date of 21st birthday"
5066
- case this.FT_AUTHORITY:
5067
- return "Issuing authority"
5068
- case this.FT_SURNAME_AND_GIVEN_NAMES:
5069
- return "Surname and given names"
5070
- case this.FT_NATIONALITY_CODE:
5071
- return "Nationality code"
5072
- case this.FT_PASSPORT_NUMBER:
5073
- return "Passport number"
5074
- case this.FT_INVITATION_NUMBER:
5075
- return "Invitation number"
5076
- case this.FT_VISA_ID:
5077
- return "Visa ID"
5078
- case this.FT_VISA_CLASS:
5079
- return "Visa Class"
5080
- case this.FT_VISA_SUB_CLASS:
5081
- return "Visa subclass"
5082
- case this.FT_MRZ_STRING_1:
5083
- return "MRZ line 1"
5084
- case this.FT_MRZ_STRING_2:
5085
- return "MRZ line 2"
5086
- case this.FT_MRZ_STRING_3:
5087
- return "MRZ line 3"
5088
- case this.FT_MRZ_TYPE:
5089
- return "MRZ Type"
5090
- case this.FT_OPTIONAL_DATA:
5091
- return "Optional data"
5092
- case this.FT_DOCUMENT_CLASS_NAME:
5093
- return "Document class"
5094
- case this.FT_ISSUING_STATE_NAME:
5095
- return "Issuing state"
5096
- case this.FT_PLACE_OF_ISSUE:
5097
- return "Place of issue"
5098
- case this.FT_DOCUMENT_NUMBER_CHECKSUM:
5099
- return "Checksum for document number"
5100
- case this.FT_DATE_OF_BIRTH_CHECKSUM:
5101
- return "Checksum for date of birth"
5102
- case this.FT_DATE_OF_EXPIRY_CHECKSUM:
5103
- return "Checksum for date of expiry"
5104
- case this.FT_PERSONAL_NUMBER_CHECKSUM:
5105
- return "Checksum for personal number"
5106
- case this.FT_FINAL_CHECKSUM:
5107
- return "Final checksum"
5108
- case this.FT_PASSPORT_NUMBER_CHECKSUM:
5109
- return "Checksum for passport number"
5110
- case this.FT_INVITATION_NUMBER_CHECKSUM:
5111
- return "Checksum for invitation number"
5112
- case this.FT_VISA_ID_CHECKSUM:
5113
- return "Checksum for visa ID"
5114
- case this.FT_SURNAME_AND_GIVEN_NAMES_CHECKSUM:
5115
- return "Checksum for surname and given names"
5116
- case this.FT_VISA_VALID_UNTIL_CHECKSUM:
5117
- return "Checksum for visa expiry date"
5118
- case this.FT_OTHER:
5119
- return "Other"
5120
- case this.FT_MRZ_STRINGS:
5121
- return "MRZ lines"
5122
- case this.FT_NAME_SUFFIX:
5123
- return "Name suffix"
5124
- case this.FT_NAME_PREFIX:
5125
- return "Name prefix"
5126
- case this.FT_DATE_OF_ISSUE_CHECKSUM:
5127
- return "Checksum for date of issue"
5128
- case this.FT_DATE_OF_ISSUE_CHECK_DIGIT:
5129
- return "Check digit for date of issue"
5130
- case this.FT_DOCUMENT_SERIES:
5131
- return "Document series"
5132
- case this.FT_REG_CERT_REG_NUMBER:
5133
- return "Registration number"
5134
- case this.FT_REG_CERT_CAR_MODEL:
5135
- return "Vehicle model"
5136
- case this.FT_REG_CERT_CAR_COLOR:
5137
- return "Vehicle color"
5138
- case this.FT_REG_CERT_BODY_NUMBER:
5139
- return "Body number"
5140
- case this.FT_REG_CERT_CAR_TYPE:
5141
- return "Vehicle type"
5142
- case this.FT_REG_CERT_MAX_WEIGHT:
5143
- return "Max permissible weight"
5144
- case this.FT_REG_CERT_WEIGHT:
5145
- return "Unladen mass"
5146
- case this.FT_ADDRESS_AREA:
5147
- return "Area"
5148
- case this.FT_ADDRESS_STATE:
5149
- return "State"
5150
- case this.FT_ADDRESS_BUILDING:
5151
- return "Unit"
5152
- case this.FT_ADDRESS_HOUSE:
5153
- return "Building"
5154
- case this.FT_ADDRESS_FLAT:
5155
- return "Apartment"
5156
- case this.FT_PLACE_OF_REGISTRATION:
5157
- return "Place of registration"
5158
- case this.FT_DATE_OF_REGISTRATION:
5159
- return "Date of registration"
5160
- case this.FT_RESIDENT_FROM:
5161
- return "Resident from"
5162
- case this.FT_RESIDENT_UNTIL:
5163
- return "Resident until"
5164
- case this.FT_AUTHORITY_CODE:
5165
- return "Issuing authority code"
5166
- case this.FT_PLACE_OF_BIRTH_AREA:
5167
- return "Country/region of birth"
5168
- case this.FT_PLACE_OF_BIRTH_STATE_CODE:
5169
- return "Birth state code"
5170
- case this.FT_ADDRESS_STREET:
5171
- return "Street"
5172
- case this.FT_ADDRESS_CITY:
5173
- return "City"
5174
- case this.FT_ADDRESS_JURISDICTION_CODE:
5175
- return "Jurisdiction code"
5176
- case this.FT_ADDRESS_POSTAL_CODE:
5177
- return "Postal code"
5178
- case this.FT_DOCUMENT_NUMBER_CHECK_DIGIT:
5179
- return "Check digit for document number"
5180
- case this.FT_DATE_OF_BIRTH_CHECK_DIGIT:
5181
- return "Check digit for date of birth"
5182
- case this.FT_DATE_OF_EXPIRY_CHECK_DIGIT:
5183
- return "Check digit for date of expiry"
5184
- case this.FT_PERSONAL_NUMBER_CHECK_DIGIT:
5185
- return "Check digit for personal number"
5186
- case this.FT_FINAL_CHECK_DIGIT:
5187
- return "Final check digit"
5188
- case this.FT_PASSPORT_NUMBER_CHECK_DIGIT:
5189
- return "Check digit for passport number"
5190
- case this.FT_INVITATION_NUMBER_CHECK_DIGIT:
5191
- return "Check digit for invitation number"
5192
- case this.FT_VISA_ID_CHECK_DIGIT:
5193
- return "Check digit for visa ID"
5194
- case this.FT_SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT:
5195
- return "Check digit for surname and given names"
5196
- case this.FT_VISA_VALID_UNTIL_CHECK_DIGIT:
5197
- return "Check digit for visa expiry date"
5198
- case this.FT_PERMIT_DL_CLASS:
5199
- return "Permit class"
5200
- case this.FT_PERMIT_DATE_OF_EXPIRY:
5201
- return "Permit expiry date"
5202
- case this.FT_PERMIT_IDENTIFIER:
5203
- return "Permit identifier"
5204
- case this.FT_PERMIT_DATE_OF_ISSUE:
5205
- return "Permit issue date"
5206
- case this.FT_PERMIT_RESTRICTION_CODE:
5207
- return "Permit restriction code"
5208
- case this.FT_PERMIT_ENDORSED:
5209
- return "Permit endorsement code"
5210
- case this.FT_ISSUE_TIMESTAMP:
5211
- return "Issue time"
5212
- case this.FT_NUMBER_OF_DUPLICATES:
5213
- return "Number of duplicates"
5214
- case this.FT_MEDICAL_INDICATOR_CODES:
5215
- return "Medical notes/codes"
5216
- case this.FT_NON_RESIDENT_INDICATOR:
5217
- return "Non-resident indicator"
5218
- case this.FT_VISA_TYPE:
5219
- return "Visa type"
5220
- case this.FT_VISA_VALID_FROM:
5221
- return "Visa valid from"
5222
- case this.FT_VISA_VALID_UNTIL:
5223
- return "Visa valid until"
5224
- case this.FT_DURATION_OF_STAY:
5225
- return "Duration of stay"
5226
- case this.FT_NUMBER_OF_ENTRIES:
5227
- return "Number of entries"
5228
- case this.FT_DAY:
5229
- return "Day"
5230
- case this.FT_MONTH:
5231
- return "Month"
5232
- case this.FT_YEAR:
5233
- return "Year"
5234
- case this.FT_UNIQUE_CUSTOMER_IDENTIFIER:
5235
- return "Unique customer identifier"
5236
- case this.FT_COMMERCIAL_VEHICLE_CODES:
5237
- return "Commercial vehicle code"
5238
- case this.FT_AKA_DATE_OF_BIRTH:
5239
- return "AKA: Date of birth"
5240
- case this.FT_AKA_SOCIAL_SECURITY_NUMBER:
5241
- return "AKA: Social Insurance Number"
5242
- case this.FT_AKA_SURNAME:
5243
- return "AKA: Surname"
5244
- case this.FT_AKA_GIVEN_NAMES:
5245
- return "AKA: Given name"
5246
- case this.FT_AKA_NAME_SUFFIX:
5247
- return "AKA: Name suffix"
5248
- case this.FT_AKA_NAME_PREFIX:
5249
- return "AKA: Name prefix"
5250
- case this.FT_MAILING_ADDRESS_STREET:
5251
- return "Mailing address - street"
5252
- case this.FT_MAILING_ADDRESS_CITY:
5253
- return "Mailing address - city"
5254
- case this.FT_MAILING_ADDRESS_JURISDICTION_CODE:
5255
- return "Mailing address - jurisdiction code"
5256
- case this.FT_MAILING_ADDRESS_POSTAL_CODE:
5257
- return "Mailing address - postal code"
5258
- case this.FT_AUDIT_INFORMATION:
5259
- return "Number for validation"
5260
- case this.FT_INVENTORY_NUMBER:
5261
- return "Inventory number"
5262
- case this.FT_RACE_ETHNICITY:
5263
- return "Race/ethnicity"
5264
- case this.FT_JURISDICTION_VEHICLE_CLASS:
5265
- return "Jurisdiction vehicle class"
5266
- case this.FT_JURISDICTION_ENDORSEMENT_CODE:
5267
- return "Jurisdiction endorsement code"
5268
- case this.FT_JURISDICTION_RESTRICTION_CODE:
5269
- return "Jurisdiction restriction code"
5270
- case this.FT_FAMILY_NAME:
5271
- return "Family name"
5272
- case this.FT_GIVEN_NAMES_RUS:
5273
- return "Given name (National)"
5274
- case this.FT_VISA_ID_RUS:
5275
- return "Visa ID (National)"
5276
- case this.FT_FATHERS_NAME:
5277
- return "Father\'s name"
5278
- case this.FT_FATHERS_NAME_RUS:
5279
- return "Father\'s name (National)"
5280
- case this.FT_SURNAME_AND_GIVEN_NAMES_RUS:
5281
- return "Surname and given names (National)"
5282
- case this.FT_PLACE_OF_BIRTH_RUS:
5283
- return "Place of birth (National)"
5284
- case this.FT_AUTHORITY_RUS:
5285
- return "Issuing authority (National)"
5286
- case this.FT_ISSUING_STATE_CODE_NUMERIC:
5287
- return "Numeric issuing state code"
5288
- case this.FT_NATIONALITY_CODE_NUMERIC:
5289
- return "Numeric nationality code"
5290
- case this.FT_ENGINE_POWER:
5291
- return "Engine power"
5292
- case this.FT_ENGINE_VOLUME:
5293
- return "Engine volume"
5294
- case this.FT_CHASSIS_NUMBER:
5295
- return "Chassis number"
5296
- case this.FT_ENGINE_NUMBER:
5297
- return "Engine number"
5298
- case this.FT_ENGINE_MODEL:
5299
- return "Engine model"
5300
- case this.FT_VEHICLE_CATEGORY:
5301
- return "Vehicle category"
5302
- case this.FT_IDENTITY_CARD_NUMBER:
5303
- return "Identity card number"
5304
- case this.FT_CONTROL_NO:
5305
- return "Control number"
5306
- case this.FT_PARRENTS_GIVEN_NAMES:
5307
- return "Parents\' given names"
5308
- case this.FT_SECOND_SURNAME:
5309
- return "Second surname"
5310
- case this.FT_MIDDLE_NAME:
5311
- return "Middle name"
5312
- case this.FT_REG_CERT_VIN:
5313
- return "Vehicle identification number"
5314
- case this.FT_REG_CERT_VIN_CHECK_DIGIT:
5315
- return "Check digit for VIN"
5316
- case this.FT_REG_CERT_VIN_CHECKSUM:
5317
- return "Checksum for VIN"
5318
- case this.FT_LINE_1_CHECK_DIGIT:
5319
- return "Check digit for line 1"
5320
- case this.FT_LINE_2_CHECK_DIGIT:
5321
- return "Check digit for line 2"
5322
- case this.FT_LINE_3_CHECK_DIGIT:
5323
- return "Check digit for line 3"
5324
- case this.FT_LINE_1_CHECKSUM:
5325
- return "Checksum for line 1"
5326
- case this.FT_LINE_2_CHECKSUM:
5327
- return "Checksum for line 2"
5328
- case this.FT_LINE_3_CHECKSUM:
5329
- return "Checksum for line 3"
5330
- case this.FT_REG_CERT_REG_NUMBER_CHECK_DIGIT:
5331
- return "Check digit for registration number"
5332
- case this.FT_REG_CERT_REG_NUMBER_CHECKSUM:
5333
- return "Checksum for registration number"
5334
- case this.FT_REG_CERT_VEHICLE_ITS_CODE:
5335
- return "Vehicle ITS code"
5336
- case this.FT_CARD_ACCESS_NUMBER:
5337
- return "Card access number"
5338
- case this.FT_MARITAL_STATUS:
5339
- return "Marital status"
5340
- case this.FT_COMPANY_NAME:
5341
- return "Company name"
5342
- case this.FT_SPECIAL_NOTES:
5343
- return "Special notes"
5344
- case this.FT_SURNAME_OF_SPOSE:
5345
- return "Spouse\'s surname"
5346
- case this.FT_TRACKING_NUMBER:
5347
- return "Tracking number"
5348
- case this.FT_BOOKLET_NUMBER:
5349
- return "Booklet number"
5350
- case this.FT_CHILDREN:
5351
- return "Children"
5352
- case this.FT_COPY:
5353
- return "Copy"
5354
- case this.FT_SERIAL_NUMBER:
5355
- return "Serial number"
5356
- case this.FT_DOSSIER_NUMBER:
5357
- return "Dossier number"
5358
- case this.FT_AKA_SURNAME_AND_GIVEN_NAMES:
5359
- return "AKA: Surname and given names"
5360
- case this.FT_TERRITORIAL_VALIDITY:
5361
- return "Territorial validity"
5362
- case this.FT_MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS:
5363
- return "MRZ lines with correct checksums"
5364
- case this.FT_DL_CDL_RESTRICTION_CODE:
5365
- return "CDL Restriction Code"
5366
- case this.FT_DL_UNDER_18_DATE:
5367
- return "Date of 18th birthday"
5368
- case this.FT_DL_RECORD_CREATED:
5369
- return "Record created"
5370
- case this.FT_DL_DUPLICATE_DATE:
5371
- return "Date of duplicate issue"
5372
- case this.FT_DL_ISS_TYPE:
5373
- return "Card type"
5374
- case this.FT_MILITARY_BOOK_NUMBER:
5375
- return "Military ID number"
5376
- case this.FT_DESTINATION:
5377
- return "Destination"
5378
- case this.FT_BLOOD_GROUP:
5379
- return "Blood group"
5380
- case this.FT_SEQUENCE_NUMBER:
5381
- return "Sequence number"
5382
- case this.FT_REG_CERT_BODY_TYPE:
5383
- return "Body type"
5384
- case this.FT_REG_CERT_CAR_MARK:
5385
- return "Vehicle make"
5386
- case this.FT_TRANSACTION_NUMBER:
5387
- return "Transaction number"
5388
- case this.FT_AGE:
5389
- return "Age"
5390
- case this.FT_FOLIO_NUMBER:
5391
- return "Folio number"
5392
- case this.FT_VOTER_KEY:
5393
- return "Voter Key"
5394
- case this.FT_ADDRESS_MUNICIPALITY:
5395
- return "Municipality"
5396
- case this.FT_ADDRESS_LOCATION:
5397
- return "Location"
5398
- case this.FT_SECTION:
5399
- return "Section"
5400
- case this.FT_OCR_NUMBER:
5401
- return "OCR number"
5402
- case this.FT_FEDERAL_ELECTIONS:
5403
- return "Federal elections"
5404
- case this.FT_REFERENCE_NUMBER:
5405
- return "Unique number"
5406
- case this.FT_OPTIONAL_DATA_CHECKSUM:
5407
- return "Checksum for optional data"
5408
- case this.FT_OPTIONAL_DATA_CHECK_DIGIT:
5409
- return "Check digit for optional data"
5410
- case this.FT_VISA_NUMBER:
5411
- return "Visa Number"
5412
- case this.FT_VISA_NUMBER_CHECKSUM:
5413
- return "Checksum for visa number"
5414
- case this.FT_VISA_NUMBER_CHECK_DIGIT:
5415
- return "Check digit for visa number"
5416
- case this.FT_VOTER:
5417
- return "Voter"
5418
- case this.FT_PREVIOUS_TYPE:
5419
- return "Type/number of the previous document"
5420
- case this.FT_FIELD_FROM_MRZ:
5421
- return "Field from MRZ"
5422
- case this.FT_CURRENT_DATE:
5423
- return "Current date"
5424
- case this.FT_STATUS_DATE_OF_EXPIRY:
5425
- return "Status Expiry Date"
5426
- case this.FT_BANKNOTE_NUMBER:
5427
- return "Banknote number"
5428
- case this.FT_CSC_CODE:
5429
- return "CSC Code"
5430
- case this.FT_ARTISTIC_NAME:
5431
- return "Pseudonym"
5432
- case this.FT_ACADEMIC_TITLE:
5433
- return "Academic title"
5434
- case this.FT_ADDRESS_COUNTRY:
5435
- return "Country"
5436
- case this.FT_ADDRESS_ZIPCODE:
5437
- return "ZIP code"
5438
- case this.FT_E_ID_RESIDENCE_PERMIT_1:
5439
- return "Residence permit 1"
5440
- case this.FT_E_ID_RESIDENCE_PERMIT_2:
5441
- return "Residence permit 2"
5442
- case this.FT_E_ID_PLACE_OF_BIRTH_STREET:
5443
- return "Place of birth: Street"
5444
- case this.FT_E_ID_PLACE_OF_BIRTH_CITY:
5445
- return "Place of birth: City"
5446
- case this.FT_E_ID_PLACE_OF_BIRTH_STATE:
5447
- return "Place of birth: State"
5448
- case this.FT_E_ID_PLACE_OF_BIRTH_COUNTRY:
5449
- return "Place of birth: Country"
5450
- case this.FT_E_ID_PLACE_OF_BIRTH_ZIPCODE:
5451
- return "Place of birth: Postal code"
5452
- case this.FT_CDL_CLASS:
5453
- return "CDL Class"
5454
- case this.FT_DL_UNDER_19_DATE:
5455
- return "Date of 19th birthday"
5456
- case this.FT_WEIGHT_POUNDS:
5457
- return "Weight (pound)"
5458
- case this.FT_LIMITED_DURATION_DOCUMENT_INDICATOR:
5459
- return "Indicator of document limited duration"
5460
- case this.FT_ENDORSEMENT_EXPIRATION_DATE:
5461
- return "Endorsement expiration date"
5462
- case this.FT_REVISION_DATE:
5463
- return "Revision date"
5464
- case this.FT_COMPLIANCE_TYPE:
5465
- return "Compliance type"
5466
- case this.FT_FAMILY_NAME_TRUNCATION:
5467
- return "Truncated surname/given name at birth"
5468
- case this.FT_FIRST_NAME_TRUNCATION:
5469
- return "First name truncation"
5470
- case this.FT_MIDDLE_NAME_TRUNCATION:
5471
- return "Middle name truncation"
5472
- case this.FT_EXAM_DATE:
5473
- return "Exam date"
5474
- case this.FT_ORGANIZATION:
5475
- return "Organization"
5476
- case this.FT_DEPARTMENT:
5477
- return "Department"
5478
- case this.FT_PAY_GRADE:
5479
- return "Pay grade"
5480
- case this.FT_RANK:
5481
- return "Rank"
5482
- case this.FT_BENEFITS_NUMBER:
5483
- return "Benefits number"
5484
- case this.FT_SPONSOR_SERVICE:
5485
- return "Sponsor service"
5486
- case this.FT_SPONSOR_STATUS:
5487
- return "Sponsor status"
5488
- case this.FT_SPONSOR:
5489
- return "Sponsor"
5490
- case this.FT_RELATIONSHIP:
5491
- return "Relationship"
5492
- case this.FT_USCIS:
5493
- return "USCIS"
5494
- case this.FT_CATEGORY:
5495
- return "Category"
5496
- case this.FT_CONDITIONS:
5497
- return "Conditions"
5498
- case this.FT_IDENTIFIER:
5499
- return "Identifier"
5500
- case this.FT_CONFIGURATION:
5501
- return "Configuration"
5502
- case this.FT_DISCRETIONARY_DATA:
5503
- return "Discretionary data"
5504
- case this.FT_LINE_1_OPTIONAL_DATA:
5505
- return "Optional data from line 1"
5506
- case this.FT_LINE_2_OPTIONAL_DATA:
5507
- return "Optional data from line 2"
5508
- case this.FT_LINE_3_OPTIONAL_DATA:
5509
- return "Optional data from line 3"
5510
- case this.FT_EQV_CODE:
5511
- return "EQV code"
5512
- case this.FT_ALT_CODE:
5513
- return "ALT code"
5514
- case this.FT_BINARY_CODE:
5515
- return "Binary code"
5516
- case this.FT_PSEUDO_CODE:
5517
- return "Pseudocode"
5518
- case this.FT_FEE:
5519
- return "Fee"
5520
- case this.FT_STAMP_NUMBER:
5521
- return "Stamp number"
5522
- case this.FT_GNIB_NUMBER:
5523
- return "GNIB number"
5524
- case this.FT_DEPT_NUMBER:
5525
- return "Department number"
5526
- case this.FT_TELEX_CODE:
5527
- return "Telegraph code"
5528
- case this.FT_ALLERGIES:
5529
- return "Allergies"
5530
- case this.FT_SP_CODE:
5531
- return "Special code"
5532
- case this.FT_COURT_CODE:
5533
- return "Court code"
5534
- case this.FT_CTY:
5535
- return "County"
5536
- case this.FT_SPONSOR_SSN:
5537
- return "Sponsor SSN"
5538
- case this.FT_DO_D_NUMBER:
5539
- return "DoD number"
5540
- case this.FT_MC_NOVICE_DATE:
5541
- return "Expiry date of Motorcycle Novice status"
5542
- case this.FT_DUF_NUMBER:
5543
- return "DUF number"
5544
- case this.FT_AGY:
5545
- return "AGY"
5546
- case this.FT_PNR_CODE:
5547
- return "PNR code"
5548
- case this.FT_FROM_AIRPORT_CODE:
5549
- return "Code of the airport of departure"
5550
- case this.FT_TO_AIRPORT_CODE:
5551
- return "Code of the airport of arrival"
5552
- case this.FT_FLIGHT_NUMBER:
5553
- return "Flight number"
5554
- case this.FT_DATE_OF_FLIGHT:
5555
- return "Date of flight"
5556
- case this.FT_SEAT_NUMBER:
5557
- return "Seat number"
5558
- case this.FT_DATE_OF_ISSUE_BOARDING_PASS:
5559
- return "Date of boarding pass issue"
5560
- case this.FT_CCW_UNTIL:
5561
- return "CCW until"
5562
- case this.FT_REFERENCE_NUMBER_CHECKSUM:
5563
- return "Unique number checksum"
5564
- case this.FT_REFERENCE_NUMBER_CHECK_DIGIT:
5565
- return "Unique number check digit"
5566
- case this.FT_ROOM_NUMBER:
5567
- return "Room number"
5568
- case this.FT_RELIGION:
5569
- return "Religion"
5570
- case this.FT_REMAINDER_TERM:
5571
- return "Months to expire"
5572
- case this.FT_ELECTRONIC_TICKET_INDICATOR:
5573
- return "Electronic ticket indicator"
5574
- case this.FT_COMPARTMENT_CODE:
5575
- return "Compartment code"
5576
- case this.FT_CHECK_IN_SEQUENCE_NUMBER:
5577
- return "Check-in sequence number"
5578
- case this.FT_AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER:
5579
- return "Airline designator of boarding pass issuer"
5580
- case this.FT_AIRLINE_NUMERIC_CODE:
5581
- return "Airline numeric code"
5582
- case this.FT_TICKET_NUMBER:
5583
- return "Ticket number"
5584
- case this.FT_FREQUENT_FLYER_AIRLINE_DESIGNATOR:
5585
- return "Frequent flyer airline designator"
5586
- case this.FT_FREQUENT_FLYER_NUMBER:
5587
- return "Frequent flyer number"
5588
- case this.FT_FREE_BAGGAGE_ALLOWANCE:
5589
- return "Free baggage allowance"
5590
- case this.FT_PDF_417_CODEC:
5591
- return "PDF417 codec"
5592
- case this.FT_IDENTITY_CARD_NUMBER_CHECKSUM:
5593
- return "Checksum for identity card number"
5594
- case this.FT_IDENTITY_CARD_NUMBER_CHECK_DIGIT:
5595
- return "Check digit for identity card number"
5596
- case this.FT_VETERAN:
5597
- return "Veteran"
5598
- case this.FT_DL_CLASS_CODE_A_1_FROM:
5599
- return "DL category A1 valid from"
5600
- case this.FT_DL_CLASS_CODE_A_1_TO:
5601
- return "DL category A1 valid to"
5602
- case this.FT_DL_CLASS_CODE_A_1_NOTES:
5603
- return "DL category A1 codes"
5604
- case this.FT_DL_CLASS_CODE_A_FROM:
5605
- return "DL category A valid from"
5606
- case this.FT_DL_CLASS_CODE_A_TO:
5607
- return "DL category A valid to"
5608
- case this.FT_DL_CLASS_CODE_A_NOTES:
5609
- return "DL category A codes"
5610
- case this.FT_DL_CLASS_CODE_B_FROM:
5611
- return "DL category B valid from"
5612
- case this.FT_DL_CLASS_CODE_B_TO:
5613
- return "DL category B valid to"
5614
- case this.FT_DL_CLASS_CODE_B_NOTES:
5615
- return "DL category B codes"
5616
- case this.FT_DL_CLASS_CODE_C_1_FROM:
5617
- return "DL category C1 valid from"
5618
- case this.FT_DL_CLASS_CODE_C_1_TO:
5619
- return "DL category C1 valid to"
5620
- case this.FT_DL_CLASS_CODE_C_1_NOTES:
5621
- return "DL category C1 codes"
5622
- case this.FT_DL_CLASS_CODE_C_FROM:
5623
- return "DL category C valid from"
5624
- case this.FT_DL_CLASS_CODE_C_TO:
5625
- return "DL category C valid to"
5626
- case this.FT_DL_CLASS_CODE_C_NOTES:
5627
- return "DL category C codes"
5628
- case this.FT_DL_CLASS_CODE_D_1_FROM:
5629
- return "DL category D1 valid from"
5630
- case this.FT_DL_CLASS_CODE_D_1_TO:
5631
- return "DL category D1 valid to"
5632
- case this.FT_DL_CLASS_CODE_D_1_NOTES:
5633
- return "DL category D1 codes"
5634
- case this.FT_DL_CLASS_CODE_D_FROM:
5635
- return "DL category D valid from"
5636
- case this.FT_DL_CLASS_CODE_D_TO:
5637
- return "DL category D valid to"
5638
- case this.FT_DL_CLASS_CODE_D_NOTES:
5639
- return "DL category D codes"
5640
- case this.FT_DL_CLASS_CODE_BE_FROM:
5641
- return "DL category BE valid from"
5642
- case this.FT_DL_CLASS_CODE_BE_TO:
5643
- return "DL category BE valid to"
5644
- case this.FT_DL_CLASS_CODE_BE_NOTES:
5645
- return "DL category BE codes"
5646
- case this.FT_DL_CLASS_CODE_C_1_E_FROM:
5647
- return "DL category C1E valid from"
5648
- case this.FT_DL_CLASS_CODE_C_1_E_TO:
5649
- return "DL category C1E valid to"
5650
- case this.FT_DL_CLASS_CODE_C_1_E_NOTES:
5651
- return "DL category C1E codes"
5652
- case this.FT_DL_CLASS_CODE_CE_FROM:
5653
- return "DL category CE valid from"
5654
- case this.FT_DL_CLASS_CODE_CE_TO:
5655
- return "DL category CE valid to"
5656
- case this.FT_DL_CLASS_CODE_CE_NOTES:
5657
- return "DL category CE codes"
5658
- case this.FT_DL_CLASS_CODE_D_1_E_FROM:
5659
- return "DL category D1E valid from"
5660
- case this.FT_DL_CLASS_CODE_D_1_E_TO:
5661
- return "DL category D1E valid to"
5662
- case this.FT_DL_CLASS_CODE_D_1_E_NOTES:
5663
- return "DL category D1E codes"
5664
- case this.FT_DL_CLASS_CODE_DE_FROM:
5665
- return "DL category DE valid from"
5666
- case this.FT_DL_CLASS_CODE_DE_TO:
5667
- return "DL category DE valid to"
5668
- case this.FT_DL_CLASS_CODE_DE_NOTES:
5669
- return "DL category DE codes"
5670
- case this.FT_DL_CLASS_CODE_M_FROM:
5671
- return "DL category M valid from"
5672
- case this.FT_DL_CLASS_CODE_M_TO:
5673
- return "DL category M valid to"
5674
- case this.FT_DL_CLASS_CODE_M_NOTES:
5675
- return "DL category M codes"
5676
- case this.FT_DL_CLASS_CODE_L_FROM:
5677
- return "DL category L valid from"
5678
- case this.FT_DL_CLASS_CODE_L_TO:
5679
- return "DL category L valid to"
5680
- case this.FT_DL_CLASS_CODE_L_NOTES:
5681
- return "DL category L codes"
5682
- case this.FT_DL_CLASS_CODE_T_FROM:
5683
- return "DL category T valid from"
5684
- case this.FT_DL_CLASS_CODE_T_TO:
5685
- return "DL category T valid to"
5686
- case this.FT_DL_CLASS_CODE_T_NOTES:
5687
- return "DL category T codes"
5688
- case this.FT_DL_CLASS_CODE_AM_FROM:
5689
- return "DL category AM valid from"
5690
- case this.FT_DL_CLASS_CODE_AM_TO:
5691
- return "DL category AM valid to"
5692
- case this.FT_DL_CLASS_CODE_AM_NOTES:
5693
- return "DL category AM codes"
5694
- case this.FT_DL_CLASS_CODE_A_2_FROM:
5695
- return "DL category A2 valid from"
5696
- case this.FT_DL_CLASS_CODE_A_2_TO:
5697
- return "DL category A2 valid to"
5698
- case this.FT_DL_CLASS_CODE_A_2_NOTES:
5699
- return "DL category A2 codes"
5700
- case this.FT_DL_CLASS_CODE_B_1_FROM:
5701
- return "DL category B1 valid from"
5702
- case this.FT_DL_CLASS_CODE_B_1_TO:
5703
- return "DL category B1 valid to"
5704
- case this.FT_DL_CLASS_CODE_B_1_NOTES:
5705
- return "DL category B1 codes"
5706
- case this.FT_SURNAME_AT_BIRTH:
5707
- return "Surname at birth"
5708
- case this.FT_CIVIL_STATUS:
5709
- return "Civil status"
5710
- case this.FT_NUMBER_OF_SEATS:
5711
- return "Number of seats"
5712
- case this.FT_NUMBER_OF_STANDING_PLACES:
5713
- return "Number of standing places"
5714
- case this.FT_MAX_SPEED:
5715
- return "Max speed"
5716
- case this.FT_FUEL_TYPE:
5717
- return "Fuel type"
5718
- case this.FT_EC_ENVIRONMENTAL_TYPE:
5719
- return "Vehicle environmental type"
5720
- case this.FT_POWER_WEIGHT_RATIO:
5721
- return "Power-to-weight ratio"
5722
- case this.FT_MAX_MASS_OF_TRAILER_BRAKED:
5723
- return "Max mass of trailer (braked)"
5724
- case this.FT_MAX_MASS_OF_TRAILER_UNBRAKED:
5725
- return "Max mass of trailer (unbraked)"
5726
- case this.FT_TRANSMISSION_TYPE:
5727
- return "Transmission type"
5728
- case this.FT_TRAILER_HITCH:
5729
- return "Trailer hitch"
5730
- case this.FT_ACCOMPANIED_BY:
5731
- return "Accompanied by"
5732
- case this.FT_POLICE_DISTRICT:
5733
- return "Police district"
5734
- case this.FT_FIRST_ISSUE_DATE:
5735
- return "First issue date"
5736
- case this.FT_PAYLOAD_CAPACITY:
5737
- return "Payload capacity"
5738
- case this.FT_NUMBER_OF_AXELS:
5739
- return "Number of axles"
5740
- case this.FT_PERMISSIBLE_AXLE_LOAD:
5741
- return "Permissible axle load"
5742
- case this.FT_PRECINCT:
5743
- return "Precinct"
5744
- case this.FT_INVITED_BY:
5745
- return "Invited by"
5746
- case this.FT_PURPOSE_OF_ENTRY:
5747
- return "Purpose of entry"
5748
- case this.FT_SKIN_COLOR:
5749
- return "Skin color"
5750
- case this.FT_COMPLEXION:
5751
- return "Complexion"
5752
- case this.FT_AIRPORT_FROM:
5753
- return "Airport of departure"
5754
- case this.FT_AIRPORT_TO:
5755
- return "Airport of arrival"
5756
- case this.FT_AIRLINE_NAME:
5757
- return "Airline name"
5758
- case this.FT_AIRLINE_NAME_FREQUENT_FLYER:
5759
- return "Airline loyalty program for frequent flyers"
5760
- case this.FT_LICENSE_NUMBER:
5761
- return "License number"
5762
- case this.FT_IN_TANKS:
5763
- return "In tanks"
5764
- case this.FT_EXEPT_IN_TANKS:
5765
- return "Other than tanks"
5766
- case this.FT_FAST_TRACK:
5767
- return "Fast Track service"
5768
- case this.FT_OWNER:
5769
- return "Owner"
5770
- case this.FT_MRZ_STRINGS_ICAO_RFID:
5771
- return "MRZ lines from ICAO RFID"
5772
- case this.FT_NUMBER_OF_CARD_ISSUANCE:
5773
- return "Number of card issuances"
5774
- case this.FT_NUMBER_OF_CARD_ISSUANCE_CHECKSUM:
5775
- return "Checksum for number of card issuances"
5776
- case this.FT_NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT:
5777
- return "Check digit for number of card issuances"
5778
- case this.FT_CENTURY_DATE_OF_BIRTH:
5779
- return "Century of birth"
5780
- case this.FT_DL_CLASSCODE_A3_FROM:
5781
- return "DL category A3 valid from"
5782
- case this.FT_DL_CLASSCODE_A3_TO:
5783
- return "DL category A3 valid to"
5784
- case this.FT_DL_CLASSCODE_A3_NOTES:
5785
- return "DL category A3 codes"
5786
- case this.FT_DL_CLASSCODE_C2_FROM:
5787
- return "DL category C2 valid from"
5788
- case this.FT_DL_CLASSCODE_C2_TO:
5789
- return "DL category C2 valid to"
5790
- case this.FT_DL_CLASSCODE_C2_NOTES:
5791
- return "DL category C2 codes"
5792
- case this.FT_DL_CLASSCODE_B2_FROM:
5793
- return "DL category B2 valid from"
5794
- case this.FT_DL_CLASSCODE_B2_TO:
5795
- return "DL category B2 valid to"
5796
- case this.FT_DL_CLASSCODE_B2_NOTES:
5797
- return "DL category B2 codes"
5798
- case this.FT_DL_CLASSCODE_D2_FROM:
5799
- return "DL category D2 valid from"
5800
- case this.FT_DL_CLASSCODE_D2_TO:
5801
- return "DL category D2 valid to"
5802
- case this.FT_DL_CLASSCODE_D2_NOTES:
5803
- return "DL category D2 codes"
5804
- case this.FT_DL_CLASSCODE_B2E_FROM:
5805
- return "DL category B2E valid from"
5806
- case this.FT_DL_CLASSCODE_B2E_TO:
5807
- return "DL category B2E valid to"
5808
- case this.FT_DL_CLASSCODE_B2E_NOTES:
5809
- return "DL category B2E codes"
5810
- case this.FT_DL_CLASSCODE_G_FROM:
5811
- return "DL category G valid from"
5812
- case this.FT_DL_CLASSCODE_G_TO:
5813
- return "DL category G valid to"
5814
- case this.FT_DL_CLASSCODE_G_NOTES:
5815
- return "DL category G codes"
5816
- case this.FT_DL_CLASSCODE_J_FROM:
5817
- return "DL category J valid from"
5818
- case this.FT_DL_CLASSCODE_J_TO:
5819
- return "DL category J valid to"
5820
- case this.FT_DL_CLASSCODE_J_NOTES:
5821
- return "DL category J codes"
5822
- case this.FT_DL_CLASSCODE_LC_FROM:
5823
- return "DL category LC valid from"
5824
- case this.FT_DL_CLASSCODE_LC_TO:
5825
- return "DL category LC valid to"
5826
- case this.FT_DLC_LASSCODE_LC_NOTES:
5827
- return "DL category LC codes"
5828
- case this.FT_BANKCARDNUMBER:
5829
- return "Bank card number"
5830
- case this.FT_BANKCARDVALIDTHRU:
5831
- return "Bank card validity"
5832
- case this.FT_TAX_NUMBER:
5833
- return "Tax number"
5834
- case this.FT_SBH_SECURITYOPTIONS:
5835
- return "SBH security options"
5836
- case this.FT_SBH_INTEGRITYOPTIONS:
5837
- return "SBH integrity options"
5838
- case this.FT_DATE_OF_CREATION:
5839
- return "Creation date"
5840
- case this.FT_VALIDITY_PERIOD:
5841
- return "Validity period"
5842
- case this.FT_PATRON_HEADER_VERSION:
5843
- return "Patron header version"
5844
- case this.FT_BDB_TYPE:
5845
- return "BDB type"
5846
- case this.FT_BIOMETRIC_TYPE:
5847
- return "Biometric type"
5848
- case this.FT_BIOMETRIC_SUBTYPE:
5849
- return "Biometric subtype"
5850
- case this.FT_BIOMETRIC_PRODUCTID:
5851
- return "Biometric product ID"
5852
- case this.FT_BIOMETRIC_FORMAT_OWNER:
5853
- return "Biometric format owner"
5854
- case this.FT_BIOMETRIC_FORMAT_TYPE:
5855
- return "Biometric format type"
5856
- case this.FT_PHONE:
5857
- return "Phone"
5858
- case this.FT_PROFESSION:
5859
- return "Profession"
5860
- case this.FT_TITLE:
5861
- return "Position"
5862
- case this.FT_PERSONAL_SUMMARY:
5863
- return "Personal data summary"
5864
- case this.FT_OTHER_VALID_ID:
5865
- return "Other valid IDs"
5866
- case this.FT_CUSTODY_INFO:
5867
- return "Custody info"
5868
- case this.FT_OTHER_NAME:
5869
- return "Other name"
5870
- case this.FT_OBSERVATIONS:
5871
- return "Observations"
5872
- case this.FT_TAX:
5873
- return "Tax"
5874
- case this.FT_DATE_OF_PERSONALIZATION:
5875
- return "Personalization date"
5876
- case this.FT_PERSONALIZATION_SN:
5877
- return "Serial number of personalization"
5878
- case this.FT_OTHERPERSON_NAME:
5879
- return "Other person, name"
5880
- case this.FT_PERSONTONOTIFY_DATE_OF_RECORD:
5881
- return "Notify person: Date of record"
5882
- case this.FT_PERSONTONOTIFY_NAME:
5883
- return "Notify person: Name"
5884
- case this.FT_PERSONTONOTIFY_PHONE:
5885
- return "Notify person: Phone"
5886
- case this.FT_PERSONTONOTIFY_ADDRESS:
5887
- return "Notify person: Address"
5888
- case this.FT_DS_CERTIFICATE_ISSUER:
5889
- return "DS certificate issuer"
5890
- case this.FT_DS_CERTIFICATE_SUBJECT:
5891
- return "DS certificate subject"
5892
- case this.FT_DS_CERTIFICATE_VALIDFROM:
5893
- return "DS certificate valid from"
5894
- case this.FT_DS_CERTIFICATE_VALIDTO:
5895
- return "DS certificate valid to"
5896
- case this.FT_VRC_DATAOBJECT_ENTRY:
5897
- return "Vehicle data from the DG1 data group"
5898
- case this.FT_GRANDFATHERNAME:
5899
- return "Grandfather\'s name"
5900
- case this.FT_HEALTH_NUMBER:
5901
- return "Health insurance number"
5902
- case this.FT_TYPE_APPROVAL_NUMBER:
5903
- return "Type of approval number"
5904
- case this.FT_ADMINISTRATIVE_NUMBER:
5905
- return "Administrative number"
5906
- case this.FT_DOCUMENT_DISCRIMINATOR:
5907
- return "Document discriminator"
5908
- case this.FT_DATA_DISCRIMINATOR:
5909
- return "Data discriminator"
5910
- case this.FT_ISO_ISSUER_ID_NUMBER:
5911
- return "ID number of ISO issuer"
5912
- case this.FT_SELECTEE_INDICATOR:
5913
- return "Selectee indicator"
5914
- case this.FT_MOTHER_SURNAME:
5915
- return "Mother\'s surname"
5916
- case this.FT_MOTHER_GIVENNAME:
5917
- return "Mother\'s given name"
5918
- case this.FT_FATHER_SURNAME:
5919
- return "Father\'s surname"
5920
- case this.FT_FATHER_GIVENNAME:
5921
- return "Father\'s given name"
5922
- case this.FT_MOTHER_DATEOFBIRTH:
5923
- return "Mother\'s date of birth"
5924
- case this.FT_FATHER_DATEOFBIRTH:
5925
- return "Father\'s date of birth"
5926
- case this.FT_MOTHER_PERSONALNUMBER:
5927
- return "Mother\'s personal number"
5928
- case this.FT_FATHER_PERSONALNUMBER:
5929
- return "Father\'s personal number"
5930
- case this.FT_MOTHER_PLACEOFBIRTH:
5931
- return "Mother\'s place of birth"
5932
- case this.FT_FATHER_PLACEOFBIRTH:
5933
- return "Father\'s place of birth"
5934
- case this.FT_MOTHER_COUNTRYOFBIRTH:
5935
- return "Mother\'s country of birth"
5936
- case this.FT_FATHER_COUNTRYOFBIRTH:
5937
- return "Father\'s country of birth"
5938
- case this.FT_DATE_FIRST_RENEWAL:
5939
- return "Date of first renewal"
5940
- case this.FT_DATE_SECOND_RENEWAL:
5941
- return "Date of second renewal"
5942
- case this.FT_PLACE_OF_EXAMINATION:
5943
- return "Place of examination"
5944
- case this.FT_APPLICATION_NUMBER:
5945
- return "Application number"
5946
- case this.FT_VOUCHER_NUMBER:
5947
- return "Voucher number"
5948
- case this.FT_AUTHORIZATION_NUMBER:
5949
- return "Authorization number"
5950
- case this.FT_FACULTY:
5951
- return "Faculty"
5952
- case this.FT_FORM_OF_EDUCATION:
5953
- return "Form of education"
5954
- case this.FT_DNI_NUMBER:
5955
- return "DNI number"
5956
- case this.FT_RETIREMENT_NUMBER:
5957
- return "Retirement number"
5958
- case this.FT_PROFESSIONAL_ID_NUMBER:
5959
- return "Professional ID number"
5960
- case this.FT_AGE_AT_ISSUE:
5961
- return "Age at issue"
5962
- case this.FT_YEARS_SINCE_ISSUE:
5963
- return "Years since issue"
5964
- case this.FT_DLCLASSCODE_BTP_FROM:
5965
- return "DL category BTP valid from"
5966
- case this.FT_DLCLASSCODE_BTP_NOTES:
5967
- return "DL category BTP codes"
5968
- case this.FT_DLCLASSCODE_BTP_TO:
5969
- return "DL category BTP valid to"
5970
- case this.FT_DLCLASSCODE_C3_FROM:
5971
- return "DL category C3 valid from"
5972
- case this.FT_DLCLASSCODE_C3_NOTES:
5973
- return "DL category C3 codes"
5974
- case this.FT_DLCLASSCODE_C3_TO:
5975
- return "DL category C3 valid to"
5976
- case this.FT_DLCLASSCODE_E_FROM:
5977
- return "DL category E valid from"
5978
- case this.FT_DLCLASSCODE_E_NOTES:
5979
- return "DL category E codes"
5980
- case this.FT_DLCLASSCODE_E_TO:
5981
- return "DL category E valid to"
5982
- case this.FT_DLCLASSCODE_F_FROM:
5983
- return "DL category F valid from"
5984
- case this.FT_DLCLASSCODE_F_NOTES:
5985
- return "DL category F codes"
5986
- case this.FT_DLCLASSCODE_F_TO:
5987
- return "DL category F valid to"
5988
- case this.FT_DLCLASSCODE_FA_FROM:
5989
- return "DL category FA valid from"
5990
- case this.FT_DLCLASSCODE_FA_NOTES:
5991
- return "DL category FA codes"
5992
- case this.FT_DLCLASSCODE_FA_TO:
5993
- return "DL category FA valid to"
5994
- case this.FT_DLCLASSCODE_FA1_FROM:
5995
- return "DL category FA1 valid from"
5996
- case this.FT_DLCLASSCODE_FA1_NOTES:
5997
- return "DL category FA1 codes"
5998
- case this.FT_DLCLASSCODE_FA1_TO:
5999
- return "DL category FA1 valid to"
6000
- case this.FT_DLCLASSCODE_FB_FROM:
6001
- return "DL category FB valid from"
6002
- case this.FT_DLCLASSCODE_FB_NOTES:
6003
- return "DL category FB codes"
6004
- case this.FT_DLCLASSCODE_FB_TO:
6005
- return "DL category FB valid to"
6006
- case this.FT_DLCLASSCODE_G1_FROM:
6007
- return "DL category G1 valid from"
6008
- case this.FT_DLCLASSCODE_G1_NOTES:
6009
- return "DL category G1 codes"
6010
- case this.FT_DLCLASSCODE_G1_TO:
6011
- return "DL category G1 valid to"
6012
- case this.FT_DLCLASSCODE_H_FROM:
6013
- return "DL category H valid from"
6014
- case this.FT_DLCLASSCODE_H_NOTES:
6015
- return "DL category H codes"
6016
- case this.FT_DLCLASSCODE_H_TO:
6017
- return "DL category H valid to"
6018
- case this.FT_DLCLASSCODE_I_FROM:
6019
- return "DL category I valid from"
6020
- case this.FT_DLCLASSCODE_I_NOTES:
6021
- return "DL category I codes"
6022
- case this.FT_DLCLASSCODE_I_TO:
6023
- return "DL category I valid to"
6024
- case this.FT_DLCLASSCODE_K_FROM:
6025
- return "DL category K valid from"
6026
- case this.FT_DLCLASSCODE_K_NOTES:
6027
- return "DL category K codes"
6028
- case this.FT_DLCLASSCODE_K_TO:
6029
- return "DL category K valid to"
6030
- case this.FT_DLCLASSCODE_LK_FROM:
6031
- return "DL category LK valid from"
6032
- case this.FT_DLCLASSCODE_LK_NOTES:
6033
- return "DL category LK codes"
6034
- case this.FT_DLCLASSCODE_LK_TO:
6035
- return "DL category LK valid to"
6036
- case this.FT_DLCLASSCODE_N_FROM:
6037
- return "DL category N valid from"
6038
- case this.FT_DLCLASSCODE_N_NOTES:
6039
- return "DL category N codes"
6040
- case this.FT_DLCLASSCODE_N_TO:
6041
- return "DL category N valid to"
6042
- case this.FT_DLCLASSCODE_S_FROM:
6043
- return "DL category S valid from"
6044
- case this.FT_DLCLASSCODE_S_NOTES:
6045
- return "DL category S codes"
6046
- case this.FT_DLCLASSCODE_S_TO:
6047
- return "DL category S valid to"
6048
- case this.FT_DLCLASSCODE_TB_FROM:
6049
- return "DL category TB valid from"
6050
- case this.FT_DLCLASSCODE_TB_NOTES:
6051
- return "DL category TB codes"
6052
- case this.FT_DLCLASSCODE_TB_TO:
6053
- return "DL category TB valid to"
6054
- case this.FT_DLCLASSCODE_TM_FROM:
6055
- return "DL category TM valid from"
6056
- case this.FT_DLCLASSCODE_TM_NOTES:
6057
- return "DL category TM codes"
6058
- case this.FT_DLCLASSCODE_TM_TO:
6059
- return "DL category TM valid to"
6060
- case this.FT_DLCLASSCODE_TR_FROM:
6061
- return "DL category TR valid from"
6062
- case this.FT_DLCLASSCODE_TR_NOTES:
6063
- return "DL category TR codes"
6064
- case this.FT_DLCLASSCODE_TR_TO:
6065
- return "DL category TR valid to"
6066
- case this.FT_DLCLASSCODE_TV_FROM:
6067
- return "DL category TV valid from"
6068
- case this.FT_DLCLASSCODE_TV_NOTES:
6069
- return "DL category TV codes"
6070
- case this.FT_DLCLASSCODE_TV_TO:
6071
- return "DL category TV valid to"
6072
- case this.FT_DLCLASSCODE_V_FROM:
6073
- return "DL category V valid from"
6074
- case this.FT_DLCLASSCODE_V_NOTES:
6075
- return "DL category V codes"
6076
- case this.FT_DLCLASSCODE_V_TO:
6077
- return "DL category V valid to"
6078
- case this.FT_DLCLASSCODE_W_FROM:
6079
- return "DL category W valid from"
6080
- case this.FT_DLCLASSCODE_W_NOTES:
6081
- return "DL category W codes"
6082
- case this.FT_DLCLASSCODE_W_TO:
6083
- return "DL category W valid to"
6084
- case this.FT_CALIBER:
6085
- return "Caliber"
6086
- case this.FT_CITIZENSHIP_OF_FIRST_PERSON:
6087
- return "Citizenship of the first person"
6088
- case this.FT_CITIZENSHIP_OF_SECOND_PERSON:
6089
- return "Citizenship of the second person"
6090
- case this.FT_CVV:
6091
- return "CVV/CVC"
6092
- case this.FT_DATE_OF_BIRTH_OF_HUSBAND:
6093
- return "Date of birth of husband"
6094
- case this.FT_DATE_OF_BIRTH_OF_WIFE:
6095
- return "Date of birth of wife"
6096
- case this.FT_MAKE:
6097
- return "Make"
6098
- case this.FT_MODEL:
6099
- return "Model"
6100
- case this.FT_NUMBER_OF_CYLINDERS:
6101
- return "Number of cylinders"
6102
- case this.FT_SURNAME_OF_HUSBAND_AFTER_REGISTRATION:
6103
- return "Surname of husband after registration"
6104
- case this.FT_SURNAME_OF_WIFE_AFTER_REGISTRATION:
6105
- return "Surname of wife after registration"
6106
- case this.FT_URL:
6107
- return "URL"
6108
- case this.FT_DATE_OF_INSURANCE_EXPIRY:
6109
- return "Expiry date of insurance"
6110
- case this.FT_MORTGAGE_BY:
6111
- return "Mortgage by"
6112
- case this.FT_OLD_DOCUMENT_NUMBER:
6113
- return "Old document number"
6114
- case this.FT_OLD_DATE_OF_ISSUE:
6115
- return "Old date of issue"
6116
- case this.FT_OLD_PLACE_OF_ISSUE:
6117
- return "Old place of issue"
6118
- case this.FT_DLCLASSCODE_LR_FROM:
6119
- return "DL category LR valid from"
6120
- case this.FT_DLCLASSCODE_LR_TO:
6121
- return "DL category LR valid to"
6122
- case this.FT_DLCLASSCODE_LR_NOTES:
6123
- return "DL category LR codes"
6124
- case this.FT_DLCLASSCODE_MR_FROM:
6125
- return "DL category MR valid from"
6126
- case this.FT_DLCLASSCODE_MR_TO:
6127
- return "DL category MR valid to"
6128
- case this.FT_DLCLASSCODE_MR_NOTES:
6129
- return "DL category MR codes"
6130
- case this.FT_DLCLASSCODE_HR_FROM:
6131
- return "DL category HR valid from"
6132
- case this.FT_DLCLASSCODE_HR_TO:
6133
- return "DL category HR valid to"
6134
- case this.FT_DLCLASSCODE_HR_NOTES:
6135
- return "DL category HR codes"
6136
- case this.FT_DLCLASSCODE_HC_FROM:
6137
- return "DL category HC valid from"
6138
- case this.FT_DLCLASSCODE_HC_TO:
6139
- return "DL category HC valid to"
6140
- case this.FT_DLCLASSCODE_HC_NOTES:
6141
- return "DL category HC codes"
6142
- case this.FT_DLCLASSCODE_MC_FROM:
6143
- return "DL category MC valid from"
6144
- case this.FT_DLCLASSCODE_MC_TO:
6145
- return "DL category MC valid to"
6146
- case this.FT_DLCLASSCODE_MC_NOTES:
6147
- return "DL category MC codes"
6148
- case this.FT_DLCLASSCODE_RE_FROM:
6149
- return "DL category RE valid from"
6150
- case this.FT_DLCLASSCODE_RE_TO:
6151
- return "DL category RE valid to"
6152
- case this.FT_DLCLASSCODE_RE_NOTES:
6153
- return "DL category RE codes"
6154
- case this.FT_DLCLASSCODE_R_FROM:
6155
- return "DL category R valid from"
6156
- case this.FT_DLCLASSCODE_R_TO:
6157
- return "DL category R valid to"
6158
- case this.FT_DLCLASSCODE_R_NOTES:
6159
- return "DL category R codes"
6160
- case this.FT_DLCLASSCODE_CA_FROM:
6161
- return "DL category CA valid from"
6162
- case this.FT_DLCLASSCODE_CA_TO:
6163
- return "DL category CA valid to"
6164
- case this.FT_DLCLASSCODE_CA_NOTES:
6165
- return "DL category CA codes"
6166
- case this.FT_CITIZENSHIP_STATUS:
6167
- return "Citizenship status"
6168
- case this.FT_MILITARY_SERVICE_FROM:
6169
- return "Military service from"
6170
- case this.FT_MILITARY_SERVICE_TO:
6171
- return "Military service to"
6172
- case this.FT_DLCLASSCODE_D3_FROM:
6173
- return "DL category D3 valid from"
6174
- case this.FT_DLCLASSCODE_D3_NOTES:
6175
- return "DL category D3 codes"
6176
- case this.FT_DLCLASSCODE_D3_TO:
6177
- return "DL category D3 valid to"
6178
- case this.FT_DLCLASSCODE_NT_FROM:
6179
- return "DL category NT valid from"
6180
- case this.FT_DLCLASSCODE_NT_NOTES:
6181
- return "DL category NT codes"
6182
- case this.FT_DLCLASSCODE_NT_TO:
6183
- return "DL category NT valid to"
6184
- case this.FT_DLCLASSCODE_TN_FROM:
6185
- return "DL category TN valid from"
6186
- case this.FT_DLCLASSCODE_TN_NOTES:
6187
- return "DL category TN codes"
6188
- case this.FT_DLCLASSCODE_TN_TO:
6189
- return "DL category TN valid to"
6190
- case this.FT_ALT_DATE_OF_EXPIRY:
6191
- return "Alternative date of expiry"
6192
- case this.FT_DLCLASSCODE_CD_FROM:
6193
- return "DL category CD valid from"
6194
- case this.FT_DLCLASSCODE_CD_TO:
6195
- return "DL category CD valid to"
6196
- case this.FT_DLCLASSCODE_CD_NOTES:
6197
- return "DL category CD codes"
6198
- case this.FT_FIRST_NAME:
6199
- return "First name"
6200
- case this.FT_DATE_OF_ARRIVAL:
6201
- return "Date of arrival"
6202
- case this.FT_ISSUER_IDENTIFICATION_NUMBER:
6203
- return "Issuer identification number"
6204
- case this.FT_PAYMENT_PERIOD_FROM:
6205
- return "Payment period from"
6206
- case this.FT_PAYMENT_PERIOD_TO:
6207
- return "Payment period to"
6208
- case this.FT_VACCINATION_CERTIFICATE_IDENTIFIER:
6209
- return "Unique vaccination certificate identifier"
6210
- case this.FT_SECOND_NAME:
6211
- return "Second name"
6212
- case this.FT_THIRD_NAME:
6213
- return "Third name"
6214
- case this.FT_FOURTH_NAME:
6215
- return "Fourth name"
6216
- case this.FT_LAST_NAME:
6217
- return "Last name"
6218
- case this.FT_DLCLASSCODE_PW_FROM:
6219
- return "DL class code PW valid from"
6220
- case this.FT_DLCLASSCODE_PW_NOTES:
6221
- return "DL class code PW notes"
6222
- case this.FT_DLCLASSCODE_PW_TO:
6223
- return "DL class code PW valid to"
6224
- case this.FT_DLCLASSCODE_RM_FROM:
6225
- return "DL class code RM valid from"
6226
- case this.FT_DLCLASSCODE_RM_NOTES:
6227
- return "DL class code RM notes"
6228
- case this.FT_DLCLASSCODE_RM_TO:
6229
- return "DL class code RM valid to"
6230
- default:
6231
- return value.toString()
6232
- }
6233
- }
3928
+ FT_DLCLASSCODE_EB_FROM: 657,
3929
+ FT_DLCLASSCODE_EB_NOTES: 658,
3930
+ FT_DLCLASSCODE_EB_TO: 659,
3931
+ FT_DLCLASSCODE_EC_FROM: 660,
3932
+ FT_DLCLASSCODE_EC_NOTES: 661,
3933
+ FT_DLCLASSCODE_EC_TO: 662,
3934
+ FT_DLCLASSCODE_EC1_FROM: 663,
3935
+ FT_DLCLASSCODE_EC1_NOTES: 664,
3936
+ FT_DLCLASSCODE_EC1_TO: 665,
3937
+ FT_PLACE_OF_BIRTH_CITY: 666,
3938
+ FT_YEAR_OF_BIRTH: 667,
3939
+ FT_YEAR_OF_EXPIRY: 668,
3940
+ FT_GRANDFATHER_NAME_MATERNAL: 669,
3941
+ FT_FIRST_SURNAME: 670,
3942
+ FT_MONTH_OF_BIRTH: 671,
3943
+ FT_ADDRESS_FLOOR_NUMBER: 672,
3944
+ FT_ADDRESS_ENTRANCE: 673,
3945
+ FT_ADDRESS_BLOCK_NUMBER: 674,
3946
+ FT_ADDRESS_STREET_NUMBER: 675,
3947
+ FT_ADDRESS_STREET_TYPE: 676,
3948
+ FT_ADDRESS_CITY_SECTOR: 677,
3949
+ FT_ADDRESS_COUNTY_TYPE: 678,
3950
+ FT_ADDRESS_CITY_TYPE: 679,
3951
+ FT_ADDRESS_BUILDING_TYPE: 680,
6234
3952
  }
6235
3953
 
6236
3954
  export const DocReaderOrientation = {
@@ -6398,325 +4116,6 @@ export const LCID = {
6398
4116
  VIETNAMESE: 1066,
6399
4117
  CTC_SIMPLIFIED: 50001,
6400
4118
  CTC_TRADITIONAL: 50002,
6401
-
6402
- getTranslation(value: number) {
6403
- switch (value) {
6404
- case this.LATIN:
6405
- return "Latin"
6406
- case this.AFRIKAANS:
6407
- return "Afrikaans"
6408
- case this.ABKHAZIAN_CYRILLIC:
6409
- return "Abkhazian (Cyrillic)"
6410
- case this.ALBANIAN:
6411
- return "Albanian"
6412
- case this.AMHARIC:
6413
- return "Amharic"
6414
- case this.ARABIC_ALGERIA:
6415
- return "Arabic (Algeria)"
6416
- case this.ARABIC_BAHRAIN:
6417
- return "Arabic (Bahrain)"
6418
- case this.ARABIC_EGYPT:
6419
- return "Arabic (Egypt)"
6420
- case this.ARABIC_IRAQ:
6421
- return "Arabic (Iraq)"
6422
- case this.ARABIC_JORDAN:
6423
- return "Arabic (Jordan)"
6424
- case this.ARABIC_KUWAIT:
6425
- return "Arabic (Kuwait)"
6426
- case this.ARABIC_LEBANON:
6427
- return "Arabic (Lebanon)"
6428
- case this.ARABIC_LIBYA:
6429
- return "Arabic (Libya)"
6430
- case this.ARABIC_MOROCCO:
6431
- return "Arabic (Morocco)"
6432
- case this.ARABIC_OMAN:
6433
- return "Arabic (Oman)"
6434
- case this.ARABIC_QATAR:
6435
- return "Arabic (Qatar)"
6436
- case this.ARABIC_SAUDI_ARABIA:
6437
- return "Arabic (Saudi Arabia)"
6438
- case this.ARABIC_SYRIA:
6439
- return "Arabic (Syria)"
6440
- case this.ARABIC_TUNISIA:
6441
- return "Arabic (Tunisia)"
6442
- case this.ARABIC_UAE:
6443
- return "Arabic (U.A.E.)"
6444
- case this.ARABIC_YEMEN:
6445
- return "Arabic (Yemen)"
6446
- case this.ARABIC_ARMENIAN:
6447
- return "Armenian"
6448
- case this.ARABIC_WORLD:
6449
- return "Arabic (World)"
6450
- case this.AZERI_CYRILIC:
6451
- return "Azeri (Cyrillic)"
6452
- case this.AZERI_LATIN:
6453
- return "Azeri (Latin)"
6454
- case this.BASQUE:
6455
- return "Basque"
6456
- case this.BANK_CARD:
6457
- return "Bank Card"
6458
- case this.BANK_CARD_CVV2:
6459
- return "Bank Card CVV2"
6460
- case this.BANK_CARD_NAME:
6461
- return "Bank Card Name"
6462
- case this.BANK_CARD_NUMBER:
6463
- return "Bank Card Number"
6464
- case this.BANK_CARD_VALID_THRU:
6465
- return "Bank Card Valid Thru"
6466
- case this.BELARUSIAN:
6467
- return "Belarusian"
6468
- case this.BENGALI:
6469
- return "Bengali"
6470
- case this.BULGARIAN:
6471
- return "Bulgarian"
6472
- case this.CATALAN:
6473
- return "Catalan"
6474
- case this.CHINESE_HONGKONG_SAR:
6475
- return "Chinese (HongKong S.A.R.)"
6476
- case this.CHINESE_MACAO_SAR:
6477
- return "Chinese (Macao S.A.R.)"
6478
- case this.CHINESE:
6479
- return "Chinese"
6480
- case this.CHINESE_SINGAPORE:
6481
- return "Chinese (Singapore)"
6482
- case this.CHINESE_TAIWAN:
6483
- return "Chinese (Taiwan)"
6484
- case this.CROATIAN:
6485
- return "Croatian"
6486
- case this.CZECH:
6487
- return "Czech"
6488
- case this.DANISH:
6489
- return "Danish"
6490
- case this.DIVEHI:
6491
- return "Divehi"
6492
- case this.DUTCH_BELGIUM:
6493
- return "Dutch (Belgium)"
6494
- case this.DUTCH_NETHERLANDS:
6495
- return "Dutch (Netherlands)"
6496
- case this.ENGLISH_AUSTRALIA:
6497
- return "English (Australia)"
6498
- case this.ENGLISH_BELIZE:
6499
- return "English (Belize)"
6500
- case this.ENGLISH_CANADA:
6501
- return "English (Canada)"
6502
- case this.ENGLISH_CARRIBEAN:
6503
- return "English (Caribbean)"
6504
- case this.ENGLISH_IRELAND:
6505
- return "English (Ireland)"
6506
- case this.ENGLISH_JAMAICA:
6507
- return "English (Jamaica)"
6508
- case this.ENGLISH_NEW_ZEALAND:
6509
- return "English (New Zealand)"
6510
- case this.ENGLISH_PHILIPPINES:
6511
- return "English (Philippines)"
6512
- case this.ENGLISH_SOUTH_AFRICA:
6513
- return "English (South Africa)"
6514
- case this.ENGLISH_TRINIDAD:
6515
- return "English (Trinidad)"
6516
- case this.ENGLISH_UK:
6517
- return "English (United Kingdom)"
6518
- case this.ENGLISH_US:
6519
- return "English (United States)"
6520
- case this.ENGLISH_ZIMBABWE:
6521
- return "English (Zimbabwe)"
6522
- case this.ESTONIAN:
6523
- return "Estonian"
6524
- case this.FAEROESE:
6525
- return "Faeroese"
6526
- case this.FARSI:
6527
- return "Farsi"
6528
- case this.FINNISH:
6529
- return "Finnish"
6530
- case this.FRENCH_BELGIUM:
6531
- return "French (Belgium)"
6532
- case this.FRENCH_CANADA:
6533
- return "French (Canada)"
6534
- case this.FRENCH_FRANCE:
6535
- return "French (France)"
6536
- case this.FRENCH_LUXEMBOURG:
6537
- return "French (Luxembourg)"
6538
- case this.FRENCH_MONACO:
6539
- return "French (Monaco)"
6540
- case this.FRENCH_SWITZERLAND:
6541
- return "French (Switzerland)"
6542
- case this.GALICIAN:
6543
- return "Galician"
6544
- case this.GEORGIAN:
6545
- return "Georgian"
6546
- case this.GERMAN_AUSTRIA:
6547
- return "German (Austria)"
6548
- case this.GERMAN_GERMANY:
6549
- return "German (Germany)"
6550
- case this.GERMAN_LIECHTENSTEIN:
6551
- return "German (Liechtenstein)"
6552
- case this.GERMAN_LUXEMBOURG:
6553
- return "German (Luxembourg)"
6554
- case this.GERMAN_SWITZERLAND:
6555
- return "German (Switzerland)"
6556
- case this.GREEK:
6557
- return "Greek"
6558
- case this.GUJARATI:
6559
- return "Gujarati"
6560
- case this.HEBREW:
6561
- return "Hebrew"
6562
- case this.HINDI_INDIA:
6563
- return "Hindi (India)"
6564
- case this.HUNGARIAN:
6565
- return "Hungarian"
6566
- case this.ICELANDIC:
6567
- return "Icelandic"
6568
- case this.INDONESIAN:
6569
- return "Indonesian"
6570
- case this.ITALIAN_ITALY:
6571
- return "Italian (Italy)"
6572
- case this.ITALIAN_SWITZERLAND:
6573
- return "Italian (Switzerland)"
6574
- case this.JAPANESE:
6575
- return "Japanese"
6576
- case this.KANNADA:
6577
- return "Kannada"
6578
- case this.KASHMIRI:
6579
- return "Kashmiri"
6580
- case this.KAZAKH:
6581
- return "Kazakh"
6582
- case this.KONKANI:
6583
- return "Konkani"
6584
- case this.KOREAN:
6585
- return "Korean"
6586
- case this.KYRGYZ_CYRILICK:
6587
- return "Kyrgyz (Cyrillic)"
6588
- case this.LAO:
6589
- return "Lao"
6590
- case this.LATVIAN:
6591
- return "Latvian"
6592
- case this.LITHUANIAN:
6593
- return "Lithuanian"
6594
- case this.FYRO_MACEDONIAN:
6595
- return "FYRO Macedonian"
6596
- case this.MALAY_MALAYSIA:
6597
- return "Malay (Malaysia)"
6598
- case this.MALAY_BRUNEI_DARUSSALAM:
6599
- return "Malay (Brunei Darussalam)"
6600
- case this.MARATHI:
6601
- return "Marathi"
6602
- case this.MONGOLIAN_CYRILIC:
6603
- return "Mongolian (Cyrillic)"
6604
- case this.NORWEGIAN_BOKMAL:
6605
- return "Norwegian (Bokmal)"
6606
- case this.NORWEGIAN_NYORSK:
6607
- return "Norwegian (Nynorsk)"
6608
- case this.PASHTO:
6609
- return "Pashto"
6610
- case this.POLISH:
6611
- return "Polish"
6612
- case this.PORTUGUESE_BRAZIL:
6613
- return "Portuguese (Brazil)"
6614
- case this.PORTUGUESE_PORTUGAL:
6615
- return "Portuguese (Portugal)"
6616
- case this.PUNJABI:
6617
- return "Punjabi"
6618
- case this.RHAETO_ROMANIC:
6619
- return "Rhaeto-Romanic"
6620
- case this.ROMANIAN:
6621
- return "Romanian"
6622
- case this.RUSSIAN:
6623
- return "Russian"
6624
- case this.SANSKRIT:
6625
- return "Sanskrit"
6626
- case this.SINDHI:
6627
- return "Sindhi"
6628
- case this.SINDHI_INDIA:
6629
- return "Sindhi (India)"
6630
- case this.SINHALA:
6631
- return "Sinhala"
6632
- case this.SERBIAN_CYRILIC:
6633
- return "Serbian (Cyrillic)"
6634
- case this.SERBIAN_LATIN:
6635
- return "Serbian (Latin)"
6636
- case this.SLOVAK:
6637
- return "Slovak"
6638
- case this.SLOVENIAN:
6639
- return "Slovenian"
6640
- case this.SPANISH_ARGENTINA:
6641
- return "Spanish (Argentina)"
6642
- case this.SPANISH_BOLIVIA:
6643
- return "Spanish (Bolivia)"
6644
- case this.SPANISH_CHILE:
6645
- return "Spanish (Chile)"
6646
- case this.SPANICH_COLOMBIA:
6647
- return "Spanish (Colombia)"
6648
- case this.SPANISH_COSTA_RICA:
6649
- return "Spanish (Costa Rica)"
6650
- case this.SPANISH_DOMINICAN_REPUBLIC:
6651
- return "Spanish (Dominican Republic)"
6652
- case this.SPANISH_ECUADOR:
6653
- return "Spanish (Ecuador)"
6654
- case this.SPANISH_EL_SALVADOR:
6655
- return "Spanish (El Salvador)"
6656
- case this.SPANISH_GUATEMALA:
6657
- return "Spanish (Guatemala)"
6658
- case this.SPANISH_HONDURAS:
6659
- return "Spanish (Honduras)"
6660
- case this.SPANISH_MEXICO:
6661
- return "Spanish (Mexico)"
6662
- case this.SPANISH_NICARAGUA:
6663
- return "Spanish (Nicaragua)"
6664
- case this.SPANISH_PANAMA:
6665
- return "Spanish (Panama)"
6666
- case this.SPANISH_PARAGUAY:
6667
- return "Spanish (Paraguay)"
6668
- case this.SPANISH_PERU:
6669
- return "Spanish (Peru)"
6670
- case this.SPANISH_PUERTO_RICO:
6671
- return "Spanish (Puerto Rico)"
6672
- case this.SPANISH_TRADITIONAL_SORT:
6673
- return "Spanish (Traditional Sort)"
6674
- case this.SPANISH_INTERNATIONAL_SORT:
6675
- return "Spanish (International Sort)"
6676
- case this.SPANISH_URUGUAY:
6677
- return "Spanish (Uruguay)"
6678
- case this.SPANISH_VENEZUELA:
6679
- return "Spanish (Venezuela)"
6680
- case this.SWAHILI:
6681
- return "Swahili"
6682
- case this.SWEDISH:
6683
- return "Swedish"
6684
- case this.SWEDISH_FINLAND:
6685
- return "Swedish (Finland)"
6686
- case this.SYRIAC:
6687
- return "Syriac"
6688
- case this.TAMIL:
6689
- return "Tamil"
6690
- case this.TATAR:
6691
- return "Tatar"
6692
- case this.TELUGU:
6693
- return "Telugu"
6694
- case this.THAI_THAILAND:
6695
- return "Thai (Thailand)"
6696
- case this.TURKISH:
6697
- return "Turkish"
6698
- case this.TAJIK_CYRILLIC:
6699
- return "Tajik (Cyrillic)"
6700
- case this.TURKMEN:
6701
- return "Turkmen"
6702
- case this.UKRAINIAN:
6703
- return "Ukrainian"
6704
- case this.URDU:
6705
- return "Urdu"
6706
- case this.UZBEK_CYRILIC:
6707
- return "Uzbek (Cyrillic)"
6708
- case this.UZBEK_LATIN:
6709
- return "Uzbek (Latin)"
6710
- case this.VIETNAMESE:
6711
- return "Vietnamese"
6712
- case this.CTC_SIMPLIFIED:
6713
- return "CTC Simplified"
6714
- case this.CTC_TRADITIONAL:
6715
- return "CTC Traditional"
6716
- default:
6717
- return value.toString()
6718
- }
6719
- }
6720
4119
  }
6721
4120
 
6722
4121
  export const DocReaderFrame = {
@@ -6736,19 +4135,6 @@ export const eRPRM_Lights = {
6736
4135
  RPRM_Light_IR_Full: (8 | 16),
6737
4136
  RPRM_LIGHT_OVD: 67108864,
6738
4137
  RPRM_LIGHT_WHITE_FULL_OVD: (6 | 67108864),
6739
-
6740
- getTranslation(value: number) {
6741
- switch (value) {
6742
- case this.RPRM_LIGHT_UV:
6743
- return "UV"
6744
- case this.RPRM_Light_IR_Full:
6745
- return "IR"
6746
- case this.RPRM_LIGHT_WHITE_FULL:
6747
- return "Visible light"
6748
- default:
6749
- return value.toString()
6750
- }
6751
- }
6752
4138
  }
6753
4139
 
6754
4140
  export const LineCap = {
@@ -6822,6 +4208,7 @@ export const Enum = {
6822
4208
  eProcessGLCommands,
6823
4209
  PKDResourceType,
6824
4210
  eRFID_AuthenticationProcedureType,
4211
+ DocumentReaderErrorCodes,
6825
4212
  ScenarioIdentifier,
6826
4213
  eRFID_AccessControl_ProcedureType,
6827
4214
  eRFID_NotificationCodes,
@@ -6884,6 +4271,9 @@ export default class DocumentReader {
6884
4271
  static selectedScenario(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6885
4272
  static getSessionLogFolder(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6886
4273
  static getDatabaseDescription(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4274
+ /**
4275
+ * @deprecated
4276
+ */
6887
4277
  static showScanner(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6888
4278
  static startNewPage(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6889
4279
  static startNewSession(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
@@ -6905,33 +4295,54 @@ export default class DocumentReader {
6905
4295
  static clearPKDCertificates(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6906
4296
  static readRFID(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6907
4297
  static getRfidSessionStatus(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6908
- static setRfidDelegate(delegate: int, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4298
+ static setRfidDelegate(delegate: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6909
4299
  static setEnableCoreLogs(logs: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6910
4300
  static addPKDCertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6911
4301
  static setCameraSessionIsPaused(paused: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6912
4302
  static setTag(tag: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6913
4303
  static checkDatabaseUpdate(databaseId: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6914
- static getScenario(scenario: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4304
+ static scan(config: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4305
+ static recognize(config: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4306
+ /**
4307
+ * @deprecated
4308
+ */
6915
4309
  static recognizeImages(images: string[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4310
+ /**
4311
+ * @deprecated
4312
+ */
6916
4313
  static showScannerWithCameraID(cameraID: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6917
4314
  static runAutoUpdate(databaseType: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6918
- static setConfig(config: object, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6919
- static setRfidScenario(scenario: object, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6920
- static initializeReader(config: object, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4315
+ static setConfig(config: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4316
+ static setRfidScenario(scenario: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4317
+ static initializeReader(config: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6921
4318
  static prepareDatabase(databaseType: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4319
+ /**
4320
+ * @deprecated
4321
+ */
6922
4322
  static recognizeImage(image: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6923
- static recognizeData(data: byte[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4323
+ /**
4324
+ * @deprecated
4325
+ */
4326
+ static recognizeData(data: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6924
4327
  static setRfidSessionStatus(status: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6925
4328
  static providePACertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6926
4329
  static provideTACertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6927
- static provideTASignature(signature: byte[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4330
+ static provideTASignature(signature: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6928
4331
  static parseCoreResults(json: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6929
- static setTCCParams(params: object, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6930
- static recognizeImageWithOpts(image: string, options: object, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6931
- static recognizeVideoFrame(byteString: string, params: ImageInputParam, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6932
- static showScannerWithCameraIDAndOpts(cameraID: number, options: object, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4332
+ static setTCCParams(params: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4333
+ /**
4334
+ * @deprecated
4335
+ */
4336
+ static recognizeImageWithOpts(image: string, options: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4337
+ static recognizeVideoFrame(byteString: string, params: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4338
+ /**
4339
+ * @deprecated
4340
+ */
4341
+ static showScannerWithCameraIDAndOpts(cameraID: number, options: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6933
4342
  static recognizeImageWithCameraMode(image: string, mode: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
4343
+ /**
4344
+ * @deprecated
4345
+ */
6934
4346
  static recognizeImagesWithImageInputs(images: ImageInputData[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6935
- static setOnCustomButtonTappedListener(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6936
4347
  static setLanguage(language: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
6937
4348
  }