@regulaforensics/cordova-plugin-document-reader-api 5.4.0 → 5.8.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.
- package/README.md +4 -3
- package/example/config.xml +1 -1
- package/example/package.json +7 -5
- package/example/www/index.html +6 -1
- package/example/www/js/index.js +61 -7
- package/package.json +1 -1
- package/plugin.xml +5 -4
- package/src/android/DocumentReader.java +227 -20
- package/src/android/Helpers.java +146 -0
- package/src/android/JSONConstructor.java +1830 -507
- package/src/android/RegulaConfig.java +85 -18
- package/src/android/build.gradle +11 -11
- package/src/ios/RGLDocumentReader.h +8 -3
- package/src/ios/RGLDocumentReader.m +163 -12
- package/src/ios/RGLWJSONConstructor.h +60 -0
- package/src/ios/RGLWJSONConstructor.m +918 -0
- package/src/ios/RegulaConfig.h +2 -0
- package/src/ios/RegulaConfig.m +128 -33
- package/www/DocumentReader.js +902 -667
- package/src/ios/JSONConstructor.h +0 -33
- package/src/ios/JSONConstructor.m +0 -821
package/www/DocumentReader.js
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
// Classes
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class DocumentReaderScenario {
|
|
5
5
|
static fromJson(jsonObject) {
|
|
6
6
|
if (jsonObject == null) return null
|
|
7
|
-
const result = new
|
|
7
|
+
const result = new DocumentReaderScenario()
|
|
8
|
+
|
|
9
|
+
result.uvTorch = jsonObject["uvTorch"]
|
|
10
|
+
result.seriesProcessMode = jsonObject["seriesProcessMode"]
|
|
11
|
+
result.name = jsonObject["name"]
|
|
12
|
+
result.caption = jsonObject["caption"]
|
|
13
|
+
result.description = jsonObject["description"]
|
|
14
|
+
|
|
15
|
+
return result
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
class DocumentReaderScenarioFull {
|
|
20
|
+
static fromJson(jsonObject) {
|
|
21
|
+
if (jsonObject == null) return null
|
|
22
|
+
const result = new DocumentReaderScenarioFull()
|
|
8
23
|
|
|
9
|
-
result.frame = jsonObject["frame"]
|
|
10
|
-
result.frameOrientation = jsonObject["frameOrientation"]
|
|
11
24
|
result.uvTorch = jsonObject["uvTorch"]
|
|
12
|
-
result.
|
|
25
|
+
result.frameOrientation = jsonObject["frameOrientation"]
|
|
13
26
|
result.faceExt = jsonObject["faceExt"]
|
|
14
27
|
result.multiPageOff = jsonObject["multiPageOff"]
|
|
15
28
|
result.seriesProcessMode = jsonObject["seriesProcessMode"]
|
|
@@ -20,6 +33,34 @@ class Scenario {
|
|
|
20
33
|
result.name = jsonObject["name"]
|
|
21
34
|
result.caption = jsonObject["caption"]
|
|
22
35
|
result.description = jsonObject["description"]
|
|
36
|
+
result.manualCrop = jsonObject["manualCrop"]
|
|
37
|
+
|
|
38
|
+
return result
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
class FaceMetaData {
|
|
43
|
+
static fromJson(jsonObject) {
|
|
44
|
+
if (jsonObject == null) return null
|
|
45
|
+
const result = new FaceMetaData()
|
|
46
|
+
|
|
47
|
+
result.ID = jsonObject["ID"]
|
|
48
|
+
result.rollAngle = jsonObject["rollAngle"]
|
|
49
|
+
result.bounds = Bounds.fromJson(jsonObject["bounds"])
|
|
50
|
+
|
|
51
|
+
return result
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
class Bounds {
|
|
56
|
+
static fromJson(jsonObject) {
|
|
57
|
+
if (jsonObject == null) return null
|
|
58
|
+
const result = new Bounds()
|
|
59
|
+
|
|
60
|
+
result.x = jsonObject["x"]
|
|
61
|
+
result.y = jsonObject["y"]
|
|
62
|
+
result.width = jsonObject["width"]
|
|
63
|
+
result.height = jsonObject["height"]
|
|
23
64
|
|
|
24
65
|
return result
|
|
25
66
|
}
|
|
@@ -39,6 +80,20 @@ class Rect {
|
|
|
39
80
|
}
|
|
40
81
|
}
|
|
41
82
|
|
|
83
|
+
class DocReaderFieldRect {
|
|
84
|
+
static fromJson(jsonObject) {
|
|
85
|
+
if (jsonObject == null) return null
|
|
86
|
+
const result = new DocReaderFieldRect()
|
|
87
|
+
|
|
88
|
+
result.bottom = jsonObject["bottom"]
|
|
89
|
+
result.top = jsonObject["top"]
|
|
90
|
+
result.left = jsonObject["left"]
|
|
91
|
+
result.right = jsonObject["right"]
|
|
92
|
+
|
|
93
|
+
return result
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
42
97
|
class DocumentReaderGraphicField {
|
|
43
98
|
static fromJson(jsonObject) {
|
|
44
99
|
if (jsonObject == null) return null
|
|
@@ -51,7 +106,7 @@ class DocumentReaderGraphicField {
|
|
|
51
106
|
result.fieldName = jsonObject["fieldName"]
|
|
52
107
|
result.lightName = jsonObject["lightName"]
|
|
53
108
|
result.value = jsonObject["value"]
|
|
54
|
-
result.fieldRect =
|
|
109
|
+
result.fieldRect = DocReaderFieldRect.fromJson(jsonObject["fieldRect"])
|
|
55
110
|
|
|
56
111
|
return result
|
|
57
112
|
}
|
|
@@ -173,10 +228,6 @@ class ImageQuality {
|
|
|
173
228
|
result.featureType = jsonObject["featureType"]
|
|
174
229
|
result.result = jsonObject["result"]
|
|
175
230
|
result.type = jsonObject["type"]
|
|
176
|
-
result.boundRects = []
|
|
177
|
-
if (jsonObject["boundRects"] != null)
|
|
178
|
-
for (const i in jsonObject["boundRects"])
|
|
179
|
-
result.boundRects.push(Rect.fromJson(jsonObject["boundRects"][i]))
|
|
180
231
|
|
|
181
232
|
return result
|
|
182
233
|
}
|
|
@@ -193,6 +244,7 @@ class ImageQualityGroup {
|
|
|
193
244
|
if (jsonObject["imageQualityList"] != null)
|
|
194
245
|
for (const i in jsonObject["imageQualityList"])
|
|
195
246
|
result.imageQualityList.push(ImageQuality.fromJson(jsonObject["imageQualityList"][i]))
|
|
247
|
+
result.pageIndex = jsonObject["pageIndex"]
|
|
196
248
|
|
|
197
249
|
return result
|
|
198
250
|
}
|
|
@@ -228,8 +280,8 @@ class DocumentReaderNotification {
|
|
|
228
280
|
const result = new DocumentReaderNotification()
|
|
229
281
|
|
|
230
282
|
result.code = jsonObject["code"]
|
|
231
|
-
result.value = jsonObject["value"]
|
|
232
283
|
result.number = jsonObject["number"]
|
|
284
|
+
result.value = jsonObject["value"]
|
|
233
285
|
|
|
234
286
|
return result
|
|
235
287
|
}
|
|
@@ -660,7 +712,25 @@ class DocumentReaderCompletion {
|
|
|
660
712
|
|
|
661
713
|
result.action = jsonObject["action"]
|
|
662
714
|
result.results = DocumentReaderResults.fromJson(jsonObject["results"])
|
|
663
|
-
result.error =
|
|
715
|
+
result.error = DocumentReaderException.fromJson(jsonObject["error"])
|
|
716
|
+
|
|
717
|
+
return result
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
class DocumentReaderException {
|
|
722
|
+
static fromJson(jsonObject) {
|
|
723
|
+
if (jsonObject == null) return null
|
|
724
|
+
const result = new DocumentReaderException()
|
|
725
|
+
|
|
726
|
+
result.errorCode = jsonObject["errorCode"]
|
|
727
|
+
result.localizedMessage = jsonObject["localizedMessage"]
|
|
728
|
+
result.message = jsonObject["message"]
|
|
729
|
+
result.string = jsonObject["string"]
|
|
730
|
+
result.stackTrace = []
|
|
731
|
+
if (jsonObject["stackTrace"] != null)
|
|
732
|
+
for (const i in jsonObject["stackTrace"])
|
|
733
|
+
result.stackTrace.push(StackTraceElement.fromJson(jsonObject["stackTrace"][i]))
|
|
664
734
|
|
|
665
735
|
return result
|
|
666
736
|
}
|
|
@@ -671,8 +741,6 @@ class Throwable {
|
|
|
671
741
|
if (jsonObject == null) return null
|
|
672
742
|
const result = new Throwable()
|
|
673
743
|
|
|
674
|
-
result.code = jsonObject["code"]
|
|
675
|
-
result.domain = jsonObject["domain"]
|
|
676
744
|
result.localizedMessage = jsonObject["localizedMessage"]
|
|
677
745
|
result.message = jsonObject["message"]
|
|
678
746
|
result.string = jsonObject["string"]
|
|
@@ -701,6 +769,81 @@ class StackTraceElement {
|
|
|
701
769
|
}
|
|
702
770
|
}
|
|
703
771
|
|
|
772
|
+
class PKDCertificate {
|
|
773
|
+
static fromJson(jsonObject) {
|
|
774
|
+
if (jsonObject == null) return null
|
|
775
|
+
const result = new PKDCertificate()
|
|
776
|
+
|
|
777
|
+
result.binaryData = jsonObject["binaryData"]
|
|
778
|
+
result.resourceType = jsonObject["resourceType"]
|
|
779
|
+
result.privateKey = jsonObject["privateKey"]
|
|
780
|
+
|
|
781
|
+
return result
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
class ImageInputParam {
|
|
786
|
+
static fromJson(jsonObject) {
|
|
787
|
+
if (jsonObject == null) return null
|
|
788
|
+
const result = new ImageInputParam()
|
|
789
|
+
|
|
790
|
+
result.width = jsonObject["width"]
|
|
791
|
+
result.height = jsonObject["height"]
|
|
792
|
+
result.type = jsonObject["type"]
|
|
793
|
+
|
|
794
|
+
return result
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
class PAResourcesIssuer {
|
|
799
|
+
static fromJson(jsonObject) {
|
|
800
|
+
if (jsonObject == null) return null
|
|
801
|
+
const result = new PAResourcesIssuer()
|
|
802
|
+
|
|
803
|
+
result.data = []
|
|
804
|
+
if (jsonObject["data"] != null)
|
|
805
|
+
for (const i in jsonObject["data"])
|
|
806
|
+
result.data.push(jsonObject["data"][i])
|
|
807
|
+
result.friendlyName = jsonObject["friendlyName"]
|
|
808
|
+
result.attributes = []
|
|
809
|
+
if (jsonObject["attributes"] != null)
|
|
810
|
+
for (const i in jsonObject["attributes"])
|
|
811
|
+
result.attributes.push(PAAttribute.fromJson(jsonObject["attributes"][i]))
|
|
812
|
+
|
|
813
|
+
return result
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
class PAAttribute {
|
|
818
|
+
static fromJson(jsonObject) {
|
|
819
|
+
if (jsonObject == null) return null
|
|
820
|
+
const result = new PAAttribute()
|
|
821
|
+
|
|
822
|
+
result.type = jsonObject["type"]
|
|
823
|
+
result.value = jsonObject["value"]
|
|
824
|
+
|
|
825
|
+
return result
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
class TAChallenge {
|
|
830
|
+
static fromJson(jsonObject) {
|
|
831
|
+
if (jsonObject == null) return null
|
|
832
|
+
const result = new TAChallenge()
|
|
833
|
+
|
|
834
|
+
result.data = []
|
|
835
|
+
if (jsonObject["data"] != null)
|
|
836
|
+
for (const i in jsonObject["data"])
|
|
837
|
+
result.data.push(jsonObject["data"][i])
|
|
838
|
+
result.auxPCD = jsonObject["auxPCD"]
|
|
839
|
+
result.challengePICC = jsonObject["challengePICC"]
|
|
840
|
+
result.hashPK = jsonObject["hashPK"]
|
|
841
|
+
result.idPICC = jsonObject["idPICC"]
|
|
842
|
+
|
|
843
|
+
return result
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
704
847
|
class DocumentReaderResults {
|
|
705
848
|
getTextFieldValueByType({ fieldType, lcid = 0, source = -1, original = false }) {
|
|
706
849
|
if (this.textResult == null) return null
|
|
@@ -740,11 +883,19 @@ class DocumentReaderResults {
|
|
|
740
883
|
return foundFields[0].value
|
|
741
884
|
}
|
|
742
885
|
|
|
743
|
-
getQualityResult(imageQualityCheckType, securityFeature = -1) {
|
|
886
|
+
getQualityResult(imageQualityCheckType, securityFeature = -1, pageIndex = 0) {
|
|
744
887
|
let resultSum = 2
|
|
745
888
|
if (this.imageQuality == null) return resultSum
|
|
746
889
|
|
|
747
|
-
|
|
890
|
+
let imageQualityGroup
|
|
891
|
+
|
|
892
|
+
for (const iq of this.imageQuality)
|
|
893
|
+
if (iq != null && iq.pageIndex === pageIndex)
|
|
894
|
+
imageQualityGroup = iq
|
|
895
|
+
if (imageQualityGroup == null)
|
|
896
|
+
return resultSum
|
|
897
|
+
|
|
898
|
+
for (const field of imageQualityGroup.imageQualityList)
|
|
748
899
|
if (field.type === imageQualityCheckType)
|
|
749
900
|
if (securityFeature === -1) {
|
|
750
901
|
if (field.result === 0) {
|
|
@@ -817,10 +968,22 @@ class DocumentReaderResults {
|
|
|
817
968
|
result.highResolution = jsonObject["highResolution"]
|
|
818
969
|
result.graphicResult = DocumentReaderGraphicResult.fromJson(jsonObject["graphicResult"])
|
|
819
970
|
result.textResult = DocumentReaderTextResult.fromJson(jsonObject["textResult"])
|
|
820
|
-
result.documentPosition =
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
971
|
+
result.documentPosition = []
|
|
972
|
+
if (jsonObject["documentPosition"] != null)
|
|
973
|
+
for (const i in jsonObject["documentPosition"])
|
|
974
|
+
result.documentPosition.push(ElementPosition.fromJson(jsonObject["documentPosition"][i]))
|
|
975
|
+
result.barcodePosition = []
|
|
976
|
+
if (jsonObject["barcodePosition"] != null)
|
|
977
|
+
for (const i in jsonObject["barcodePosition"])
|
|
978
|
+
result.barcodePosition.push(ElementPosition.fromJson(jsonObject["barcodePosition"][i]))
|
|
979
|
+
result.mrzPosition = []
|
|
980
|
+
if (jsonObject["mrzPosition"] != null)
|
|
981
|
+
for (const i in jsonObject["mrzPosition"])
|
|
982
|
+
result.mrzPosition.push(ElementPosition.fromJson(jsonObject["mrzPosition"][i]))
|
|
983
|
+
result.imageQuality = []
|
|
984
|
+
if (jsonObject["imageQuality"] != null)
|
|
985
|
+
for (const i in jsonObject["imageQuality"])
|
|
986
|
+
result.imageQuality.push(ImageQualityGroup.fromJson(jsonObject["imageQuality"][i]))
|
|
824
987
|
result.rawResult = jsonObject["rawResult"]
|
|
825
988
|
result.documentReaderNotification = DocumentReaderNotification.fromJson(jsonObject["documentReaderNotification"])
|
|
826
989
|
result.rfidSessionData = RFIDSessionData.fromJson(jsonObject["rfidSessionData"])
|
|
@@ -1165,15 +1328,18 @@ const DocReaderFrame = {
|
|
|
1165
1328
|
}
|
|
1166
1329
|
|
|
1167
1330
|
const DocReaderOrientation = {
|
|
1168
|
-
|
|
1331
|
+
ALL: 0,
|
|
1169
1332
|
PORTRAIT: 1,
|
|
1170
1333
|
LANDSCAPE: 2,
|
|
1334
|
+
LANDSCAPE_LEFT: 3,
|
|
1335
|
+
LANDSCAPE_RIGHT: 4,
|
|
1171
1336
|
}
|
|
1172
1337
|
|
|
1173
|
-
const
|
|
1338
|
+
const DocumentReaderExceptionEnum = {
|
|
1174
1339
|
NATIVE_JAVA_EXCEPTION: 0,
|
|
1175
1340
|
DOCUMENT_READER_STATE_EXCEPTION: 1,
|
|
1176
1341
|
DOCUMENT_READER_WRONG_INPUT: 2,
|
|
1342
|
+
INITIALIZATION_FAILED: 3,
|
|
1177
1343
|
DOCUMENT_READER_BLE_EXCEPTION: 201,
|
|
1178
1344
|
DB_DOWNLOAD_ERROR: 301,
|
|
1179
1345
|
LICENSE_ABSENT_OR_CORRUPTED: 101,
|
|
@@ -1183,6 +1349,9 @@ const DocumentReaderException = {
|
|
|
1183
1349
|
LICENSE_INVALID_SYSTEM_OR_APP_ID: 105,
|
|
1184
1350
|
LICENSE_NO_CAPABILITIES: 106,
|
|
1185
1351
|
LICENSE_NO_AUTHENTICITY: 107,
|
|
1352
|
+
LICENSE_NO_DATABASE: 110,
|
|
1353
|
+
LICENSE_DATABASE_INCORRECT: 111,
|
|
1354
|
+
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: 701,
|
|
1186
1355
|
}
|
|
1187
1356
|
|
|
1188
1357
|
const eCheckDiagnose = {
|
|
@@ -1367,8 +1536,11 @@ const eImageQualityCheckType = {
|
|
|
1367
1536
|
IQC_IMAGE_GLARES: 0,
|
|
1368
1537
|
IQC_IMAGE_FOCUS: 1,
|
|
1369
1538
|
IQC_IMAGE_RESOLUTION: 2,
|
|
1370
|
-
|
|
1371
|
-
|
|
1539
|
+
IQC_IMAGE_COLORNESS: 3,
|
|
1540
|
+
IQC_PERSPECTIVE: 4,
|
|
1541
|
+
IQC_BOUNDS: 5,
|
|
1542
|
+
IQC_SCREEN_CAPTURE: 6,
|
|
1543
|
+
IQC_PORTRAIT: 7,
|
|
1372
1544
|
}
|
|
1373
1545
|
|
|
1374
1546
|
const eProcessGLCommands = {
|
|
@@ -1515,8 +1687,6 @@ const eRFID_DataFile_Type = {
|
|
|
1515
1687
|
switch (value) {
|
|
1516
1688
|
case this.DFT_MIFARE_DATA:
|
|
1517
1689
|
return "MIFARE data"
|
|
1518
|
-
case this.DFT_PASSPORT_COM:
|
|
1519
|
-
return "EF.COM"
|
|
1520
1690
|
case this.DFT_DL_COM:
|
|
1521
1691
|
return "EF.COM"
|
|
1522
1692
|
case this.DFT_PASSPORT_DG1:
|
|
@@ -1629,8 +1799,6 @@ const eRFID_DataFile_Type = {
|
|
|
1629
1799
|
return "Residence permit 2" + " (DG20)"
|
|
1630
1800
|
case this.DFT_ID_DG21:
|
|
1631
1801
|
return "Optional details" + " (DG21)"
|
|
1632
|
-
case this.DFT_PASSPORT_SOD:
|
|
1633
|
-
return "EF.SOD"
|
|
1634
1802
|
case this.DFT_DL_SOD:
|
|
1635
1803
|
return "EF.SOD"
|
|
1636
1804
|
case this.DFT_PASSPORT_CVCA:
|
|
@@ -1649,8 +1817,6 @@ const eRFID_DataFile_Type = {
|
|
|
1649
1817
|
return "App directory"
|
|
1650
1818
|
case this.DFT_ATR:
|
|
1651
1819
|
return "DFT_ATR"
|
|
1652
|
-
case this.DFT_AUTHENTICITYV2:
|
|
1653
|
-
return "DFT_CHIP_PROPERTIES"
|
|
1654
1820
|
case this.DFT_CHIP_PROPERTIES:
|
|
1655
1821
|
return "DFT_CHIP_PROPERTIES"
|
|
1656
1822
|
case this.DFT_DEFECTLIST:
|
|
@@ -1882,7 +2048,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
1882
2048
|
case -2147483600:
|
|
1883
2049
|
return "Error - ICAO LDS object: Unsupported digest algorithm"
|
|
1884
2050
|
case -2147483599:
|
|
1885
|
-
return "Error - ICAO Signed data: Signer
|
|
2051
|
+
return "Error - ICAO Signed data: Signer info empty"
|
|
1886
2052
|
case -2147483598:
|
|
1887
2053
|
return "Error - ICAO Signer info: Unsupported digest algorithm"
|
|
1888
2054
|
case -2147483597:
|
|
@@ -1892,7 +2058,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
1892
2058
|
case -2147483594:
|
|
1893
2059
|
return "Error - ICAO Signer info: Signed attributes missed"
|
|
1894
2060
|
case -2147483595:
|
|
1895
|
-
return "Error - Auth: Signer info
|
|
2061
|
+
return "Error - Auth: Signer info cannot find certificate"
|
|
1896
2062
|
case -2147483568:
|
|
1897
2063
|
return "Error - Auth: Error"
|
|
1898
2064
|
case -2147483567:
|
|
@@ -1938,7 +2104,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
1938
2104
|
case -2130706391:
|
|
1939
2105
|
return "Error - PACE: Mapping Cannot Perform"
|
|
1940
2106
|
case -2130706390:
|
|
1941
|
-
return "Error - PACE: Non
|
|
2107
|
+
return "Error - PACE: Non-Matching Auth Tokens"
|
|
1942
2108
|
case -2130706384:
|
|
1943
2109
|
return "Error - CA: Cannot Find Public Key"
|
|
1944
2110
|
case -2130706383:
|
|
@@ -1956,7 +2122,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
1956
2122
|
case -2130706377:
|
|
1957
2123
|
return "Error - CA: Shared Secret Cannot Create"
|
|
1958
2124
|
case -2130706376:
|
|
1959
|
-
return "Error - CA: Non
|
|
2125
|
+
return "Error - CA: Non-Matching Auth Tokens"
|
|
1960
2126
|
case -2130706368:
|
|
1961
2127
|
return "Error - TA: Incorrect Version"
|
|
1962
2128
|
case -2130706367:
|
|
@@ -2026,7 +2192,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2026
2192
|
case -1879048191:
|
|
2027
2193
|
return "Notification - ASN certificate: Incorrect version"
|
|
2028
2194
|
case -1879048190:
|
|
2029
|
-
return "Notification - ASN certificate: Non
|
|
2195
|
+
return "Notification - ASN certificate: Non-matching signature algorithm"
|
|
2030
2196
|
case -1879048189:
|
|
2031
2197
|
return "Notification - ASN certificate: Incorrect time coding"
|
|
2032
2198
|
case -1879048188:
|
|
@@ -2054,15 +2220,15 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2054
2220
|
case -1879047677:
|
|
2055
2221
|
return "Notification - ICAO certificate: Issuer common name missed"
|
|
2056
2222
|
case -1879047676:
|
|
2057
|
-
return "Notification - ICAO certificate: Issuer country non
|
|
2223
|
+
return "Notification - ICAO certificate: Issuer country non-compliant"
|
|
2058
2224
|
case -1879047675:
|
|
2059
2225
|
return "Notification - ICAO certificate: Subject country missed"
|
|
2060
2226
|
case -1879047674:
|
|
2061
2227
|
return "Notification - ICAO certificate: Subject common name missed"
|
|
2062
2228
|
case -1879047673:
|
|
2063
|
-
return "Notification - ICAO certificate: Subject country non
|
|
2229
|
+
return "Notification - ICAO certificate: Subject country non-compliant"
|
|
2064
2230
|
case -1879047672:
|
|
2065
|
-
return "Notification - ICAO certificate: Using non
|
|
2231
|
+
return "Notification - ICAO certificate: Using non-compliant data"
|
|
2066
2232
|
case -1879047671:
|
|
2067
2233
|
return "Notification - ICAO certificate: Unsupported signature algorithm"
|
|
2068
2234
|
case -1879047670:
|
|
@@ -2072,7 +2238,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2072
2238
|
case -1879047668:
|
|
2073
2239
|
return "Notification - ICAO certificate: Validity"
|
|
2074
2240
|
case -1879047667:
|
|
2075
|
-
return "Notification - ICAO certificate extension: Using non
|
|
2241
|
+
return "Notification - ICAO certificate extension: Using non-compliant data"
|
|
2076
2242
|
case -1879047666:
|
|
2077
2243
|
return "Notification - ICAO certificate extension: Key usage missed"
|
|
2078
2244
|
case -1879047665:
|
|
@@ -2122,13 +2288,13 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2122
2288
|
case -1879047643:
|
|
2123
2289
|
return "Notification - ICAO certificate extension: Subject alt name empty"
|
|
2124
2290
|
case -1879047642:
|
|
2125
|
-
return "Notification - ICAO certificate extension: Subject alt name non
|
|
2291
|
+
return "Notification - ICAO certificate extension: Subject alt name non-compliant"
|
|
2126
2292
|
case -1879047639:
|
|
2127
2293
|
return "Notification - ICAO certificate extension: Subject alt name DN empty"
|
|
2128
2294
|
case -1879047638:
|
|
2129
2295
|
return "Notification - ICAO certificate extension: Subject alt name DN incorrect"
|
|
2130
2296
|
case -1879047637:
|
|
2131
|
-
return "Notification - ICAO certificate extension: Subject alt name DN non
|
|
2297
|
+
return "Notification - ICAO certificate extension: Subject alt name DN non-compliant"
|
|
2132
2298
|
case -1879047636:
|
|
2133
2299
|
return "Notification - ICAO certificate extension: Issuer alt name missed"
|
|
2134
2300
|
case -1879047635:
|
|
@@ -2136,13 +2302,13 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2136
2302
|
case -1879047634:
|
|
2137
2303
|
return "Notification - ICAO certificate extension: Issuer alt name empty"
|
|
2138
2304
|
case -1879047633:
|
|
2139
|
-
return "Notification - ICAO certificate extension: Issuer alt name non
|
|
2305
|
+
return "Notification - ICAO certificate extension: Issuer alt name non-compliant"
|
|
2140
2306
|
case -1879047630:
|
|
2141
2307
|
return "Notification - ICAO certificate extension: Issuer alt name DN empty"
|
|
2142
2308
|
case -1879047629:
|
|
2143
2309
|
return "Notification - ICAO certificate extension: Issuer alt name DN incorrect"
|
|
2144
2310
|
case -1879047628:
|
|
2145
|
-
return "Notification - ICAO certificate extension: Issuer alt name DN non
|
|
2311
|
+
return "Notification - ICAO certificate extension: Issuer alt name DN non-compliant"
|
|
2146
2312
|
case -1879047627:
|
|
2147
2313
|
return "Notification - ICAO certificate extension Doc type list: Missed"
|
|
2148
2314
|
case -1879047626:
|
|
@@ -2248,7 +2414,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2248
2414
|
case -1879047914:
|
|
2249
2415
|
return "Notification - Auth signer info: Certificate root is not trusted"
|
|
2250
2416
|
case -1879047913:
|
|
2251
|
-
return "Notification - Auth signer info: Certificate
|
|
2417
|
+
return "Notification - Auth signer info: Certificate cannot find CSCA"
|
|
2252
2418
|
case -1879047912:
|
|
2253
2419
|
return "Notification - Auth signer info: Certificate revoked"
|
|
2254
2420
|
case -1879047911:
|
|
@@ -2408,7 +2574,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2408
2574
|
case -1845493482:
|
|
2409
2575
|
return "Notification - Auth ML signer info: Certificate root is not trusted"
|
|
2410
2576
|
case -1845493481:
|
|
2411
|
-
return "Notification - Auth ML signer info: Certificate
|
|
2577
|
+
return "Notification - Auth ML signer info: Certificate cannot find CSCA"
|
|
2412
2578
|
case -1845493480:
|
|
2413
2579
|
return "Notification - Auth ML signer info: Certificate revoked"
|
|
2414
2580
|
case -1845493479:
|
|
@@ -2510,7 +2676,7 @@ const eRFID_NotificationAndErrorCodes = {
|
|
|
2510
2676
|
case -2147458112:
|
|
2511
2677
|
return "LAYER6: PWD Blocked"
|
|
2512
2678
|
case -2147458429:
|
|
2513
|
-
return "LAYER6: PWD
|
|
2679
|
+
return "LAYER6: PWD Deactivated"
|
|
2514
2680
|
case -2147456637:
|
|
2515
2681
|
return "LAYER6: PWD Blocked 2"
|
|
2516
2682
|
case -2147456636:
|
|
@@ -3336,1157 +3502,1205 @@ const eVisualFieldType = {
|
|
|
3336
3502
|
FT_DLCLASSCODE_CA_FROM: 622,
|
|
3337
3503
|
FT_DLCLASSCODE_CA_TO: 623,
|
|
3338
3504
|
FT_DLCLASSCODE_CA_NOTES: 624,
|
|
3505
|
+
FT_CITIZENSHIP_STATUS: 625,
|
|
3506
|
+
FT_MILITARY_SERVICE_FROM: 626,
|
|
3507
|
+
FT_MILITARY_SERVICE_TO: 627,
|
|
3508
|
+
FT_DLCLASSCODE_NT_FROM: 628,
|
|
3509
|
+
FT_DLCLASSCODE_NT_TO: 629,
|
|
3510
|
+
FT_DLCLASSCODE_NT_NOTES: 630,
|
|
3511
|
+
FT_DLCLASSCODE_TN_FROM: 631,
|
|
3512
|
+
FT_DLCLASSCODE_TN_TO: 632,
|
|
3513
|
+
FT_DLCLASSCODE_TN_NOTES: 633,
|
|
3514
|
+
FT_DLCLASSCODE_D3_FROM: 634,
|
|
3515
|
+
FT_DLCLASSCODE_D3_TO: 635,
|
|
3516
|
+
FT_DLCLASSCODE_D3_NOTES: 636,
|
|
3517
|
+
FT_ALT_DATE_OF_EXPIRY: 637,
|
|
3518
|
+
FT_DLCLASSCODE_CD_FROM: 638,
|
|
3519
|
+
FT_DLCLASSCODE_CD_TO: 639,
|
|
3520
|
+
FT_DLCLASSCODE_CD_NOTES: 640,
|
|
3339
3521
|
|
|
3340
3522
|
getTranslation: function (value) {
|
|
3341
3523
|
switch (value) {
|
|
3342
|
-
case
|
|
3524
|
+
case 0:
|
|
3343
3525
|
return "Document class code"
|
|
3344
|
-
case
|
|
3526
|
+
case 1:
|
|
3345
3527
|
return "Issuing state code"
|
|
3346
|
-
case
|
|
3528
|
+
case 2:
|
|
3347
3529
|
return "Document number"
|
|
3348
|
-
case
|
|
3530
|
+
case 3:
|
|
3349
3531
|
return "Date of expiry"
|
|
3350
|
-
case
|
|
3532
|
+
case 4:
|
|
3351
3533
|
return "Date of issue"
|
|
3352
|
-
case
|
|
3534
|
+
case 5:
|
|
3353
3535
|
return "Date of birth"
|
|
3354
|
-
case
|
|
3536
|
+
case 6:
|
|
3355
3537
|
return "Place of birth"
|
|
3356
|
-
case
|
|
3538
|
+
case 7:
|
|
3357
3539
|
return "Personal number"
|
|
3358
|
-
case
|
|
3540
|
+
case 8:
|
|
3359
3541
|
return "Surname"
|
|
3360
|
-
case
|
|
3542
|
+
case 9:
|
|
3361
3543
|
return "Given name"
|
|
3362
|
-
case
|
|
3544
|
+
case 10:
|
|
3363
3545
|
return "Mother\'s name"
|
|
3364
|
-
case
|
|
3546
|
+
case 11:
|
|
3365
3547
|
return "Nationality"
|
|
3366
|
-
case
|
|
3548
|
+
case 12:
|
|
3367
3549
|
return "Sex"
|
|
3368
|
-
case
|
|
3550
|
+
case 13:
|
|
3369
3551
|
return "Height"
|
|
3370
|
-
case
|
|
3552
|
+
case 14:
|
|
3371
3553
|
return "Weight"
|
|
3372
|
-
case
|
|
3554
|
+
case 15:
|
|
3373
3555
|
return "Eye color"
|
|
3374
|
-
case
|
|
3556
|
+
case 16:
|
|
3375
3557
|
return "Hair color"
|
|
3376
|
-
case
|
|
3558
|
+
case 17:
|
|
3377
3559
|
return "Address"
|
|
3378
|
-
case
|
|
3560
|
+
case 18:
|
|
3379
3561
|
return "Donor"
|
|
3380
|
-
case
|
|
3562
|
+
case 19:
|
|
3381
3563
|
return "Social insurance number"
|
|
3382
|
-
case
|
|
3564
|
+
case 20:
|
|
3383
3565
|
return "DL category"
|
|
3384
|
-
case
|
|
3566
|
+
case 21:
|
|
3385
3567
|
return "DL endorsement code"
|
|
3386
|
-
case
|
|
3568
|
+
case 22:
|
|
3387
3569
|
return "DL Restriction Code"
|
|
3388
|
-
case
|
|
3570
|
+
case 23:
|
|
3389
3571
|
return "Date of 21st birthday"
|
|
3390
|
-
case
|
|
3572
|
+
case 24:
|
|
3391
3573
|
return "Issuing authority"
|
|
3392
|
-
case
|
|
3574
|
+
case 25:
|
|
3393
3575
|
return "Surname and given names"
|
|
3394
|
-
case
|
|
3576
|
+
case 26:
|
|
3395
3577
|
return "Nationality code"
|
|
3396
|
-
case
|
|
3578
|
+
case 27:
|
|
3397
3579
|
return "Passport number"
|
|
3398
|
-
case
|
|
3580
|
+
case 28:
|
|
3399
3581
|
return "Invitation number"
|
|
3400
|
-
case
|
|
3582
|
+
case 29:
|
|
3401
3583
|
return "Visa ID"
|
|
3402
|
-
case
|
|
3584
|
+
case 30:
|
|
3403
3585
|
return "Visa Class"
|
|
3404
|
-
case
|
|
3586
|
+
case 31:
|
|
3405
3587
|
return "Visa subclass"
|
|
3406
|
-
case
|
|
3588
|
+
case 32:
|
|
3407
3589
|
return "MRZ line 1"
|
|
3408
|
-
case
|
|
3590
|
+
case 33:
|
|
3409
3591
|
return "MRZ line 2"
|
|
3410
|
-
case
|
|
3592
|
+
case 34:
|
|
3411
3593
|
return "MRZ line 3"
|
|
3412
|
-
case
|
|
3594
|
+
case 35:
|
|
3413
3595
|
return "MRZ Type"
|
|
3414
|
-
case
|
|
3596
|
+
case 36:
|
|
3415
3597
|
return "Optional data"
|
|
3416
|
-
case
|
|
3598
|
+
case 37:
|
|
3417
3599
|
return "Document class"
|
|
3418
|
-
case
|
|
3600
|
+
case 38:
|
|
3419
3601
|
return "Issuing state"
|
|
3420
|
-
case
|
|
3602
|
+
case 39:
|
|
3421
3603
|
return "Place of issue"
|
|
3422
|
-
case
|
|
3604
|
+
case 40:
|
|
3423
3605
|
return "Checksum for document number"
|
|
3424
|
-
case
|
|
3606
|
+
case 41:
|
|
3425
3607
|
return "Checksum for date of birth"
|
|
3426
|
-
case
|
|
3608
|
+
case 42:
|
|
3427
3609
|
return "Checksum for date of expiry"
|
|
3428
|
-
case
|
|
3610
|
+
case 43:
|
|
3429
3611
|
return "Checksum for personal number"
|
|
3430
|
-
case
|
|
3612
|
+
case 44:
|
|
3431
3613
|
return "Final checksum"
|
|
3432
|
-
case
|
|
3614
|
+
case 45:
|
|
3433
3615
|
return "Checksum for passport number"
|
|
3434
|
-
case
|
|
3616
|
+
case 46:
|
|
3435
3617
|
return "Checksum for invitation number"
|
|
3436
|
-
case
|
|
3618
|
+
case 47:
|
|
3437
3619
|
return "Checksum for visa ID"
|
|
3438
|
-
case
|
|
3620
|
+
case 48:
|
|
3439
3621
|
return "Checksum for surname and given names"
|
|
3440
|
-
case
|
|
3622
|
+
case 49:
|
|
3441
3623
|
return "Checksum for visa expiry date"
|
|
3442
|
-
case
|
|
3624
|
+
case 50:
|
|
3443
3625
|
return "Other"
|
|
3444
|
-
case
|
|
3626
|
+
case 51:
|
|
3445
3627
|
return "MRZ lines"
|
|
3446
|
-
case
|
|
3628
|
+
case 52:
|
|
3447
3629
|
return "Name suffix"
|
|
3448
|
-
case
|
|
3630
|
+
case 53:
|
|
3449
3631
|
return "Name prefix"
|
|
3450
|
-
case
|
|
3632
|
+
case 54:
|
|
3451
3633
|
return "Checksum for date of issue"
|
|
3452
|
-
case
|
|
3634
|
+
case 55:
|
|
3453
3635
|
return "Check digit for date of issue"
|
|
3454
|
-
case
|
|
3636
|
+
case 56:
|
|
3455
3637
|
return "Document series"
|
|
3456
|
-
case
|
|
3638
|
+
case 57:
|
|
3457
3639
|
return "Registration number"
|
|
3458
|
-
case
|
|
3640
|
+
case 58:
|
|
3459
3641
|
return "Vehicle model"
|
|
3460
|
-
case
|
|
3642
|
+
case 59:
|
|
3461
3643
|
return "Vehicle color"
|
|
3462
|
-
case
|
|
3644
|
+
case 60:
|
|
3463
3645
|
return "Body number"
|
|
3464
|
-
case
|
|
3646
|
+
case 61:
|
|
3465
3647
|
return "Vehicle type"
|
|
3466
|
-
case
|
|
3648
|
+
case 62:
|
|
3467
3649
|
return "Max permissible weight"
|
|
3468
|
-
case
|
|
3650
|
+
case 63:
|
|
3469
3651
|
return "Unladen mass"
|
|
3470
|
-
case
|
|
3652
|
+
case 64:
|
|
3471
3653
|
return "Area"
|
|
3472
|
-
case
|
|
3654
|
+
case 65:
|
|
3473
3655
|
return "State"
|
|
3474
|
-
case
|
|
3656
|
+
case 66:
|
|
3475
3657
|
return "Unit"
|
|
3476
|
-
case
|
|
3658
|
+
case 67:
|
|
3477
3659
|
return "Building"
|
|
3478
|
-
case
|
|
3660
|
+
case 68:
|
|
3479
3661
|
return "Apartment"
|
|
3480
|
-
case
|
|
3662
|
+
case 69:
|
|
3481
3663
|
return "Place of registration"
|
|
3482
|
-
case
|
|
3664
|
+
case 70:
|
|
3483
3665
|
return "Date of registration"
|
|
3484
|
-
case
|
|
3666
|
+
case 71:
|
|
3485
3667
|
return "Resident from"
|
|
3486
|
-
case
|
|
3668
|
+
case 72:
|
|
3487
3669
|
return "Resident until"
|
|
3488
|
-
case
|
|
3670
|
+
case 73:
|
|
3489
3671
|
return "Issuing authority code"
|
|
3490
|
-
case
|
|
3672
|
+
case 74:
|
|
3491
3673
|
return "Area of birthplace"
|
|
3492
|
-
case
|
|
3674
|
+
case 75:
|
|
3493
3675
|
return "State code of birthplace"
|
|
3494
|
-
case
|
|
3676
|
+
case 76:
|
|
3495
3677
|
return "Street"
|
|
3496
|
-
case
|
|
3678
|
+
case 77:
|
|
3497
3679
|
return "City"
|
|
3498
|
-
case
|
|
3680
|
+
case 78:
|
|
3499
3681
|
return "Jurisdiction code"
|
|
3500
|
-
case
|
|
3682
|
+
case 79:
|
|
3501
3683
|
return "Postal code"
|
|
3502
|
-
case
|
|
3684
|
+
case 80:
|
|
3503
3685
|
return "Check digit for document number"
|
|
3504
|
-
case
|
|
3686
|
+
case 81:
|
|
3505
3687
|
return "Check digit for date of birth"
|
|
3506
|
-
case
|
|
3688
|
+
case 82:
|
|
3507
3689
|
return "Check digit for date of expiry"
|
|
3508
|
-
case
|
|
3690
|
+
case 83:
|
|
3509
3691
|
return "Check digit for personal number"
|
|
3510
|
-
case
|
|
3692
|
+
case 84:
|
|
3511
3693
|
return "Final check digit"
|
|
3512
|
-
case
|
|
3694
|
+
case 85:
|
|
3513
3695
|
return "Check digit for passport number"
|
|
3514
|
-
case
|
|
3696
|
+
case 86:
|
|
3515
3697
|
return "Check digit for invitation number"
|
|
3516
|
-
case
|
|
3698
|
+
case 87:
|
|
3517
3699
|
return "Check digit for visa ID"
|
|
3518
|
-
case
|
|
3700
|
+
case 88:
|
|
3519
3701
|
return "Check digit for surname and given names"
|
|
3520
|
-
case
|
|
3702
|
+
case 89:
|
|
3521
3703
|
return "Check digit for visa expiry date"
|
|
3522
|
-
case
|
|
3704
|
+
case 90:
|
|
3523
3705
|
return "Permit class"
|
|
3524
|
-
case
|
|
3706
|
+
case 91:
|
|
3525
3707
|
return "Permit expiry date"
|
|
3526
|
-
case
|
|
3708
|
+
case 92:
|
|
3527
3709
|
return "Permit identifier"
|
|
3528
|
-
case
|
|
3710
|
+
case 93:
|
|
3529
3711
|
return "Permit issue date"
|
|
3530
|
-
case
|
|
3712
|
+
case 94:
|
|
3531
3713
|
return "Permit restriction code"
|
|
3532
|
-
case
|
|
3714
|
+
case 95:
|
|
3533
3715
|
return "Permit endorsement code"
|
|
3534
|
-
case
|
|
3716
|
+
case 96:
|
|
3535
3717
|
return "Issue time"
|
|
3536
|
-
case
|
|
3718
|
+
case 97:
|
|
3537
3719
|
return "Number of duplicates"
|
|
3538
|
-
case
|
|
3720
|
+
case 98:
|
|
3539
3721
|
return "Medical notes/codes"
|
|
3540
|
-
case
|
|
3722
|
+
case 99:
|
|
3541
3723
|
return "Non-resident indicator"
|
|
3542
|
-
case
|
|
3724
|
+
case 100:
|
|
3543
3725
|
return "Visa type"
|
|
3544
|
-
case
|
|
3726
|
+
case 101:
|
|
3545
3727
|
return "Visa valid from"
|
|
3546
|
-
case
|
|
3728
|
+
case 102:
|
|
3547
3729
|
return "Visa valid until"
|
|
3548
|
-
case
|
|
3730
|
+
case 103:
|
|
3549
3731
|
return "Duration of stay"
|
|
3550
|
-
case
|
|
3732
|
+
case 104:
|
|
3551
3733
|
return "Number of entries"
|
|
3552
|
-
case
|
|
3734
|
+
case 105:
|
|
3553
3735
|
return "Day"
|
|
3554
|
-
case
|
|
3736
|
+
case 106:
|
|
3555
3737
|
return "Month"
|
|
3556
|
-
case
|
|
3738
|
+
case 107:
|
|
3557
3739
|
return "Year"
|
|
3558
|
-
case
|
|
3740
|
+
case 108:
|
|
3559
3741
|
return "Unique customer identifier"
|
|
3560
|
-
case
|
|
3742
|
+
case 109:
|
|
3561
3743
|
return "Commercial vehicle code"
|
|
3562
|
-
case
|
|
3744
|
+
case 110:
|
|
3563
3745
|
return "AKA Date of birth"
|
|
3564
|
-
case
|
|
3746
|
+
case 111:
|
|
3565
3747
|
return "AKA Social Insurance Number"
|
|
3566
|
-
case
|
|
3748
|
+
case 112:
|
|
3567
3749
|
return "AKA Surname"
|
|
3568
|
-
case
|
|
3750
|
+
case 113:
|
|
3569
3751
|
return "AKA Given name"
|
|
3570
|
-
case
|
|
3752
|
+
case 114:
|
|
3571
3753
|
return "AKA Name suffix"
|
|
3572
|
-
case
|
|
3754
|
+
case 115:
|
|
3573
3755
|
return "AKA Name prefix"
|
|
3574
|
-
case
|
|
3756
|
+
case 116:
|
|
3575
3757
|
return "Mailing address - street"
|
|
3576
|
-
case
|
|
3758
|
+
case 117:
|
|
3577
3759
|
return "Mailing address - city"
|
|
3578
|
-
case
|
|
3760
|
+
case 118:
|
|
3579
3761
|
return "Mailing address - jurisdiction code"
|
|
3580
|
-
case
|
|
3762
|
+
case 119:
|
|
3581
3763
|
return "Mailing address - postal code"
|
|
3582
|
-
case
|
|
3764
|
+
case 120:
|
|
3583
3765
|
return "Number for validation"
|
|
3584
|
-
case
|
|
3766
|
+
case 121:
|
|
3585
3767
|
return "Inventory number"
|
|
3586
|
-
case
|
|
3768
|
+
case 122:
|
|
3587
3769
|
return "Race/ethnicity"
|
|
3588
|
-
case
|
|
3770
|
+
case 123:
|
|
3589
3771
|
return "Jurisdiction vehicle class"
|
|
3590
|
-
case
|
|
3772
|
+
case 124:
|
|
3591
3773
|
return "Jurisdiction endorsement code"
|
|
3592
|
-
case
|
|
3774
|
+
case 125:
|
|
3593
3775
|
return "Jurisdiction restriction code"
|
|
3594
|
-
case
|
|
3776
|
+
case 126:
|
|
3595
3777
|
return "Surname/given name at birth"
|
|
3596
|
-
case
|
|
3778
|
+
case 127:
|
|
3597
3779
|
return "Given name (National)"
|
|
3598
|
-
case
|
|
3780
|
+
case 128:
|
|
3599
3781
|
return "Visa ID (National)"
|
|
3600
|
-
case
|
|
3782
|
+
case 129:
|
|
3601
3783
|
return "Father\'s name"
|
|
3602
|
-
case
|
|
3784
|
+
case 130:
|
|
3603
3785
|
return "Father\'s name (National)"
|
|
3604
|
-
case
|
|
3786
|
+
case 131:
|
|
3605
3787
|
return "Surname and given names (National)"
|
|
3606
|
-
case
|
|
3788
|
+
case 132:
|
|
3607
3789
|
return "Place of birth (National)"
|
|
3608
|
-
case
|
|
3790
|
+
case 133:
|
|
3609
3791
|
return "Issuing authority (National)"
|
|
3610
|
-
case
|
|
3792
|
+
case 134:
|
|
3611
3793
|
return "Numeric issuing state code"
|
|
3612
|
-
case
|
|
3794
|
+
case 135:
|
|
3613
3795
|
return "Numeric nationality code"
|
|
3614
|
-
case
|
|
3796
|
+
case 136:
|
|
3615
3797
|
return "Engine power"
|
|
3616
|
-
case
|
|
3798
|
+
case 137:
|
|
3617
3799
|
return "Engine volume"
|
|
3618
|
-
case
|
|
3800
|
+
case 138:
|
|
3619
3801
|
return "Chassis number"
|
|
3620
|
-
case
|
|
3802
|
+
case 139:
|
|
3621
3803
|
return "Engine number"
|
|
3622
|
-
case
|
|
3804
|
+
case 140:
|
|
3623
3805
|
return "Engine model"
|
|
3624
|
-
case
|
|
3806
|
+
case 141:
|
|
3625
3807
|
return "Vehicle category"
|
|
3626
|
-
case
|
|
3808
|
+
case 142:
|
|
3627
3809
|
return "Identity card number"
|
|
3628
|
-
case
|
|
3810
|
+
case 143:
|
|
3629
3811
|
return "Control number"
|
|
3630
|
-
case
|
|
3812
|
+
case 144:
|
|
3631
3813
|
return "Parents\' given names"
|
|
3632
|
-
case
|
|
3814
|
+
case 145:
|
|
3633
3815
|
return "Second surname"
|
|
3634
|
-
case
|
|
3816
|
+
case 146:
|
|
3635
3817
|
return "Middle name"
|
|
3636
|
-
case
|
|
3818
|
+
case 147:
|
|
3637
3819
|
return "Vehicle identification number"
|
|
3638
|
-
case
|
|
3820
|
+
case 148:
|
|
3639
3821
|
return "Check digit for VIN"
|
|
3640
|
-
case
|
|
3822
|
+
case 149:
|
|
3641
3823
|
return "Checksum for VIN"
|
|
3642
|
-
case
|
|
3824
|
+
case 150:
|
|
3643
3825
|
return "Check digit for line 1"
|
|
3644
|
-
case
|
|
3826
|
+
case 151:
|
|
3645
3827
|
return "Check digit for line 2"
|
|
3646
|
-
case
|
|
3828
|
+
case 152:
|
|
3647
3829
|
return "Check digit for line 3"
|
|
3648
|
-
case
|
|
3830
|
+
case 153:
|
|
3649
3831
|
return "Checksum for line 1"
|
|
3650
|
-
case
|
|
3832
|
+
case 154:
|
|
3651
3833
|
return "Checksum for line 2"
|
|
3652
|
-
case
|
|
3834
|
+
case 155:
|
|
3653
3835
|
return "Checksum for line 3"
|
|
3654
|
-
case
|
|
3836
|
+
case 156:
|
|
3655
3837
|
return "Check digit for registration number"
|
|
3656
|
-
case
|
|
3838
|
+
case 157:
|
|
3657
3839
|
return "Checksum for registration number"
|
|
3658
|
-
case
|
|
3840
|
+
case 158:
|
|
3659
3841
|
return "Vehicle ITS code"
|
|
3660
|
-
case
|
|
3842
|
+
case 159:
|
|
3661
3843
|
return "Card access number"
|
|
3662
|
-
case
|
|
3844
|
+
case 160:
|
|
3663
3845
|
return "Marital status"
|
|
3664
|
-
case
|
|
3846
|
+
case 161:
|
|
3665
3847
|
return "Company name"
|
|
3666
|
-
case
|
|
3848
|
+
case 162:
|
|
3667
3849
|
return "Special notes"
|
|
3668
|
-
case
|
|
3850
|
+
case 163:
|
|
3669
3851
|
return "Spouse\'s surname"
|
|
3670
|
-
case
|
|
3852
|
+
case 164:
|
|
3671
3853
|
return "Tracking number"
|
|
3672
|
-
case
|
|
3854
|
+
case 165:
|
|
3673
3855
|
return "Booklet number"
|
|
3674
|
-
case
|
|
3856
|
+
case 166:
|
|
3675
3857
|
return "Children"
|
|
3676
|
-
case
|
|
3858
|
+
case 167:
|
|
3677
3859
|
return "Copy"
|
|
3678
|
-
case
|
|
3860
|
+
case 168:
|
|
3679
3861
|
return "Serial number"
|
|
3680
|
-
case
|
|
3862
|
+
case 169:
|
|
3681
3863
|
return "Dossier number"
|
|
3682
|
-
case
|
|
3864
|
+
case 170:
|
|
3683
3865
|
return "AKA Full name"
|
|
3684
|
-
case
|
|
3866
|
+
case 171:
|
|
3685
3867
|
return "Territorial validity"
|
|
3686
|
-
case
|
|
3868
|
+
case 172:
|
|
3687
3869
|
return "MRZ lines with correct checksums"
|
|
3688
|
-
case
|
|
3870
|
+
case 173:
|
|
3689
3871
|
return "CDL Restriction Code"
|
|
3690
|
-
case
|
|
3872
|
+
case 174:
|
|
3691
3873
|
return "Date of 18th birthday"
|
|
3692
|
-
case
|
|
3874
|
+
case 175:
|
|
3693
3875
|
return "Record created"
|
|
3694
|
-
case
|
|
3876
|
+
case 176:
|
|
3695
3877
|
return "Date of duplicate issue"
|
|
3696
|
-
case
|
|
3878
|
+
case 177:
|
|
3697
3879
|
return "Card type"
|
|
3698
|
-
case
|
|
3880
|
+
case 178:
|
|
3699
3881
|
return "Military ID number"
|
|
3700
|
-
case
|
|
3882
|
+
case 179:
|
|
3701
3883
|
return "Destination"
|
|
3702
|
-
case
|
|
3884
|
+
case 180:
|
|
3703
3885
|
return "Blood group"
|
|
3704
|
-
case
|
|
3886
|
+
case 181:
|
|
3705
3887
|
return "Sequence number"
|
|
3706
|
-
case
|
|
3888
|
+
case 182:
|
|
3707
3889
|
return "Body type"
|
|
3708
|
-
case
|
|
3890
|
+
case 183:
|
|
3709
3891
|
return "Vehicle make"
|
|
3710
|
-
case
|
|
3892
|
+
case 184:
|
|
3711
3893
|
return "Transaction number"
|
|
3712
|
-
case
|
|
3894
|
+
case 185:
|
|
3713
3895
|
return "Age"
|
|
3714
|
-
case
|
|
3896
|
+
case 186:
|
|
3715
3897
|
return "Folio number"
|
|
3716
|
-
case
|
|
3898
|
+
case 187:
|
|
3717
3899
|
return "Voter Key"
|
|
3718
|
-
case
|
|
3900
|
+
case 188:
|
|
3719
3901
|
return "Municipality"
|
|
3720
|
-
case
|
|
3902
|
+
case 189:
|
|
3721
3903
|
return "Location"
|
|
3722
|
-
case
|
|
3904
|
+
case 190:
|
|
3723
3905
|
return "Section"
|
|
3724
|
-
case
|
|
3906
|
+
case 191:
|
|
3725
3907
|
return "OCR number"
|
|
3726
|
-
case
|
|
3908
|
+
case 192:
|
|
3727
3909
|
return "Federal elections"
|
|
3728
|
-
case
|
|
3910
|
+
case 193:
|
|
3729
3911
|
return "Unique number"
|
|
3730
|
-
case
|
|
3912
|
+
case 194:
|
|
3731
3913
|
return "Checksum for optional data"
|
|
3732
|
-
case
|
|
3914
|
+
case 195:
|
|
3733
3915
|
return "Check digit for optional data"
|
|
3734
|
-
case
|
|
3916
|
+
case 196:
|
|
3735
3917
|
return "Visa Number"
|
|
3736
|
-
case
|
|
3918
|
+
case 197:
|
|
3737
3919
|
return "Checksum for visa number"
|
|
3738
|
-
case
|
|
3920
|
+
case 198:
|
|
3739
3921
|
return "Check digit for visa number"
|
|
3740
|
-
case
|
|
3922
|
+
case 199:
|
|
3741
3923
|
return "Voter"
|
|
3742
|
-
case
|
|
3924
|
+
case 200:
|
|
3743
3925
|
return "Type/number of the previous document"
|
|
3744
|
-
case
|
|
3926
|
+
case 220:
|
|
3745
3927
|
return "Field from MRZ"
|
|
3746
|
-
case
|
|
3928
|
+
case 221:
|
|
3747
3929
|
return "Current date"
|
|
3748
|
-
case
|
|
3930
|
+
case 251:
|
|
3749
3931
|
return "Status Expiry Date"
|
|
3750
|
-
case
|
|
3932
|
+
case 252:
|
|
3751
3933
|
return "Banknote number"
|
|
3752
|
-
case
|
|
3934
|
+
case 253:
|
|
3753
3935
|
return "CSC Code"
|
|
3754
|
-
case
|
|
3936
|
+
case 254:
|
|
3755
3937
|
return "Pseudonym"
|
|
3756
|
-
case
|
|
3938
|
+
case 255:
|
|
3757
3939
|
return "Academic title"
|
|
3758
|
-
case
|
|
3940
|
+
case 256:
|
|
3759
3941
|
return "Country"
|
|
3760
|
-
case
|
|
3942
|
+
case 257:
|
|
3761
3943
|
return "ZIP code"
|
|
3762
|
-
case
|
|
3944
|
+
case 258:
|
|
3763
3945
|
return "Residence permit 1"
|
|
3764
|
-
case
|
|
3946
|
+
case 259:
|
|
3765
3947
|
return "Residence permit 2"
|
|
3766
|
-
case
|
|
3948
|
+
case 260:
|
|
3767
3949
|
return "Place of Birth: Street"
|
|
3768
|
-
case
|
|
3950
|
+
case 261:
|
|
3769
3951
|
return "Place of Birth: City"
|
|
3770
|
-
case
|
|
3952
|
+
case 262:
|
|
3771
3953
|
return "Place of Birth: State"
|
|
3772
|
-
case
|
|
3954
|
+
case 263:
|
|
3773
3955
|
return "Place of Birth: Country"
|
|
3774
|
-
case
|
|
3956
|
+
case 264:
|
|
3775
3957
|
return "Place of Birth: Postal code"
|
|
3776
|
-
case
|
|
3958
|
+
case 265:
|
|
3777
3959
|
return "CDL Class"
|
|
3778
|
-
case
|
|
3960
|
+
case 266:
|
|
3779
3961
|
return "Date of 19th birthday"
|
|
3780
|
-
case
|
|
3962
|
+
case 267:
|
|
3781
3963
|
return "Weight (pound)"
|
|
3782
|
-
case
|
|
3964
|
+
case 268:
|
|
3783
3965
|
return "Indicator of document limited duration"
|
|
3784
|
-
case
|
|
3966
|
+
case 269:
|
|
3785
3967
|
return "Endorsement expiration date"
|
|
3786
|
-
case
|
|
3968
|
+
case 270:
|
|
3787
3969
|
return "Revision date"
|
|
3788
|
-
case
|
|
3970
|
+
case 271:
|
|
3789
3971
|
return "Compliance type"
|
|
3790
|
-
case
|
|
3972
|
+
case 272:
|
|
3791
3973
|
return "Truncated surname/given name at birth"
|
|
3792
|
-
case
|
|
3974
|
+
case 273:
|
|
3793
3975
|
return "First name truncation"
|
|
3794
|
-
case
|
|
3976
|
+
case 274:
|
|
3795
3977
|
return "Middle name truncation"
|
|
3796
|
-
case
|
|
3978
|
+
case 275:
|
|
3797
3979
|
return "Exam date"
|
|
3798
|
-
case
|
|
3980
|
+
case 276:
|
|
3799
3981
|
return "Organization"
|
|
3800
|
-
case
|
|
3982
|
+
case 277:
|
|
3801
3983
|
return "Department"
|
|
3802
|
-
case
|
|
3984
|
+
case 278:
|
|
3803
3985
|
return "Pay grade"
|
|
3804
|
-
case
|
|
3986
|
+
case 279:
|
|
3805
3987
|
return "Rank"
|
|
3806
|
-
case
|
|
3988
|
+
case 280:
|
|
3807
3989
|
return "Benefits number"
|
|
3808
|
-
case
|
|
3990
|
+
case 281:
|
|
3809
3991
|
return "Sponsor service"
|
|
3810
|
-
case
|
|
3992
|
+
case 282:
|
|
3811
3993
|
return "Sponsor status"
|
|
3812
|
-
case
|
|
3994
|
+
case 283:
|
|
3813
3995
|
return "Sponsor"
|
|
3814
|
-
case
|
|
3996
|
+
case 284:
|
|
3815
3997
|
return "Relationship"
|
|
3816
|
-
case
|
|
3998
|
+
case 285:
|
|
3817
3999
|
return "USCIS"
|
|
3818
|
-
case
|
|
4000
|
+
case 286:
|
|
3819
4001
|
return "Category"
|
|
3820
|
-
case
|
|
4002
|
+
case 287:
|
|
3821
4003
|
return "Conditions"
|
|
3822
|
-
case
|
|
4004
|
+
case 288:
|
|
3823
4005
|
return "Identifier"
|
|
3824
|
-
case
|
|
4006
|
+
case 289:
|
|
3825
4007
|
return "Configuration"
|
|
3826
|
-
case
|
|
4008
|
+
case 290:
|
|
3827
4009
|
return "Discretionary data"
|
|
3828
|
-
case
|
|
4010
|
+
case 291:
|
|
3829
4011
|
return "Optional data from line 1"
|
|
3830
|
-
case
|
|
4012
|
+
case 292:
|
|
3831
4013
|
return "Optional data from line 2"
|
|
3832
|
-
case
|
|
4014
|
+
case 293:
|
|
3833
4015
|
return "Optional data from line 3"
|
|
3834
|
-
case
|
|
4016
|
+
case 294:
|
|
3835
4017
|
return "EQV code"
|
|
3836
|
-
case
|
|
4018
|
+
case 295:
|
|
3837
4019
|
return "ALT code"
|
|
3838
|
-
case
|
|
4020
|
+
case 296:
|
|
3839
4021
|
return "Binary code"
|
|
3840
|
-
case
|
|
4022
|
+
case 297:
|
|
3841
4023
|
return "Pseudocode"
|
|
3842
|
-
case
|
|
4024
|
+
case 298:
|
|
3843
4025
|
return "Fee"
|
|
3844
|
-
case
|
|
4026
|
+
case 299:
|
|
3845
4027
|
return "Stamp number"
|
|
3846
|
-
case
|
|
4028
|
+
case 300:
|
|
4029
|
+
return "SBH security options"
|
|
4030
|
+
case 301:
|
|
4031
|
+
return "SBH integrity options"
|
|
4032
|
+
case 302:
|
|
4033
|
+
return "Creation date"
|
|
4034
|
+
case 303:
|
|
4035
|
+
return "Validity period"
|
|
4036
|
+
case 304:
|
|
4037
|
+
return "Patron header version"
|
|
4038
|
+
case 305:
|
|
4039
|
+
return "BDB type"
|
|
4040
|
+
case 306:
|
|
4041
|
+
return "Biometric type"
|
|
4042
|
+
case 307:
|
|
4043
|
+
return "Biometric subtype"
|
|
4044
|
+
case 308:
|
|
4045
|
+
return "Biometric product ID"
|
|
4046
|
+
case 309:
|
|
4047
|
+
return "Biometric format owner"
|
|
4048
|
+
case 310:
|
|
4049
|
+
return "Biometric format type"
|
|
4050
|
+
case 311:
|
|
4051
|
+
return "Phone"
|
|
4052
|
+
case 312:
|
|
4053
|
+
return "Profession"
|
|
4054
|
+
case 313:
|
|
4055
|
+
return "Position"
|
|
4056
|
+
case 314:
|
|
4057
|
+
return "Personal data summary"
|
|
4058
|
+
case 315:
|
|
4059
|
+
return "Other valid IDs"
|
|
4060
|
+
case 316:
|
|
4061
|
+
return "Custody info"
|
|
4062
|
+
case 317:
|
|
4063
|
+
return "Other name"
|
|
4064
|
+
case 318:
|
|
4065
|
+
return "Observations"
|
|
4066
|
+
case 319:
|
|
4067
|
+
return "Tax"
|
|
4068
|
+
case 320:
|
|
4069
|
+
return "Personalization date"
|
|
4070
|
+
case 321:
|
|
4071
|
+
return "Serial number of personalization"
|
|
4072
|
+
case 322:
|
|
4073
|
+
return "Other person, name"
|
|
4074
|
+
case 323:
|
|
4075
|
+
return "Notify person: Date of record"
|
|
4076
|
+
case 324:
|
|
4077
|
+
return "Notify person: Name"
|
|
4078
|
+
case 325:
|
|
4079
|
+
return "Notify person: Phone"
|
|
4080
|
+
case 326:
|
|
4081
|
+
return "Notify person: Address"
|
|
4082
|
+
case 327:
|
|
4083
|
+
return "DS certificate issuer"
|
|
4084
|
+
case 328:
|
|
4085
|
+
return "DS certificate subject"
|
|
4086
|
+
case 329:
|
|
4087
|
+
return "DS certificate valid from"
|
|
4088
|
+
case 330:
|
|
4089
|
+
return "DS certificate valid to"
|
|
4090
|
+
case 331:
|
|
4091
|
+
return "Vehicle data from the DG1 data group"
|
|
4092
|
+
case 332:
|
|
4093
|
+
return "Type of approval number"
|
|
4094
|
+
case 333:
|
|
4095
|
+
return "Administrative number"
|
|
4096
|
+
case 334:
|
|
4097
|
+
return "Document discriminator"
|
|
4098
|
+
case 335:
|
|
4099
|
+
return "Data discriminator"
|
|
4100
|
+
case 336:
|
|
4101
|
+
return "ID number of ISO issuer"
|
|
4102
|
+
case 340:
|
|
3847
4103
|
return "GNIB number"
|
|
3848
|
-
case
|
|
4104
|
+
case 341:
|
|
3849
4105
|
return "Department number"
|
|
3850
|
-
case
|
|
4106
|
+
case 342:
|
|
3851
4107
|
return "Telegraph code"
|
|
3852
|
-
case
|
|
4108
|
+
case 343:
|
|
3853
4109
|
return "Allergies"
|
|
3854
|
-
case
|
|
4110
|
+
case 344:
|
|
3855
4111
|
return "Special code"
|
|
3856
|
-
case
|
|
4112
|
+
case 345:
|
|
3857
4113
|
return "Court code"
|
|
3858
|
-
case
|
|
4114
|
+
case 346:
|
|
3859
4115
|
return "County"
|
|
3860
|
-
case
|
|
4116
|
+
case 347:
|
|
3861
4117
|
return "Sponsor SSN"
|
|
3862
|
-
case
|
|
4118
|
+
case 348:
|
|
3863
4119
|
return "DoD number"
|
|
3864
|
-
case
|
|
4120
|
+
case 349:
|
|
3865
4121
|
return "Expiry date of Motorcycle Novice status"
|
|
3866
|
-
case
|
|
4122
|
+
case 350:
|
|
3867
4123
|
return "DUF number"
|
|
3868
|
-
case
|
|
4124
|
+
case 351:
|
|
3869
4125
|
return "AGY"
|
|
3870
|
-
case
|
|
4126
|
+
case 352:
|
|
3871
4127
|
return "PNR code"
|
|
3872
|
-
case
|
|
4128
|
+
case 353:
|
|
3873
4129
|
return "Code of the airport of departure"
|
|
3874
|
-
case
|
|
4130
|
+
case 354:
|
|
3875
4131
|
return "Code of the airport of arrival"
|
|
3876
|
-
case
|
|
4132
|
+
case 355:
|
|
3877
4133
|
return "Flight number"
|
|
3878
|
-
case
|
|
4134
|
+
case 356:
|
|
3879
4135
|
return "Date of flight"
|
|
3880
|
-
case
|
|
4136
|
+
case 357:
|
|
3881
4137
|
return "Seat number"
|
|
3882
|
-
case
|
|
4138
|
+
case 358:
|
|
3883
4139
|
return "Date of boarding pass issue"
|
|
3884
|
-
case
|
|
4140
|
+
case 359:
|
|
3885
4141
|
return "CCW until"
|
|
3886
|
-
case
|
|
4142
|
+
case 360:
|
|
3887
4143
|
return "Unique number checksum"
|
|
3888
|
-
case
|
|
4144
|
+
case 361:
|
|
3889
4145
|
return "Unique number check digit"
|
|
3890
|
-
case
|
|
4146
|
+
case 362:
|
|
3891
4147
|
return "Room number"
|
|
3892
|
-
case
|
|
4148
|
+
case 363:
|
|
3893
4149
|
return "Religion"
|
|
3894
|
-
case
|
|
4150
|
+
case 364:
|
|
3895
4151
|
return "Months to expire"
|
|
3896
|
-
case
|
|
4152
|
+
case 365:
|
|
3897
4153
|
return "Electronic ticket indicator"
|
|
3898
|
-
case
|
|
4154
|
+
case 366:
|
|
3899
4155
|
return "Compartment code"
|
|
3900
|
-
case
|
|
4156
|
+
case 367:
|
|
3901
4157
|
return "Check-in sequence number"
|
|
3902
|
-
case
|
|
4158
|
+
case 368:
|
|
3903
4159
|
return "Airline designator of boarding pass issuer"
|
|
3904
|
-
case
|
|
4160
|
+
case 369:
|
|
3905
4161
|
return "Airline numeric code"
|
|
3906
|
-
case
|
|
4162
|
+
case 370:
|
|
3907
4163
|
return "Ticket number"
|
|
3908
|
-
case
|
|
4164
|
+
case 371:
|
|
3909
4165
|
return "Frequent flyer airline designator"
|
|
3910
|
-
case
|
|
4166
|
+
case 372:
|
|
3911
4167
|
return "Frequent flyer number"
|
|
3912
|
-
case
|
|
4168
|
+
case 373:
|
|
3913
4169
|
return "Free baggage allowance"
|
|
3914
|
-
case
|
|
4170
|
+
case 374:
|
|
3915
4171
|
return "PDF417 codec"
|
|
3916
|
-
case
|
|
4172
|
+
case 375:
|
|
3917
4173
|
return "Checksum for identity card number"
|
|
3918
|
-
case
|
|
4174
|
+
case 376:
|
|
3919
4175
|
return "Check digit for identity card number"
|
|
3920
|
-
case
|
|
4176
|
+
case 377:
|
|
3921
4177
|
return "Veteran"
|
|
3922
|
-
case
|
|
4178
|
+
case 378:
|
|
3923
4179
|
return "DL category A1 valid from"
|
|
3924
|
-
case
|
|
4180
|
+
case 379:
|
|
3925
4181
|
return "DL category A1 valid to"
|
|
3926
|
-
case
|
|
4182
|
+
case 380:
|
|
3927
4183
|
return "DL category A1 codes"
|
|
3928
|
-
case
|
|
4184
|
+
case 381:
|
|
3929
4185
|
return "DL category A valid from"
|
|
3930
|
-
case
|
|
4186
|
+
case 382:
|
|
3931
4187
|
return "DL category A valid to"
|
|
3932
|
-
case
|
|
4188
|
+
case 383:
|
|
3933
4189
|
return "DL category A codes"
|
|
3934
|
-
case
|
|
4190
|
+
case 384:
|
|
3935
4191
|
return "DL category B valid from"
|
|
3936
|
-
case
|
|
4192
|
+
case 385:
|
|
3937
4193
|
return "DL category B valid to"
|
|
3938
|
-
case
|
|
4194
|
+
case 386:
|
|
3939
4195
|
return "DL category B codes"
|
|
3940
|
-
case
|
|
4196
|
+
case 387:
|
|
3941
4197
|
return "DL category C1 valid from"
|
|
3942
|
-
case
|
|
4198
|
+
case 388:
|
|
3943
4199
|
return "DL category C1 valid to"
|
|
3944
|
-
case
|
|
4200
|
+
case 389:
|
|
3945
4201
|
return "DL category C1 codes"
|
|
3946
|
-
case
|
|
4202
|
+
case 390:
|
|
3947
4203
|
return "DL category C valid from"
|
|
3948
|
-
case
|
|
4204
|
+
case 391:
|
|
3949
4205
|
return "DL category C valid to"
|
|
3950
|
-
case
|
|
4206
|
+
case 392:
|
|
3951
4207
|
return "DL category C codes"
|
|
3952
|
-
case
|
|
4208
|
+
case 393:
|
|
3953
4209
|
return "DL category D1 valid from"
|
|
3954
|
-
case
|
|
4210
|
+
case 394:
|
|
3955
4211
|
return "DL category D1 valid to"
|
|
3956
|
-
case
|
|
4212
|
+
case 395:
|
|
3957
4213
|
return "DL category D1 codes"
|
|
3958
|
-
case
|
|
4214
|
+
case 396:
|
|
3959
4215
|
return "DL category D valid from"
|
|
3960
|
-
case
|
|
4216
|
+
case 397:
|
|
3961
4217
|
return "DL category D valid to"
|
|
3962
|
-
case
|
|
4218
|
+
case 398:
|
|
3963
4219
|
return "DL category D codes"
|
|
3964
|
-
case
|
|
4220
|
+
case 399:
|
|
3965
4221
|
return "DL category BE valid from"
|
|
3966
|
-
case
|
|
4222
|
+
case 400:
|
|
3967
4223
|
return "DL category BE valid to"
|
|
3968
|
-
case
|
|
4224
|
+
case 401:
|
|
3969
4225
|
return "DL category BE codes"
|
|
3970
|
-
case
|
|
4226
|
+
case 402:
|
|
3971
4227
|
return "DL category C1E valid from"
|
|
3972
|
-
case
|
|
4228
|
+
case 403:
|
|
3973
4229
|
return "DL category C1E valid to"
|
|
3974
|
-
case
|
|
4230
|
+
case 404:
|
|
3975
4231
|
return "DL category C1E codes"
|
|
3976
|
-
case
|
|
4232
|
+
case 405:
|
|
3977
4233
|
return "DL category CE valid from"
|
|
3978
|
-
case
|
|
4234
|
+
case 406:
|
|
3979
4235
|
return "DL category CE valid to"
|
|
3980
|
-
case
|
|
4236
|
+
case 407:
|
|
3981
4237
|
return "DL category CE codes"
|
|
3982
|
-
case
|
|
4238
|
+
case 408:
|
|
3983
4239
|
return "DL category D1E valid from"
|
|
3984
|
-
case
|
|
4240
|
+
case 409:
|
|
3985
4241
|
return "DL category D1E valid to"
|
|
3986
|
-
case
|
|
4242
|
+
case 410:
|
|
3987
4243
|
return "DL category D1E codes"
|
|
3988
|
-
case
|
|
4244
|
+
case 411:
|
|
3989
4245
|
return "DL category DE valid from"
|
|
3990
|
-
case
|
|
4246
|
+
case 412:
|
|
3991
4247
|
return "DL category DE valid to"
|
|
3992
|
-
case
|
|
4248
|
+
case 413:
|
|
3993
4249
|
return "DL category DE codes"
|
|
3994
|
-
case
|
|
4250
|
+
case 414:
|
|
3995
4251
|
return "DL category M valid from"
|
|
3996
|
-
case
|
|
4252
|
+
case 415:
|
|
3997
4253
|
return "DL category M valid to"
|
|
3998
|
-
case
|
|
4254
|
+
case 416:
|
|
3999
4255
|
return "DL category M codes"
|
|
4000
|
-
case
|
|
4256
|
+
case 417:
|
|
4001
4257
|
return "DL category L valid from"
|
|
4002
|
-
case
|
|
4258
|
+
case 418:
|
|
4003
4259
|
return "DL category L valid to"
|
|
4004
|
-
case
|
|
4260
|
+
case 419:
|
|
4005
4261
|
return "DL category L codes"
|
|
4006
|
-
case
|
|
4262
|
+
case 420:
|
|
4007
4263
|
return "DL category T valid from"
|
|
4008
|
-
case
|
|
4264
|
+
case 421:
|
|
4009
4265
|
return "DL category T valid to"
|
|
4010
|
-
case
|
|
4266
|
+
case 422:
|
|
4011
4267
|
return "DL category T codes"
|
|
4012
|
-
case
|
|
4268
|
+
case 423:
|
|
4013
4269
|
return "DL category AM valid from"
|
|
4014
|
-
case
|
|
4270
|
+
case 424:
|
|
4015
4271
|
return "DL category AM valid to"
|
|
4016
|
-
case
|
|
4272
|
+
case 425:
|
|
4017
4273
|
return "DL category AM codes"
|
|
4018
|
-
case
|
|
4274
|
+
case 426:
|
|
4019
4275
|
return "DL category A2 valid from"
|
|
4020
|
-
case
|
|
4276
|
+
case 427:
|
|
4021
4277
|
return "DL category A2 valid to"
|
|
4022
|
-
case
|
|
4278
|
+
case 428:
|
|
4023
4279
|
return "DL category A2 codes"
|
|
4024
|
-
case
|
|
4280
|
+
case 429:
|
|
4025
4281
|
return "DL category B1 valid from"
|
|
4026
|
-
case
|
|
4282
|
+
case 430:
|
|
4027
4283
|
return "DL category B1 valid to"
|
|
4028
|
-
case
|
|
4284
|
+
case 431:
|
|
4029
4285
|
return "DL category B1 codes"
|
|
4030
|
-
case
|
|
4286
|
+
case 432:
|
|
4031
4287
|
return "Surname at birth"
|
|
4032
|
-
case
|
|
4288
|
+
case 433:
|
|
4033
4289
|
return "Civil status"
|
|
4034
|
-
case
|
|
4290
|
+
case 434:
|
|
4035
4291
|
return "Number of seats"
|
|
4036
|
-
case
|
|
4292
|
+
case 435:
|
|
4037
4293
|
return "Number of standing places"
|
|
4038
|
-
case
|
|
4294
|
+
case 436:
|
|
4039
4295
|
return "Max speed"
|
|
4040
|
-
case
|
|
4296
|
+
case 437:
|
|
4041
4297
|
return "Fuel type"
|
|
4042
|
-
case
|
|
4298
|
+
case 438:
|
|
4043
4299
|
return "Vehicle environmental type"
|
|
4044
|
-
case
|
|
4300
|
+
case 439:
|
|
4045
4301
|
return "Power-to-weight ratio"
|
|
4046
|
-
case
|
|
4302
|
+
case 440:
|
|
4047
4303
|
return "Max mass of trailer (braked)"
|
|
4048
|
-
case
|
|
4304
|
+
case 441:
|
|
4049
4305
|
return "Max mass of trailer (unbraked)"
|
|
4050
|
-
case
|
|
4306
|
+
case 442:
|
|
4051
4307
|
return "Transmission type"
|
|
4052
|
-
case
|
|
4308
|
+
case 443:
|
|
4053
4309
|
return "Trailer hitch"
|
|
4054
|
-
case
|
|
4310
|
+
case 444:
|
|
4055
4311
|
return "Accompanied by"
|
|
4056
|
-
case
|
|
4312
|
+
case 445:
|
|
4057
4313
|
return "Police district"
|
|
4058
|
-
case
|
|
4314
|
+
case 446:
|
|
4059
4315
|
return "First issue date"
|
|
4060
|
-
case
|
|
4316
|
+
case 447:
|
|
4061
4317
|
return "Payload capacity"
|
|
4062
|
-
case
|
|
4318
|
+
case 448:
|
|
4063
4319
|
return "Number of axles"
|
|
4064
|
-
case
|
|
4320
|
+
case 449:
|
|
4065
4321
|
return "Permissible axle load"
|
|
4066
|
-
case
|
|
4322
|
+
case 450:
|
|
4067
4323
|
return "Precinct"
|
|
4068
|
-
case
|
|
4324
|
+
case 451:
|
|
4069
4325
|
return "Invited by"
|
|
4070
|
-
case
|
|
4326
|
+
case 452:
|
|
4071
4327
|
return "Purpose of entry"
|
|
4072
|
-
case
|
|
4328
|
+
case 453:
|
|
4073
4329
|
return "Skin color"
|
|
4074
|
-
case
|
|
4330
|
+
case 454:
|
|
4075
4331
|
return "Complexion"
|
|
4076
|
-
case
|
|
4332
|
+
case 455:
|
|
4077
4333
|
return "Airport of departure"
|
|
4078
|
-
case
|
|
4334
|
+
case 456:
|
|
4079
4335
|
return "Airport of arrival"
|
|
4080
|
-
case
|
|
4336
|
+
case 457:
|
|
4081
4337
|
return "Airline name"
|
|
4082
|
-
case
|
|
4338
|
+
case 458:
|
|
4083
4339
|
return "Airline loyalty program for frequent flyers"
|
|
4084
|
-
case
|
|
4340
|
+
case 459:
|
|
4085
4341
|
return "License number"
|
|
4086
|
-
case
|
|
4342
|
+
case 460:
|
|
4087
4343
|
return "In tanks"
|
|
4088
|
-
case
|
|
4344
|
+
case 461:
|
|
4089
4345
|
return "Except in tanks"
|
|
4090
|
-
case
|
|
4346
|
+
case 462:
|
|
4091
4347
|
return "Fast Track service"
|
|
4092
|
-
case
|
|
4348
|
+
case 463:
|
|
4093
4349
|
return "Owner"
|
|
4094
|
-
case
|
|
4350
|
+
case 464:
|
|
4095
4351
|
return "MRZ lines from ICAO RFID"
|
|
4096
|
-
case
|
|
4352
|
+
case 465:
|
|
4097
4353
|
return "Number of card issuances"
|
|
4098
|
-
case
|
|
4354
|
+
case 466:
|
|
4099
4355
|
return "Checksum for number of card issuances"
|
|
4100
|
-
case
|
|
4356
|
+
case 467:
|
|
4101
4357
|
return "Check digit for number of card issuances"
|
|
4102
|
-
case
|
|
4358
|
+
case 468:
|
|
4103
4359
|
return "Century of birth"
|
|
4104
|
-
case
|
|
4360
|
+
case 469:
|
|
4105
4361
|
return "DL category A3 valid from"
|
|
4106
|
-
case
|
|
4362
|
+
case 470:
|
|
4107
4363
|
return "DL category A3 valid to"
|
|
4108
|
-
case
|
|
4364
|
+
case 471:
|
|
4109
4365
|
return "DL category A3 codes"
|
|
4110
|
-
case
|
|
4366
|
+
case 472:
|
|
4111
4367
|
return "DL category C2 valid from"
|
|
4112
|
-
case
|
|
4368
|
+
case 473:
|
|
4113
4369
|
return "DL category C2 valid to"
|
|
4114
|
-
case
|
|
4370
|
+
case 474:
|
|
4115
4371
|
return "DL category C2 codes"
|
|
4116
|
-
case
|
|
4372
|
+
case 475:
|
|
4117
4373
|
return "DL category B2 valid from"
|
|
4118
|
-
case
|
|
4374
|
+
case 476:
|
|
4119
4375
|
return "DL category B2 valid to"
|
|
4120
|
-
case
|
|
4376
|
+
case 477:
|
|
4121
4377
|
return "DL category B2 codes"
|
|
4122
|
-
case
|
|
4378
|
+
case 478:
|
|
4123
4379
|
return "DL category D2 valid from"
|
|
4124
|
-
case
|
|
4380
|
+
case 479:
|
|
4125
4381
|
return "DL category D2 valid to"
|
|
4126
|
-
case
|
|
4382
|
+
case 480:
|
|
4127
4383
|
return "DL category D2 codes"
|
|
4128
|
-
case
|
|
4384
|
+
case 481:
|
|
4129
4385
|
return "DL category B2E valid from"
|
|
4130
|
-
case
|
|
4386
|
+
case 482:
|
|
4131
4387
|
return "DL category B2E valid to"
|
|
4132
|
-
case
|
|
4388
|
+
case 483:
|
|
4133
4389
|
return "DL category B2E codes"
|
|
4134
|
-
case
|
|
4390
|
+
case 484:
|
|
4135
4391
|
return "DL category G valid from"
|
|
4136
|
-
case
|
|
4392
|
+
case 485:
|
|
4137
4393
|
return "DL category G valid to"
|
|
4138
|
-
case
|
|
4394
|
+
case 486:
|
|
4139
4395
|
return "DL category G codes"
|
|
4140
|
-
case
|
|
4396
|
+
case 487:
|
|
4141
4397
|
return "DL category J valid from"
|
|
4142
|
-
case
|
|
4398
|
+
case 488:
|
|
4143
4399
|
return "DL category J valid to"
|
|
4144
|
-
case
|
|
4400
|
+
case 489:
|
|
4145
4401
|
return "DL category J codes"
|
|
4146
|
-
case
|
|
4402
|
+
case 490:
|
|
4147
4403
|
return "DL category LC valid from"
|
|
4148
|
-
case
|
|
4404
|
+
case 491:
|
|
4149
4405
|
return "DL category LC valid to"
|
|
4150
|
-
case
|
|
4406
|
+
case 492:
|
|
4151
4407
|
return "DL category LC codes"
|
|
4152
|
-
case
|
|
4408
|
+
case 493:
|
|
4153
4409
|
return "Bank card number"
|
|
4154
|
-
case
|
|
4410
|
+
case 494:
|
|
4155
4411
|
return "Bank card validity"
|
|
4156
|
-
case
|
|
4412
|
+
case 495:
|
|
4157
4413
|
return "Tax number"
|
|
4158
|
-
case
|
|
4159
|
-
return "SBH security options"
|
|
4160
|
-
case this.FT_SBH_INTEGRITYOPTIONS:
|
|
4161
|
-
return "SBH integrity options"
|
|
4162
|
-
case this.FT_DATE_OF_CREATION:
|
|
4163
|
-
return "Creation date"
|
|
4164
|
-
case this.FT_VALIDITY_PERIOD:
|
|
4165
|
-
return "Validity period"
|
|
4166
|
-
case this.FT_PATRON_HEADER_VERSION:
|
|
4167
|
-
return "Patron header version"
|
|
4168
|
-
case this.FT_BDB_TYPE:
|
|
4169
|
-
return "BDB type"
|
|
4170
|
-
case this.FT_BIOMETRIC_TYPE:
|
|
4171
|
-
return "Biometric type"
|
|
4172
|
-
case this.FT_BIOMETRIC_SUBTYPE:
|
|
4173
|
-
return "Biometric subtype"
|
|
4174
|
-
case this.FT_BIOMETRIC_PRODUCTID:
|
|
4175
|
-
return "Biometric product ID"
|
|
4176
|
-
case this.FT_BIOMETRIC_FORMAT_OWNER:
|
|
4177
|
-
return "Biometric format owner"
|
|
4178
|
-
case this.FT_BIOMETRIC_FORMAT_TYPE:
|
|
4179
|
-
return "Biometric format type"
|
|
4180
|
-
case this.FT_PHONE:
|
|
4181
|
-
return "Phone"
|
|
4182
|
-
case this.FT_PROFESSION:
|
|
4183
|
-
return "Profession"
|
|
4184
|
-
case this.FT_TITLE:
|
|
4185
|
-
return "Position"
|
|
4186
|
-
case this.FT_PERSONAL_SUMMARY:
|
|
4187
|
-
return "Personal data summary"
|
|
4188
|
-
case this.FT_OTHER_VALID_ID:
|
|
4189
|
-
return "Other valid IDs"
|
|
4190
|
-
case this.FT_CUSTODY_INFO:
|
|
4191
|
-
return "Custody info"
|
|
4192
|
-
case this.FT_OTHER_NAME:
|
|
4193
|
-
return "Other name"
|
|
4194
|
-
case this.FT_OBSERVATIONS:
|
|
4195
|
-
return "Observations"
|
|
4196
|
-
case this.FT_TAX:
|
|
4197
|
-
return "Tax"
|
|
4198
|
-
case this.FT_DATE_OF_PERSONALIZATION:
|
|
4199
|
-
return "Personalization date"
|
|
4200
|
-
case this.FT_PERSONALIZATION_SN:
|
|
4201
|
-
return "Serial number of personalization"
|
|
4202
|
-
case this.FT_OTHERPERSON_NAME:
|
|
4203
|
-
return "Other person, name"
|
|
4204
|
-
case this.FT_PERSONTONOTIFY_DATE_OF_RECORD:
|
|
4205
|
-
return "Notify person: Date of record"
|
|
4206
|
-
case this.FT_PERSONTONOTIFY_NAME:
|
|
4207
|
-
return "Notify person: Name"
|
|
4208
|
-
case this.FT_PERSONTONOTIFY_PHONE:
|
|
4209
|
-
return "Notify person: Phone"
|
|
4210
|
-
case this.FT_PERSONTONOTIFY_ADDRESS:
|
|
4211
|
-
return "Notify person: Address"
|
|
4212
|
-
case this.FT_DS_CERTIFICATE_ISSUER:
|
|
4213
|
-
return "DS certificate issuer"
|
|
4214
|
-
case this.FT_DS_CERTIFICATE_SUBJECT:
|
|
4215
|
-
return "DS certificate subject"
|
|
4216
|
-
case this.FT_DS_CERTIFICATE_VALIDFROM:
|
|
4217
|
-
return "DS certificate valid from"
|
|
4218
|
-
case this.FT_DS_CERTIFICATE_VALIDTO:
|
|
4219
|
-
return "DS certificate valid to"
|
|
4220
|
-
case this.FT_VRC_DATAOBJECT_ENTRY:
|
|
4221
|
-
return "Vehicle data from the DG1 data group"
|
|
4222
|
-
case this.FT_GRANDFATHERNAME:
|
|
4223
|
-
return "Grandfather\'s name"
|
|
4224
|
-
case this.FT_HEALTH_NUMBER:
|
|
4414
|
+
case 496:
|
|
4225
4415
|
return "Health insurance number"
|
|
4226
|
-
case
|
|
4227
|
-
return "
|
|
4228
|
-
case
|
|
4229
|
-
return "Administrative number"
|
|
4230
|
-
case this.FT_DOCUMENT_DISCRIMINATOR:
|
|
4231
|
-
return "Document discriminator"
|
|
4232
|
-
case this.FT_DATA_DISCRIMINATOR:
|
|
4233
|
-
return "Data discriminator"
|
|
4234
|
-
case this.FT_ISO_ISSUER_ID_NUMBER:
|
|
4235
|
-
return "ID number of ISO issuer"
|
|
4236
|
-
case this.FT_SELECTEE_INDICATOR:
|
|
4416
|
+
case 497:
|
|
4417
|
+
return "Grandfather\'s name"
|
|
4418
|
+
case 498:
|
|
4237
4419
|
return "Selectee indicator"
|
|
4238
|
-
case
|
|
4420
|
+
case 499:
|
|
4239
4421
|
return "Mother\'s surname"
|
|
4240
|
-
case
|
|
4422
|
+
case 500:
|
|
4241
4423
|
return "Mother\'s given name"
|
|
4242
|
-
case
|
|
4424
|
+
case 501:
|
|
4243
4425
|
return "Father\'s surname"
|
|
4244
|
-
case
|
|
4426
|
+
case 502:
|
|
4245
4427
|
return "Father\'s given name"
|
|
4246
|
-
case
|
|
4428
|
+
case 503:
|
|
4247
4429
|
return "Mother\'s date of birth"
|
|
4248
|
-
case
|
|
4430
|
+
case 504:
|
|
4249
4431
|
return "Father\'s date of birth"
|
|
4250
|
-
case
|
|
4432
|
+
case 505:
|
|
4251
4433
|
return "Mother\'s personal number"
|
|
4252
|
-
case
|
|
4434
|
+
case 506:
|
|
4253
4435
|
return "Father\'s personal number"
|
|
4254
|
-
case
|
|
4436
|
+
case 507:
|
|
4255
4437
|
return "Mother\'s place of birth"
|
|
4256
|
-
case
|
|
4438
|
+
case 508:
|
|
4257
4439
|
return "Father\'s place of birth"
|
|
4258
|
-
case
|
|
4440
|
+
case 509:
|
|
4259
4441
|
return "Mother\'s country of birth"
|
|
4260
|
-
case
|
|
4442
|
+
case 510:
|
|
4261
4443
|
return "Father\'s country of birth"
|
|
4262
|
-
case
|
|
4444
|
+
case 511:
|
|
4263
4445
|
return "Date of first renewal"
|
|
4264
|
-
case
|
|
4446
|
+
case 512:
|
|
4265
4447
|
return "Date of second renewal"
|
|
4266
|
-
case
|
|
4448
|
+
case 513:
|
|
4267
4449
|
return "Place of examination"
|
|
4268
|
-
case
|
|
4450
|
+
case 514:
|
|
4269
4451
|
return "Application number"
|
|
4270
|
-
case
|
|
4452
|
+
case 515:
|
|
4271
4453
|
return "Voucher number"
|
|
4272
|
-
case
|
|
4454
|
+
case 516:
|
|
4273
4455
|
return "Authorization number"
|
|
4274
|
-
case
|
|
4456
|
+
case 517:
|
|
4275
4457
|
return "Faculty"
|
|
4276
|
-
case
|
|
4458
|
+
case 518:
|
|
4277
4459
|
return "Form of education"
|
|
4278
|
-
case
|
|
4460
|
+
case 519:
|
|
4279
4461
|
return "DNI number"
|
|
4280
|
-
case
|
|
4462
|
+
case 520:
|
|
4281
4463
|
return "Retirement number"
|
|
4282
|
-
case
|
|
4464
|
+
case 521:
|
|
4283
4465
|
return "Professional ID number"
|
|
4284
|
-
case
|
|
4466
|
+
case 522:
|
|
4285
4467
|
return "Age at issue"
|
|
4286
|
-
case
|
|
4468
|
+
case 523:
|
|
4287
4469
|
return "Years since issue"
|
|
4288
|
-
case
|
|
4470
|
+
case 524:
|
|
4289
4471
|
return "DL category BTP valid from"
|
|
4290
|
-
case
|
|
4472
|
+
case 525:
|
|
4291
4473
|
return "DL category BTP codes"
|
|
4292
|
-
case
|
|
4474
|
+
case 526:
|
|
4293
4475
|
return "DL category BTP valid to"
|
|
4294
|
-
case
|
|
4476
|
+
case 527:
|
|
4295
4477
|
return "DL category C3 valid from"
|
|
4296
|
-
case
|
|
4478
|
+
case 528:
|
|
4297
4479
|
return "DL category C3 codes"
|
|
4298
|
-
case
|
|
4480
|
+
case 529:
|
|
4299
4481
|
return "DL category C3 valid to"
|
|
4300
|
-
case
|
|
4482
|
+
case 530:
|
|
4301
4483
|
return "DL category E valid from"
|
|
4302
|
-
case
|
|
4484
|
+
case 531:
|
|
4303
4485
|
return "DL category E codes"
|
|
4304
|
-
case
|
|
4486
|
+
case 532:
|
|
4305
4487
|
return "DL category E valid to"
|
|
4306
|
-
case
|
|
4488
|
+
case 533:
|
|
4307
4489
|
return "DL category F valid from"
|
|
4308
|
-
case
|
|
4490
|
+
case 534:
|
|
4309
4491
|
return "DL category F codes"
|
|
4310
|
-
case
|
|
4492
|
+
case 535:
|
|
4311
4493
|
return "DL category F valid to"
|
|
4312
|
-
case
|
|
4494
|
+
case 536:
|
|
4313
4495
|
return "DL category FA valid from"
|
|
4314
|
-
case
|
|
4496
|
+
case 537:
|
|
4315
4497
|
return "DL category FA codes"
|
|
4316
|
-
case
|
|
4498
|
+
case 538:
|
|
4317
4499
|
return "DL category FA valid to"
|
|
4318
|
-
case
|
|
4500
|
+
case 539:
|
|
4319
4501
|
return "DL category FA1 valid from"
|
|
4320
|
-
case
|
|
4502
|
+
case 540:
|
|
4321
4503
|
return "DL category FA1 codes"
|
|
4322
|
-
case
|
|
4504
|
+
case 541:
|
|
4323
4505
|
return "DL category FA1 valid to"
|
|
4324
|
-
case
|
|
4506
|
+
case 542:
|
|
4325
4507
|
return "DL category FB valid from"
|
|
4326
|
-
case
|
|
4508
|
+
case 543:
|
|
4327
4509
|
return "DL category FB codes"
|
|
4328
|
-
case
|
|
4510
|
+
case 544:
|
|
4329
4511
|
return "DL category FB valid to"
|
|
4330
|
-
case
|
|
4512
|
+
case 545:
|
|
4331
4513
|
return "DL category G1 valid from"
|
|
4332
|
-
case
|
|
4514
|
+
case 546:
|
|
4333
4515
|
return "DL category G1 codes"
|
|
4334
|
-
case
|
|
4516
|
+
case 547:
|
|
4335
4517
|
return "DL category G1 valid to"
|
|
4336
|
-
case
|
|
4518
|
+
case 548:
|
|
4337
4519
|
return "DL category H valid from"
|
|
4338
|
-
case
|
|
4520
|
+
case 549:
|
|
4339
4521
|
return "DL category H codes"
|
|
4340
|
-
case
|
|
4522
|
+
case 550:
|
|
4341
4523
|
return "DL category H valid to"
|
|
4342
|
-
case
|
|
4524
|
+
case 551:
|
|
4343
4525
|
return "DL category I valid from"
|
|
4344
|
-
case
|
|
4526
|
+
case 552:
|
|
4345
4527
|
return "DL category I codes"
|
|
4346
|
-
case
|
|
4528
|
+
case 553:
|
|
4347
4529
|
return "DL category I valid to"
|
|
4348
|
-
case
|
|
4530
|
+
case 554:
|
|
4349
4531
|
return "DL category K valid from"
|
|
4350
|
-
case
|
|
4532
|
+
case 555:
|
|
4351
4533
|
return "DL category K codes"
|
|
4352
|
-
case
|
|
4534
|
+
case 556:
|
|
4353
4535
|
return "DL category K valid to"
|
|
4354
|
-
case
|
|
4536
|
+
case 557:
|
|
4355
4537
|
return "DL category LK valid from"
|
|
4356
|
-
case
|
|
4538
|
+
case 558:
|
|
4357
4539
|
return "DL category LK codes"
|
|
4358
|
-
case
|
|
4540
|
+
case 559:
|
|
4359
4541
|
return "DL category LK valid to"
|
|
4360
|
-
case
|
|
4542
|
+
case 560:
|
|
4361
4543
|
return "DL category N valid from"
|
|
4362
|
-
case
|
|
4544
|
+
case 561:
|
|
4363
4545
|
return "DL category N codes"
|
|
4364
|
-
case
|
|
4546
|
+
case 562:
|
|
4365
4547
|
return "DL category N valid to"
|
|
4366
|
-
case
|
|
4548
|
+
case 563:
|
|
4367
4549
|
return "DL category S valid from"
|
|
4368
|
-
case
|
|
4550
|
+
case 564:
|
|
4369
4551
|
return "DL category S codes"
|
|
4370
|
-
case
|
|
4552
|
+
case 565:
|
|
4371
4553
|
return "DL category S valid to"
|
|
4372
|
-
case
|
|
4554
|
+
case 566:
|
|
4373
4555
|
return "DL category TB valid from"
|
|
4374
|
-
case
|
|
4556
|
+
case 567:
|
|
4375
4557
|
return "DL category TB codes"
|
|
4376
|
-
case
|
|
4558
|
+
case 568:
|
|
4377
4559
|
return "DL category TB valid to"
|
|
4378
|
-
case
|
|
4560
|
+
case 569:
|
|
4379
4561
|
return "DL category TM valid from"
|
|
4380
|
-
case
|
|
4562
|
+
case 570:
|
|
4381
4563
|
return "DL category TM codes"
|
|
4382
|
-
case
|
|
4564
|
+
case 571:
|
|
4383
4565
|
return "DL category TM valid to"
|
|
4384
|
-
case
|
|
4566
|
+
case 572:
|
|
4385
4567
|
return "DL category TR valid from"
|
|
4386
|
-
case
|
|
4568
|
+
case 573:
|
|
4387
4569
|
return "DL category TR codes"
|
|
4388
|
-
case
|
|
4570
|
+
case 574:
|
|
4389
4571
|
return "DL category TR valid to"
|
|
4390
|
-
case
|
|
4572
|
+
case 575:
|
|
4391
4573
|
return "DL category TV valid from"
|
|
4392
|
-
case
|
|
4574
|
+
case 576:
|
|
4393
4575
|
return "DL category TV codes"
|
|
4394
|
-
case
|
|
4576
|
+
case 577:
|
|
4395
4577
|
return "DL category TV valid to"
|
|
4396
|
-
case
|
|
4578
|
+
case 578:
|
|
4397
4579
|
return "DL category V valid from"
|
|
4398
|
-
case
|
|
4580
|
+
case 579:
|
|
4399
4581
|
return "DL category V codes"
|
|
4400
|
-
case
|
|
4582
|
+
case 580:
|
|
4401
4583
|
return "DL category V valid to"
|
|
4402
|
-
case
|
|
4584
|
+
case 581:
|
|
4403
4585
|
return "DL category W valid from"
|
|
4404
|
-
case
|
|
4586
|
+
case 582:
|
|
4405
4587
|
return "DL category W codes"
|
|
4406
|
-
case
|
|
4588
|
+
case 583:
|
|
4407
4589
|
return "DL category W valid to"
|
|
4408
|
-
case
|
|
4590
|
+
case 584:
|
|
4591
|
+
return "URL"
|
|
4592
|
+
case 585:
|
|
4409
4593
|
return "Caliber"
|
|
4410
|
-
case
|
|
4411
|
-
return "Citizenship of the first person"
|
|
4412
|
-
case this.FT_CITIZENSHIP_OF_SECOND_PERSON:
|
|
4413
|
-
return "Citizenship of the second person"
|
|
4414
|
-
case this.FT_CVV:
|
|
4415
|
-
return "CVV/CVC"
|
|
4416
|
-
case this.FT_DATE_OF_BIRTH_OF_HUSBAND:
|
|
4417
|
-
return "Date of birth of husband"
|
|
4418
|
-
case this.FT_DATE_OF_BIRTH_OF_WIFE:
|
|
4419
|
-
return "Date of birth of wife"
|
|
4420
|
-
case this.FT_MAKE:
|
|
4421
|
-
return "Make"
|
|
4422
|
-
case this.FT_MODEL:
|
|
4594
|
+
case 586:
|
|
4423
4595
|
return "Model"
|
|
4424
|
-
case
|
|
4596
|
+
case 587:
|
|
4597
|
+
return "Make"
|
|
4598
|
+
case 588:
|
|
4425
4599
|
return "Number of cylinders"
|
|
4426
|
-
case
|
|
4600
|
+
case 589:
|
|
4427
4601
|
return "Surname of husband after registration"
|
|
4428
|
-
case
|
|
4602
|
+
case 590:
|
|
4429
4603
|
return "Surname of wife after registration"
|
|
4430
|
-
case
|
|
4431
|
-
return "
|
|
4432
|
-
case
|
|
4604
|
+
case 591:
|
|
4605
|
+
return "Date of birth of wife"
|
|
4606
|
+
case 592:
|
|
4607
|
+
return "Date of birth of husband"
|
|
4608
|
+
case 593:
|
|
4609
|
+
return "Citizenship of the first person"
|
|
4610
|
+
case 594:
|
|
4611
|
+
return "Citizenship of the second person"
|
|
4612
|
+
case 595:
|
|
4613
|
+
return "CVV/CVC"
|
|
4614
|
+
case 596:
|
|
4433
4615
|
return "Expiry date of insurance"
|
|
4434
|
-
case
|
|
4616
|
+
case 597:
|
|
4435
4617
|
return "Mortgage by"
|
|
4436
|
-
case
|
|
4618
|
+
case 598:
|
|
4437
4619
|
return "Old document number"
|
|
4438
|
-
case
|
|
4620
|
+
case 599:
|
|
4439
4621
|
return "Old date of issue"
|
|
4440
|
-
case
|
|
4622
|
+
case 600:
|
|
4441
4623
|
return "Old place of issue"
|
|
4442
|
-
case
|
|
4624
|
+
case 601:
|
|
4443
4625
|
return "DL category LR valid from"
|
|
4444
|
-
case
|
|
4626
|
+
case 602:
|
|
4445
4627
|
return "DL category LR valid to"
|
|
4446
|
-
case
|
|
4628
|
+
case 603:
|
|
4447
4629
|
return "DL category LR codes"
|
|
4448
|
-
case
|
|
4630
|
+
case 604:
|
|
4449
4631
|
return "DL category MR valid from"
|
|
4450
|
-
case
|
|
4632
|
+
case 605:
|
|
4451
4633
|
return "DL category MR valid to"
|
|
4452
|
-
case
|
|
4634
|
+
case 606:
|
|
4453
4635
|
return "DL category MR codes"
|
|
4454
|
-
case
|
|
4636
|
+
case 607:
|
|
4455
4637
|
return "DL category HR valid from"
|
|
4456
|
-
case
|
|
4638
|
+
case 608:
|
|
4457
4639
|
return "DL category HR valid to"
|
|
4458
|
-
case
|
|
4640
|
+
case 609:
|
|
4459
4641
|
return "DL category HR codes"
|
|
4460
|
-
case
|
|
4642
|
+
case 610:
|
|
4461
4643
|
return "DL category HC valid from"
|
|
4462
|
-
case
|
|
4644
|
+
case 611:
|
|
4463
4645
|
return "DL category HC valid to"
|
|
4464
|
-
case
|
|
4646
|
+
case 612:
|
|
4465
4647
|
return "DL category HC codes"
|
|
4466
|
-
case
|
|
4648
|
+
case 613:
|
|
4467
4649
|
return "DL category MC valid from"
|
|
4468
|
-
case
|
|
4650
|
+
case 614:
|
|
4469
4651
|
return "DL category MC valid to"
|
|
4470
|
-
case
|
|
4652
|
+
case 615:
|
|
4471
4653
|
return "DL category MC codes"
|
|
4472
|
-
case
|
|
4654
|
+
case 616:
|
|
4473
4655
|
return "DL category RE valid from"
|
|
4474
|
-
case
|
|
4656
|
+
case 617:
|
|
4475
4657
|
return "DL category RE valid to"
|
|
4476
|
-
case
|
|
4658
|
+
case 618:
|
|
4477
4659
|
return "DL category RE codes"
|
|
4478
|
-
case
|
|
4660
|
+
case 619:
|
|
4479
4661
|
return "DL category R valid from"
|
|
4480
|
-
case
|
|
4662
|
+
case 620:
|
|
4481
4663
|
return "DL category R valid to"
|
|
4482
|
-
case
|
|
4664
|
+
case 621:
|
|
4483
4665
|
return "DL category R codes"
|
|
4484
|
-
case
|
|
4666
|
+
case 622:
|
|
4485
4667
|
return "DL category CA valid from"
|
|
4486
|
-
case
|
|
4668
|
+
case 623:
|
|
4487
4669
|
return "DL category CA valid to"
|
|
4488
|
-
case
|
|
4670
|
+
case 624:
|
|
4489
4671
|
return "DL category CA codes"
|
|
4672
|
+
case 625:
|
|
4673
|
+
return "Citizenship status"
|
|
4674
|
+
case 626:
|
|
4675
|
+
return "Military service from"
|
|
4676
|
+
case 627:
|
|
4677
|
+
return "Military service to"
|
|
4678
|
+
case 628:
|
|
4679
|
+
return "DL category NT valid from"
|
|
4680
|
+
case 629:
|
|
4681
|
+
return "DL category NT valid to"
|
|
4682
|
+
case 630:
|
|
4683
|
+
return "DL category NT codes"
|
|
4684
|
+
case 631:
|
|
4685
|
+
return "DL category TN valid from"
|
|
4686
|
+
case 632:
|
|
4687
|
+
return "DL category TN valid to"
|
|
4688
|
+
case 633:
|
|
4689
|
+
return "DL category TN codes"
|
|
4690
|
+
case 634:
|
|
4691
|
+
return "DL category D3 valid from"
|
|
4692
|
+
case 635:
|
|
4693
|
+
return "DL category D3 valid to"
|
|
4694
|
+
case 636:
|
|
4695
|
+
return "DL category D3 codes"
|
|
4696
|
+
case 637:
|
|
4697
|
+
return "Alternative date of expiry"
|
|
4698
|
+
case 638:
|
|
4699
|
+
return "DL category CD valid from"
|
|
4700
|
+
case 639:
|
|
4701
|
+
return "DL category CD valid to"
|
|
4702
|
+
case 640:
|
|
4703
|
+
return "DL category CD codes"
|
|
4490
4704
|
default:
|
|
4491
4705
|
return value
|
|
4492
4706
|
}
|
|
@@ -4505,6 +4719,12 @@ const FrameShapeType = {
|
|
|
4505
4719
|
CORNER: 1,
|
|
4506
4720
|
}
|
|
4507
4721
|
|
|
4722
|
+
const IRfidNotificationCompletion = {
|
|
4723
|
+
RFID_EVENT_CHIP_DETECTED: 1,
|
|
4724
|
+
RFID_EVENT_READING_ERROR: 2,
|
|
4725
|
+
RFID_EXTRA_ERROR_CODE: "rfid.error.code",
|
|
4726
|
+
}
|
|
4727
|
+
|
|
4508
4728
|
const LCID = {
|
|
4509
4729
|
LATIN: 0,
|
|
4510
4730
|
AFRIKAANS: 1078,
|
|
@@ -4978,6 +5198,12 @@ const ProcessingFinishedStatus = {
|
|
|
4978
5198
|
TIMEOUT: 2,
|
|
4979
5199
|
}
|
|
4980
5200
|
|
|
5201
|
+
const RFIDDelegate = {
|
|
5202
|
+
NULL: 0,
|
|
5203
|
+
NO_PA: 1,
|
|
5204
|
+
FULL: 2,
|
|
5205
|
+
}
|
|
5206
|
+
|
|
4981
5207
|
const RGLMeasureSystem = {
|
|
4982
5208
|
METRIC: 0,
|
|
4983
5209
|
IMPERIAL: 1,
|
|
@@ -5070,7 +5296,7 @@ const Enum = {
|
|
|
5070
5296
|
DocReaderAction,
|
|
5071
5297
|
DocReaderFrame,
|
|
5072
5298
|
DocReaderOrientation,
|
|
5073
|
-
|
|
5299
|
+
DocumentReaderExceptionEnum,
|
|
5074
5300
|
eCheckDiagnose,
|
|
5075
5301
|
eCheckResult,
|
|
5076
5302
|
eGraphicFieldType,
|
|
@@ -5095,9 +5321,11 @@ const Enum = {
|
|
|
5095
5321
|
eVisualFieldType,
|
|
5096
5322
|
FontStyle,
|
|
5097
5323
|
FrameShapeType,
|
|
5324
|
+
IRfidNotificationCompletion,
|
|
5098
5325
|
LCID,
|
|
5099
5326
|
PKDResourceType,
|
|
5100
5327
|
ProcessingFinishedStatus,
|
|
5328
|
+
RFIDDelegate,
|
|
5101
5329
|
RGLMeasureSystem,
|
|
5102
5330
|
ScenarioIdentifier,
|
|
5103
5331
|
LineCap,
|
|
@@ -5109,6 +5337,7 @@ const Enum = {
|
|
|
5109
5337
|
|
|
5110
5338
|
const DocumentReader = {}
|
|
5111
5339
|
|
|
5340
|
+
DocumentReader.initializeReaderAutomatically = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReaderAutomatically"])
|
|
5112
5341
|
DocumentReader.getAPIVersion = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getAPIVersion"])
|
|
5113
5342
|
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getAvailableScenarios"])
|
|
5114
5343
|
DocumentReader.isRFIDAvailableForUse = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["isRFIDAvailableForUse"])
|
|
@@ -5144,6 +5373,7 @@ DocumentReader.resetConfiguration = (successCallback, errorCallback) => cordova.
|
|
|
5144
5373
|
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["clearPKDCertificates"])
|
|
5145
5374
|
DocumentReader.readRFID = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["readRFID"])
|
|
5146
5375
|
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getRfidSessionStatus"])
|
|
5376
|
+
DocumentReader.setRfidDelegate = (delegate, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidDelegate", delegate])
|
|
5147
5377
|
DocumentReader.setEnableCoreLogs = (logs, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setEnableCoreLogs", logs])
|
|
5148
5378
|
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["addPKDCertificates", certificates])
|
|
5149
5379
|
DocumentReader.setCameraSessionIsPaused = (paused, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setCameraSessionIsPaused", paused])
|
|
@@ -5157,7 +5387,12 @@ DocumentReader.initializeReader = (license, successCallback, errorCallback) => c
|
|
|
5157
5387
|
DocumentReader.prepareDatabase = (databaseType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["prepareDatabase", databaseType])
|
|
5158
5388
|
DocumentReader.recognizeImage = (image, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeImage", image])
|
|
5159
5389
|
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidSessionStatus", status])
|
|
5390
|
+
DocumentReader.providePACertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["providePACertificates", certificates])
|
|
5391
|
+
DocumentReader.provideTACertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["provideTACertificates", certificates])
|
|
5392
|
+
DocumentReader.provideTASignature = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["provideTASignature", certificates])
|
|
5393
|
+
DocumentReader.parseCoreResults = (json, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["parseCoreResults", json])
|
|
5160
5394
|
DocumentReader.initializeReaderWithDatabasePath = (license, path, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReaderWithDatabasePath", license, path])
|
|
5395
|
+
DocumentReader.initializeReaderWithDatabase = (license, db, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReaderWithDatabase", license, db])
|
|
5161
5396
|
DocumentReader.recognizeImageFrame = (image, params, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeImageFrame", image, params])
|
|
5162
5397
|
DocumentReader.recognizeImageWithOpts = (image, options, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeImageWithOpts", image, options])
|
|
5163
5398
|
DocumentReader.recognizeVideoFrame = (byteString, params, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeVideoFrame", byteString, params])
|
|
@@ -5167,7 +5402,7 @@ DocumentReader.recognizeImageWithCameraMode = (image, mode, successCallback, err
|
|
|
5167
5402
|
|
|
5168
5403
|
DocumentReader.DocumentReaderResults = DocumentReaderResults
|
|
5169
5404
|
DocumentReader.Enum = Enum
|
|
5170
|
-
DocumentReader.
|
|
5405
|
+
DocumentReader.DocumentReaderScenario = DocumentReaderScenario
|
|
5171
5406
|
DocumentReader.DocumentReaderCompletion = DocumentReaderCompletion
|
|
5172
5407
|
|
|
5173
5408
|
module.exports = DocumentReader
|