From d5be2162cf1fa16b424fe68c73f469d504048f8e Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Fri, 6 Jun 2025 11:48:25 +0300 Subject: [PATCH 1/4] SP-18211 - update models --- .../webclient/model/OCRSecurityTextItem.java | 25 +++++---- .../model/OCRSecurityTextResult.java | 21 ++++---- .../webclient/model/PArrayField.java | 12 +++-- .../webclient/model/ProcessParams.java | 12 ++--- .../webclient/model/ProcessRequest.java | 51 +------------------ .../webclient/model/Result.java | 4 +- .../model/ext/RecognitionParams.java | 3 +- 7 files changed, 43 insertions(+), 85 deletions(-) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java index 81728be..ddf411f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java @@ -53,19 +53,19 @@ public class OCRSecurityTextItem { @SerializedName(SERIALIZED_NAME_ETALON_RESULT_TYPE) @javax.annotation.Nonnull - private Integer etalonResultType; + private Integer etalonResultType = 0; public static final String SERIALIZED_NAME_ETALON_FIELD_TYPE = "EtalonFieldType"; @SerializedName(SERIALIZED_NAME_ETALON_FIELD_TYPE) @javax.annotation.Nonnull - private Integer etalonFieldType; + private TextFieldType etalonFieldType; public static final String SERIALIZED_NAME_ETALON_LIGHT_TYPE = "EtalonLightType"; @SerializedName(SERIALIZED_NAME_ETALON_LIGHT_TYPE) @javax.annotation.Nonnull - private Integer etalonLightType; + private Light etalonLightType; public static final String SERIALIZED_NAME_ETALON_FIELD_RECT = "EtalonFieldRect"; @@ -168,7 +168,7 @@ public OCRSecurityTextItem etalonResultType(@javax.annotation.Nonnull Integer et } /** - * Get etalonResultType + * Same as Result type, but used for safe parsing of not-described values. See Result type. * * @return etalonResultType */ @@ -181,7 +181,8 @@ public void setEtalonResultType(@javax.annotation.Nonnull Integer etalonResultTy this.etalonResultType = etalonResultType; } - public OCRSecurityTextItem etalonFieldType(@javax.annotation.Nonnull Integer etalonFieldType) { + public OCRSecurityTextItem etalonFieldType( + @javax.annotation.Nonnull TextFieldType etalonFieldType) { this.etalonFieldType = etalonFieldType; return this; } @@ -192,15 +193,15 @@ public OCRSecurityTextItem etalonFieldType(@javax.annotation.Nonnull Integer eta * @return etalonFieldType */ @javax.annotation.Nonnull - public Integer getEtalonFieldType() { + public TextFieldType getEtalonFieldType() { return etalonFieldType; } - public void setEtalonFieldType(@javax.annotation.Nonnull Integer etalonFieldType) { + public void setEtalonFieldType(@javax.annotation.Nonnull TextFieldType etalonFieldType) { this.etalonFieldType = etalonFieldType; } - public OCRSecurityTextItem etalonLightType(@javax.annotation.Nonnull Integer etalonLightType) { + public OCRSecurityTextItem etalonLightType(@javax.annotation.Nonnull Light etalonLightType) { this.etalonLightType = etalonLightType; return this; } @@ -211,11 +212,11 @@ public OCRSecurityTextItem etalonLightType(@javax.annotation.Nonnull Integer eta * @return etalonLightType */ @javax.annotation.Nonnull - public Integer getEtalonLightType() { + public Light getEtalonLightType() { return etalonLightType; } - public void setEtalonLightType(@javax.annotation.Nonnull Integer etalonLightType) { + public void setEtalonLightType(@javax.annotation.Nonnull Light etalonLightType) { this.etalonLightType = etalonLightType; } @@ -472,6 +473,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti Light.validateJsonElement(jsonObj.get("LightType")); // validate the required field `FieldRect` RectangleCoordinates.validateJsonElement(jsonObj.get("FieldRect")); + // validate the required field `EtalonFieldType` + TextFieldType.validateJsonElement(jsonObj.get("EtalonFieldType")); + // validate the required field `EtalonLightType` + Light.validateJsonElement(jsonObj.get("EtalonLightType")); // validate the required field `EtalonFieldRect` RectangleCoordinates.validateJsonElement(jsonObj.get("EtalonFieldRect")); if (!jsonObj.get("SecurityTextResultOCR").isJsonPrimitive()) { diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java index 581d379..ec65171 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java @@ -53,19 +53,19 @@ public class OCRSecurityTextResult extends AuthenticityCheckResultItem { @SerializedName(SERIALIZED_NAME_ETALON_RESULT_TYPE) @javax.annotation.Nonnull - private Integer etalonResultType; + private Integer etalonResultType = 0; public static final String SERIALIZED_NAME_ETALON_FIELD_TYPE = "EtalonFieldType"; @SerializedName(SERIALIZED_NAME_ETALON_FIELD_TYPE) @javax.annotation.Nonnull - private Integer etalonFieldType; + private TextFieldType etalonFieldType; public static final String SERIALIZED_NAME_ETALON_LIGHT_TYPE = "EtalonLightType"; @SerializedName(SERIALIZED_NAME_ETALON_LIGHT_TYPE) @javax.annotation.Nonnull - private Integer etalonLightType; + private Light etalonLightType; public static final String SERIALIZED_NAME_ETALON_FIELD_RECT = "EtalonFieldRect"; @@ -169,7 +169,7 @@ public OCRSecurityTextResult etalonResultType( } /** - * Get etalonResultType + * Same as Result type, but used for safe parsing of not-described values. See Result type. * * @return etalonResultType */ @@ -182,7 +182,8 @@ public void setEtalonResultType(@javax.annotation.Nonnull Integer etalonResultTy this.etalonResultType = etalonResultType; } - public OCRSecurityTextResult etalonFieldType(@javax.annotation.Nonnull Integer etalonFieldType) { + public OCRSecurityTextResult etalonFieldType( + @javax.annotation.Nonnull TextFieldType etalonFieldType) { this.etalonFieldType = etalonFieldType; return this; } @@ -193,15 +194,15 @@ public OCRSecurityTextResult etalonFieldType(@javax.annotation.Nonnull Integer e * @return etalonFieldType */ @javax.annotation.Nonnull - public Integer getEtalonFieldType() { + public TextFieldType getEtalonFieldType() { return etalonFieldType; } - public void setEtalonFieldType(@javax.annotation.Nonnull Integer etalonFieldType) { + public void setEtalonFieldType(@javax.annotation.Nonnull TextFieldType etalonFieldType) { this.etalonFieldType = etalonFieldType; } - public OCRSecurityTextResult etalonLightType(@javax.annotation.Nonnull Integer etalonLightType) { + public OCRSecurityTextResult etalonLightType(@javax.annotation.Nonnull Light etalonLightType) { this.etalonLightType = etalonLightType; return this; } @@ -212,11 +213,11 @@ public OCRSecurityTextResult etalonLightType(@javax.annotation.Nonnull Integer e * @return etalonLightType */ @javax.annotation.Nonnull - public Integer getEtalonLightType() { + public Light getEtalonLightType() { return etalonLightType; } - public void setEtalonLightType(@javax.annotation.Nonnull Integer etalonLightType) { + public void setEtalonLightType(@javax.annotation.Nonnull Light etalonLightType) { this.etalonLightType = etalonLightType; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java index 4491fae..20bc2bd 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PArrayField.java @@ -80,7 +80,7 @@ public class PArrayField { @SerializedName(SERIALIZED_NAME_BC_TEXT_FIELD_TYPE) @javax.annotation.Nullable - private Integer bcTextFieldType; + private TextFieldType bcTextFieldType; public static final String SERIALIZED_NAME_BC_TYPE_D_E_C_O_D_E = "bcType_DECODE"; @@ -237,7 +237,7 @@ public void setBcTextDecoderTypes(@javax.annotation.Nullable Integer bcTextDecod this.bcTextDecoderTypes = bcTextDecoderTypes; } - public PArrayField bcTextFieldType(@javax.annotation.Nullable Integer bcTextFieldType) { + public PArrayField bcTextFieldType(@javax.annotation.Nullable TextFieldType bcTextFieldType) { this.bcTextFieldType = bcTextFieldType; return this; } @@ -248,11 +248,11 @@ public PArrayField bcTextFieldType(@javax.annotation.Nullable Integer bcTextFiel * @return bcTextFieldType */ @javax.annotation.Nullable - public Integer getBcTextFieldType() { + public TextFieldType getBcTextFieldType() { return bcTextFieldType; } - public void setBcTextFieldType(@javax.annotation.Nullable Integer bcTextFieldType) { + public void setBcTextFieldType(@javax.annotation.Nullable TextFieldType bcTextFieldType) { this.bcTextFieldType = bcTextFieldType; } @@ -433,6 +433,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } // validate the required field `bcROI_DETECT` BcROIDETECT.validateJsonElement(jsonObj.get("bcROI_DETECT")); + // validate the optional field `bcTextFieldType` + if (jsonObj.get("bcTextFieldType") != null && !jsonObj.get("bcTextFieldType").isJsonNull()) { + TextFieldType.validateJsonElement(jsonObj.get("bcTextFieldType")); + } // validate the required field `bcType_DECODE` BarcodeType.validateJsonElement(jsonObj.get("bcType_DECODE")); } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java index 94fc37f..663c322 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java @@ -322,7 +322,7 @@ public class ProcessParams { @SerializedName(SERIALIZED_NAME_PROCESS_AUTH) @javax.annotation.Nullable - private AuthenticityResultType processAuth; + private Long processAuth; public static final String SERIALIZED_NAME_DEVICE_ID = "deviceId"; @@ -1434,7 +1434,7 @@ public void setDocumentGroupFilter( this.documentGroupFilter = documentGroupFilter; } - public ProcessParams processAuth(@javax.annotation.Nullable AuthenticityResultType processAuth) { + public ProcessParams processAuth(@javax.annotation.Nullable Long processAuth) { this.processAuth = processAuth; return this; } @@ -1445,11 +1445,11 @@ public ProcessParams processAuth(@javax.annotation.Nullable AuthenticityResultTy * @return processAuth */ @javax.annotation.Nullable - public AuthenticityResultType getProcessAuth() { + public Long getProcessAuth() { return processAuth; } - public void setProcessAuth(@javax.annotation.Nullable AuthenticityResultType processAuth) { + public void setProcessAuth(@javax.annotation.Nullable Long processAuth) { this.processAuth = processAuth; } @@ -2256,10 +2256,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti "Expected the field `documentGroupFilter` to be an array in the JSON string but got `%s`", jsonObj.get("documentGroupFilter").toString())); } - // validate the optional field `processAuth` - if (jsonObj.get("processAuth") != null && !jsonObj.get("processAuth").isJsonNull()) { - AuthenticityResultType.validateJsonElement(jsonObj.get("processAuth")); - } if ((jsonObj.get("deviceTypeHex") != null && !jsonObj.get("deviceTypeHex").isJsonNull()) && !jsonObj.get("deviceTypeHex").isJsonPrimitive()) { throw new IllegalArgumentException( diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java index 848f2c6..c3e871d 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessRequest.java @@ -108,12 +108,6 @@ public class ProcessRequest { @javax.annotation.Nullable private List imageUrls; - public static final String SERIALIZED_NAME_LCID_FILTER = "lcidFilter"; - - @SerializedName(SERIALIZED_NAME_LCID_FILTER) - @javax.annotation.Nullable - private List lcidFilter; - public ProcessRequest() {} public ProcessRequest processParam(@javax.annotation.Nonnull ProcessParams processParam) { @@ -370,34 +364,6 @@ public void setImageUrls(@javax.annotation.Nullable List imageUrls) { this.imageUrls = imageUrls; } - public ProcessRequest lcidFilter(@javax.annotation.Nullable List lcidFilter) { - this.lcidFilter = lcidFilter; - return this; - } - - public ProcessRequest addLcidFilterItem(LCID lcidFilterItem) { - if (this.lcidFilter == null) { - this.lcidFilter = new ArrayList<>(); - } - this.lcidFilter.add(lcidFilterItem); - return this; - } - - /** - * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. - * Empty by default. - * - * @return lcidFilter - */ - @javax.annotation.Nullable - public List getLcidFilter() { - return lcidFilter; - } - - public void setLcidFilter(@javax.annotation.Nullable List lcidFilter) { - this.lcidFilter = lcidFilter; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -418,8 +384,7 @@ public boolean equals(Object o) { && Objects.equals(this.systemInfo, processRequest.systemInfo) && Objects.equals(this.passBackObject, processRequest.passBackObject) && Objects.equals(this.dtc, processRequest.dtc) - && Objects.equals(this.imageUrls, processRequest.imageUrls) - && Objects.equals(this.lcidFilter, processRequest.lcidFilter); + && Objects.equals(this.imageUrls, processRequest.imageUrls); } @Override @@ -436,8 +401,7 @@ public int hashCode() { systemInfo, passBackObject, dtc, - imageUrls, - lcidFilter); + imageUrls); } @Override @@ -456,7 +420,6 @@ public String toString() { sb.append(" passBackObject: ").append(toIndentedString(passBackObject)).append("\n"); sb.append(" dtc: ").append(toIndentedString(dtc)).append("\n"); sb.append(" imageUrls: ").append(toIndentedString(imageUrls)).append("\n"); - sb.append(" lcidFilter: ").append(toIndentedString(lcidFilter)).append("\n"); sb.append("}"); return sb.toString(); } @@ -489,7 +452,6 @@ private String toIndentedString(Object o) { openapiFields.add("passBackObject"); openapiFields.add("dtc"); openapiFields.add("ImageUrls"); - openapiFields.add("lcidFilter"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -602,15 +564,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti "Expected the field `ImageUrls` to be an array in the JSON string but got `%s`", jsonObj.get("ImageUrls").toString())); } - // ensure the optional json data is an array if present - if (jsonObj.get("lcidFilter") != null - && !jsonObj.get("lcidFilter").isJsonNull() - && !jsonObj.get("lcidFilter").isJsonArray()) { - throw new IllegalArgumentException( - String.format( - "Expected the field `lcidFilter` to be an array in the JSON string but got `%s`", - jsonObj.get("lcidFilter").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java index 46ba877..16b33ef 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Result.java @@ -109,10 +109,10 @@ public enum Result { /** Contains license */ LICENSE(50), - /** Contains result of DocumentPosition */ + /** Contains result of MRZ position */ MRZ_POSITION(61), - /** Contains result of DocumentPosition */ + /** Contains result of barcode position */ BARCODE_POSITION(62), /** Contains information about document position on the input image, its center, angle, etc */ diff --git a/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java b/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java index e25bed4..7168b6d 100644 --- a/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java +++ b/client/src/main/java/com/regula/documentreader/webclient/model/ext/RecognitionParams.java @@ -1,7 +1,6 @@ package com.regula.documentreader.webclient.model.ext; import com.regula.documentreader.webclient.model.AuthParams; -import com.regula.documentreader.webclient.model.AuthenticityResultType; import com.regula.documentreader.webclient.model.DocumentFormat; import com.regula.documentreader.webclient.model.DocumentType; import com.regula.documentreader.webclient.model.FaceApi; @@ -246,7 +245,7 @@ public RecognitionParams withDocumentGroupFilter(List documentGrou return this; } - public RecognitionParams withProcessAuth(AuthenticityResultType processAuth) { + public RecognitionParams withProcessAuth(Long processAuth) { this.setProcessAuth(processAuth); return this; } From 24e84dbbdf39cdf55de30a3dff337d6121feaa81 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Fri, 6 Jun 2025 12:16:40 +0300 Subject: [PATCH 2/4] SP-18211 - update models --- .../webclient/model/RFIDErrorCodes.java | 2 +- .../webclient/model/SecurityFeatureItem.java | 31 +--------------- .../model/SecurityFeatureResult.java | 37 +------------------ .../webclient/model/VerifiedFieldMap.java | 33 +---------------- 4 files changed, 5 insertions(+), 98 deletions(-) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java index 6982cef..67a85c5 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java @@ -357,7 +357,7 @@ public enum RFIDErrorCodes { RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE(2248147721l), /** RFID: Failed */ - RFID_ERROR_FAILED(4294967295l), + RFID_ERROR_FAILED(-1l), /** RFID: No error */ RFID_ERROR_NO_ERROR(1l), diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureItem.java index 42963a9..f5b6156 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureItem.java @@ -61,12 +61,6 @@ public class SecurityFeatureItem { @javax.annotation.Nullable private AreaContainer areaList; - public static final String SERIALIZED_NAME_RESULT = "Result"; - - @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable - private Integer result; - public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2"; @SerializedName(SERIALIZED_NAME_RESERVED2) @@ -172,25 +166,6 @@ public void setAreaList(@javax.annotation.Nullable AreaContainer areaList) { this.areaList = areaList; } - public SecurityFeatureItem result(@javax.annotation.Nullable Integer result) { - this.result = result; - return this; - } - - /** - * Get result - * - * @return result - */ - @javax.annotation.Nullable - public Integer getResult() { - return result; - } - - public void setResult(@javax.annotation.Nullable Integer result) { - this.result = result; - } - public SecurityFeatureItem reserved2(@javax.annotation.Nullable Integer reserved2) { this.reserved2 = reserved2; return this; @@ -224,14 +199,12 @@ public boolean equals(Object o) { && Objects.equals(this.visibility, securityFeatureItem.visibility) && Objects.equals(this.criticalFlag, securityFeatureItem.criticalFlag) && Objects.equals(this.areaList, securityFeatureItem.areaList) - && Objects.equals(this.result, securityFeatureItem.result) && Objects.equals(this.reserved2, securityFeatureItem.reserved2); } @Override public int hashCode() { - return Objects.hash( - elementType, elementRect, visibility, criticalFlag, areaList, result, reserved2); + return Objects.hash(elementType, elementRect, visibility, criticalFlag, areaList, reserved2); } @Override @@ -243,7 +216,6 @@ public String toString() { sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); sb.append(" criticalFlag: ").append(toIndentedString(criticalFlag)).append("\n"); sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); sb.append("}"); return sb.toString(); @@ -270,7 +242,6 @@ private String toIndentedString(Object o) { openapiFields.add("Visibility"); openapiFields.add("CriticalFlag"); openapiFields.add("AreaList"); - openapiFields.add("Result"); openapiFields.add("Reserved2"); // a set of required properties/fields (JSON key names) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java index 75fb4e3..b5dda6e 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureResult.java @@ -61,12 +61,6 @@ public class SecurityFeatureResult extends AuthenticityCheckResultItem { @javax.annotation.Nullable private AreaContainer areaList; - public static final String SERIALIZED_NAME_RESULT = "Result"; - - @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable - private Integer result; - public static final String SERIALIZED_NAME_RESERVED2 = "Reserved2"; @SerializedName(SERIALIZED_NAME_RESERVED2) @@ -172,25 +166,6 @@ public void setAreaList(@javax.annotation.Nullable AreaContainer areaList) { this.areaList = areaList; } - public SecurityFeatureResult result(@javax.annotation.Nullable Integer result) { - this.result = result; - return this; - } - - /** - * Get result - * - * @return result - */ - @javax.annotation.Nullable - public Integer getResult() { - return result; - } - - public void setResult(@javax.annotation.Nullable Integer result) { - this.result = result; - } - public SecurityFeatureResult reserved2(@javax.annotation.Nullable Integer reserved2) { this.reserved2 = reserved2; return this; @@ -224,7 +199,6 @@ public boolean equals(Object o) { && Objects.equals(this.visibility, securityFeatureResult.visibility) && Objects.equals(this.criticalFlag, securityFeatureResult.criticalFlag) && Objects.equals(this.areaList, securityFeatureResult.areaList) - && Objects.equals(this.result, securityFeatureResult.result) && Objects.equals(this.reserved2, securityFeatureResult.reserved2) && super.equals(o); } @@ -232,14 +206,7 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - elementType, - elementRect, - visibility, - criticalFlag, - areaList, - result, - reserved2, - super.hashCode()); + elementType, elementRect, visibility, criticalFlag, areaList, reserved2, super.hashCode()); } @Override @@ -252,7 +219,6 @@ public String toString() { sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); sb.append(" criticalFlag: ").append(toIndentedString(criticalFlag)).append("\n"); sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); sb.append("}"); return sb.toString(); @@ -283,7 +249,6 @@ private String toIndentedString(Object o) { openapiFields.add("Visibility"); openapiFields.add("CriticalFlag"); openapiFields.add("AreaList"); - openapiFields.add("Result"); openapiFields.add("Reserved2"); // a set of required properties/fields (JSON key names) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java b/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java index 8601408..7a1aafa 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/VerifiedFieldMap.java @@ -75,12 +75,6 @@ public class VerifiedFieldMap { @javax.annotation.Nonnull private List matrix; - public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; - - @SerializedName(SERIALIZED_NAME_FIELD_TYPE) - @javax.annotation.Nullable - private Integer fieldType; - public VerifiedFieldMap() {} public VerifiedFieldMap wFieldType(@javax.annotation.Nonnull TextFieldType wFieldType) { @@ -235,25 +229,6 @@ public void setMatrix(@javax.annotation.Nonnull List matrix) this.matrix = matrix; } - public VerifiedFieldMap fieldType(@javax.annotation.Nullable Integer fieldType) { - this.fieldType = fieldType; - return this; - } - - /** - * Get fieldType - * - * @return fieldType - */ - @javax.annotation.Nullable - public Integer getFieldType() { - return fieldType; - } - - public void setFieldType(@javax.annotation.Nullable Integer fieldType) { - this.fieldType = fieldType; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -269,14 +244,12 @@ public boolean equals(Object o) { && Objects.equals(this.fieldVisual, verifiedFieldMap.fieldVisual) && Objects.equals(this.fieldBarcode, verifiedFieldMap.fieldBarcode) && Objects.equals(this.fieldRFID, verifiedFieldMap.fieldRFID) - && Objects.equals(this.matrix, verifiedFieldMap.matrix) - && Objects.equals(this.fieldType, verifiedFieldMap.fieldType); + && Objects.equals(this.matrix, verifiedFieldMap.matrix); } @Override public int hashCode() { - return Objects.hash( - wFieldType, wLCID, fieldMRZ, fieldVisual, fieldBarcode, fieldRFID, matrix, fieldType); + return Objects.hash(wFieldType, wLCID, fieldMRZ, fieldVisual, fieldBarcode, fieldRFID, matrix); } @Override @@ -290,7 +263,6 @@ public String toString() { sb.append(" fieldBarcode: ").append(toIndentedString(fieldBarcode)).append("\n"); sb.append(" fieldRFID: ").append(toIndentedString(fieldRFID)).append("\n"); sb.append(" matrix: ").append(toIndentedString(matrix)).append("\n"); - sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -318,7 +290,6 @@ private String toIndentedString(Object o) { openapiFields.add("Field_Barcode"); openapiFields.add("Field_RFID"); openapiFields.add("Matrix"); - openapiFields.add("FieldType"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); From 438efd8ce701673850f9839325e71f0a9fcb799e Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Mon, 9 Jun 2025 18:03:10 +0300 Subject: [PATCH 3/4] SP-18211 - update models --- .../webclient/model/CertificateData.java | 14 ++----- .../model/DocVisualExtendedField.java | 2 - .../webclient/model/FiberItem.java | 33 +--------------- .../webclient/model/FiberResult.java | 29 -------------- .../webclient/model/IdentItem.java | 33 +--------------- .../webclient/model/IdentResult.java | 38 +------------------ .../documentreader/webclient/model/Light.java | 10 ++++- .../webclient/model/OCRSecurityTextItem.java | 29 -------------- .../model/OCRSecurityTextResult.java | 29 -------------- .../webclient/model/ParsingErrorCodes.java | 24 ++++++++++++ .../webclient/model/PhotoIdentItem.java | 29 -------------- .../webclient/model/PhotoIdentResult.java | 29 -------------- .../webclient/model/ProcessParams.java | 4 +- .../model/RFIDDocVisualExtendedField.java | 2 - .../webclient/model/RFIDErrorCodes.java | 10 ++++- .../model/RfidAccessControlProcedureType.java | 5 ++- .../webclient/model/RfidBaudRate.java | 11 +++++- .../webclient/model/RfidCertificateType.java | 14 ++++++- .../webclient/model/RfidDataFileType.java | 18 ++++++++- .../webclient/model/RfidDataGroupTypeTag.java | 17 ++++++++- .../webclient/model/RfidPasswordType.java | 5 ++- .../model/SymbolRecognitionResult.java | 33 +--------------- .../model/VisualExtendedFieldItem.java | 32 +--------------- 23 files changed, 119 insertions(+), 331 deletions(-) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/CertificateData.java b/client/src/main/generated/com/regula/documentreader/webclient/model/CertificateData.java index ff59db5..025e74a 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/CertificateData.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/CertificateData.java @@ -41,7 +41,7 @@ public class CertificateData { @SerializedName(SERIALIZED_NAME_LENGTH) @javax.annotation.Nonnull - private String length; + private Integer length; public CertificateData() {} @@ -64,7 +64,7 @@ public void setData(@javax.annotation.Nonnull String data) { this.data = data; } - public CertificateData length(@javax.annotation.Nonnull String length) { + public CertificateData length(@javax.annotation.Nonnull Integer length) { this.length = length; return this; } @@ -75,11 +75,11 @@ public CertificateData length(@javax.annotation.Nonnull String length) { * @return length */ @javax.annotation.Nonnull - public String getLength() { + public Integer getLength() { return length; } - public void setLength(@javax.annotation.Nonnull String length) { + public void setLength(@javax.annotation.Nonnull Integer length) { this.length = length; } @@ -169,12 +169,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti "Expected the field `Data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Data").toString())); } - if (!jsonObj.get("Length").isJsonPrimitive()) { - throw new IllegalArgumentException( - String.format( - "Expected the field `Length` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("Length").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java index 22eead8..3cdb8c4 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/DocVisualExtendedField.java @@ -102,7 +102,6 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("FieldType"); openapiFields.add("wFieldType"); openapiFields.add("FieldName"); openapiFields.add("StringsCount"); @@ -120,7 +119,6 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); openapiRequiredFields.add("FieldRect"); - openapiRequiredFields.add("FieldType"); openapiRequiredFields.add("wFieldType"); openapiRequiredFields.add("FieldName"); openapiRequiredFields.add("StringsCount"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/FiberItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/FiberItem.java index 10900c5..0d94967 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/FiberItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/FiberItem.java @@ -88,12 +88,6 @@ public class FiberItem { @javax.annotation.Nonnull private List colorValues; - public static final String SERIALIZED_NAME_ERROR_CODE = "ErrorCode"; - - @SerializedName(SERIALIZED_NAME_ERROR_CODE) - @javax.annotation.Nullable - private Integer errorCode; - public FiberItem() {} public FiberItem rectCount(@javax.annotation.Nonnull Integer rectCount) { @@ -307,25 +301,6 @@ public void setColorValues(@javax.annotation.Nonnull List colorValues) this.colorValues = colorValues; } - public FiberItem errorCode(@javax.annotation.Nullable Integer errorCode) { - this.errorCode = errorCode; - return this; - } - - /** - * Get errorCode - * - * @return errorCode - */ - @javax.annotation.Nullable - public Integer getErrorCode() { - return errorCode; - } - - public void setErrorCode(@javax.annotation.Nullable Integer errorCode) { - this.errorCode = errorCode; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -343,8 +318,7 @@ public boolean equals(Object o) { && Objects.equals(this.width, fiberItem.width) && Objects.equals(this.length, fiberItem.length) && Objects.equals(this.area, fiberItem.area) - && Objects.equals(this.colorValues, fiberItem.colorValues) - && Objects.equals(this.errorCode, fiberItem.errorCode); + && Objects.equals(this.colorValues, fiberItem.colorValues); } @Override @@ -358,8 +332,7 @@ public int hashCode() { width, length, area, - colorValues, - errorCode); + colorValues); } @Override @@ -375,7 +348,6 @@ public String toString() { sb.append(" length: ").append(toIndentedString(length)).append("\n"); sb.append(" area: ").append(toIndentedString(area)).append("\n"); sb.append(" colorValues: ").append(toIndentedString(colorValues)).append("\n"); - sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -405,7 +377,6 @@ private String toIndentedString(Object o) { openapiFields.add("Length"); openapiFields.add("Area"); openapiFields.add("ColorValues"); - openapiFields.add("ErrorCode"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java index 58f9ec4..8049add 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/FiberResult.java @@ -87,12 +87,6 @@ public class FiberResult extends AuthenticityCheckResultItem { @javax.annotation.Nonnull private List colorValues; - public static final String SERIALIZED_NAME_ERROR_CODE = "ErrorCode"; - - @SerializedName(SERIALIZED_NAME_ERROR_CODE) - @javax.annotation.Nullable - private Integer errorCode; - public FiberResult() {} public FiberResult rectCount(@javax.annotation.Nonnull Integer rectCount) { @@ -306,25 +300,6 @@ public void setColorValues(@javax.annotation.Nonnull List colorValues) this.colorValues = colorValues; } - public FiberResult errorCode(@javax.annotation.Nullable Integer errorCode) { - this.errorCode = errorCode; - return this; - } - - /** - * Get errorCode - * - * @return errorCode - */ - @javax.annotation.Nullable - public Integer getErrorCode() { - return errorCode; - } - - public void setErrorCode(@javax.annotation.Nullable Integer errorCode) { - this.errorCode = errorCode; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -343,7 +318,6 @@ public boolean equals(Object o) { && Objects.equals(this.length, fiberResult.length) && Objects.equals(this.area, fiberResult.area) && Objects.equals(this.colorValues, fiberResult.colorValues) - && Objects.equals(this.errorCode, fiberResult.errorCode) && super.equals(o); } @@ -359,7 +333,6 @@ public int hashCode() { length, area, colorValues, - errorCode, super.hashCode()); } @@ -377,7 +350,6 @@ public String toString() { sb.append(" length: ").append(toIndentedString(length)).append("\n"); sb.append(" area: ").append(toIndentedString(area)).append("\n"); sb.append(" colorValues: ").append(toIndentedString(colorValues)).append("\n"); - sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n"); sb.append("}"); return sb.toString(); } @@ -411,7 +383,6 @@ private String toIndentedString(Object o) { openapiFields.add("Length"); openapiFields.add("Area"); openapiFields.add("ColorValues"); - openapiFields.add("ErrorCode"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/IdentItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/IdentItem.java index dd47f29..bfa930d 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/IdentItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/IdentItem.java @@ -73,12 +73,6 @@ public class IdentItem { @javax.annotation.Nullable private Integer elementID; - public static final String SERIALIZED_NAME_RESULT = "Result"; - - @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable - private Integer result; - public IdentItem() {} public IdentItem elementType(@javax.annotation.Nonnull SecurityFeatureType elementType) { @@ -214,25 +208,6 @@ public void setElementID(@javax.annotation.Nullable Integer elementID) { this.elementID = elementID; } - public IdentItem result(@javax.annotation.Nullable Integer result) { - this.result = result; - return this; - } - - /** - * Get result - * - * @return result - */ - @javax.annotation.Nullable - public Integer getResult() { - return result; - } - - public void setResult(@javax.annotation.Nullable Integer result) { - this.result = result; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -248,14 +223,12 @@ public boolean equals(Object o) { && Objects.equals(this.image, identItem.image) && Objects.equals(this.etalonImage, identItem.etalonImage) && Objects.equals(this.areaList, identItem.areaList) - && Objects.equals(this.elementID, identItem.elementID) - && Objects.equals(this.result, identItem.result); + && Objects.equals(this.elementID, identItem.elementID); } @Override public int hashCode() { - return Objects.hash( - elementType, lightIndex, area, image, etalonImage, areaList, elementID, result); + return Objects.hash(elementType, lightIndex, area, image, etalonImage, areaList, elementID); } @Override @@ -269,7 +242,6 @@ public String toString() { sb.append(" etalonImage: ").append(toIndentedString(etalonImage)).append("\n"); sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n"); sb.append(" elementID: ").append(toIndentedString(elementID)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append("}"); return sb.toString(); } @@ -297,7 +269,6 @@ private String toIndentedString(Object o) { openapiFields.add("EtalonImage"); openapiFields.add("AreaList"); openapiFields.add("ElementID"); - openapiFields.add("Result"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java index 53a1574..22f8282 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/IdentResult.java @@ -73,12 +73,6 @@ public class IdentResult extends AuthenticityCheckResultItem { @javax.annotation.Nullable private Integer elementID; - public static final String SERIALIZED_NAME_RESULT = "Result"; - - @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable - private Integer result; - public IdentResult() {} public IdentResult elementType(@javax.annotation.Nonnull SecurityFeatureType elementType) { @@ -214,25 +208,6 @@ public void setElementID(@javax.annotation.Nullable Integer elementID) { this.elementID = elementID; } - public IdentResult result(@javax.annotation.Nullable Integer result) { - this.result = result; - return this; - } - - /** - * Get result - * - * @return result - */ - @javax.annotation.Nullable - public Integer getResult() { - return result; - } - - public void setResult(@javax.annotation.Nullable Integer result) { - this.result = result; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -249,22 +224,13 @@ public boolean equals(Object o) { && Objects.equals(this.etalonImage, identResult.etalonImage) && Objects.equals(this.areaList, identResult.areaList) && Objects.equals(this.elementID, identResult.elementID) - && Objects.equals(this.result, identResult.result) && super.equals(o); } @Override public int hashCode() { return Objects.hash( - elementType, - lightIndex, - area, - image, - etalonImage, - areaList, - elementID, - result, - super.hashCode()); + elementType, lightIndex, area, image, etalonImage, areaList, elementID, super.hashCode()); } @Override @@ -279,7 +245,6 @@ public String toString() { sb.append(" etalonImage: ").append(toIndentedString(etalonImage)).append("\n"); sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n"); sb.append(" elementID: ").append(toIndentedString(elementID)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append("}"); return sb.toString(); } @@ -311,7 +276,6 @@ private String toIndentedString(Object o) { openapiFields.add("EtalonImage"); openapiFields.add("AreaList"); openapiFields.add("ElementID"); - openapiFields.add("Result"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java b/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java index d244d4f..327993f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/Light.java @@ -26,6 +26,12 @@ public enum Light { /** No Light */ OFF(0), + /** Upper/lower lighters of white light scheme */ + WHITE_TOP(2), + + /** Side lighters of white light scheme */ + WHITE_SIDE(4), + /** White */ WHITE(6), @@ -35,8 +41,8 @@ public enum Light { /** Ultraviolet */ UV(128), - /** Right and left lighters of white coaxial light scheme */ - AXIAL_WHITE_FULL(3072); + /** White coaxial */ + AXIAL_WHITE(3072); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java index ddf411f..b996e4b 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextItem.java @@ -85,12 +85,6 @@ public class OCRSecurityTextItem { @javax.annotation.Nonnull private String etalonResultOCR; - public static final String SERIALIZED_NAME_RESULT_CODE = "ResultCode"; - - @SerializedName(SERIALIZED_NAME_RESULT_CODE) - @javax.annotation.Nullable - private Integer resultCode; - public static final String SERIALIZED_NAME_RESERVED1 = "Reserved1"; @SerializedName(SERIALIZED_NAME_RESERVED1) @@ -279,25 +273,6 @@ public void setEtalonResultOCR(@javax.annotation.Nonnull String etalonResultOCR) this.etalonResultOCR = etalonResultOCR; } - public OCRSecurityTextItem resultCode(@javax.annotation.Nullable Integer resultCode) { - this.resultCode = resultCode; - return this; - } - - /** - * Get resultCode - * - * @return resultCode - */ - @javax.annotation.Nullable - public Integer getResultCode() { - return resultCode; - } - - public void setResultCode(@javax.annotation.Nullable Integer resultCode) { - this.resultCode = resultCode; - } - public OCRSecurityTextItem reserved1(@javax.annotation.Nullable Integer reserved1) { this.reserved1 = reserved1; return this; @@ -354,7 +329,6 @@ public boolean equals(Object o) { && Objects.equals(this.etalonFieldRect, ocRSecurityTextItem.etalonFieldRect) && Objects.equals(this.securityTextResultOCR, ocRSecurityTextItem.securityTextResultOCR) && Objects.equals(this.etalonResultOCR, ocRSecurityTextItem.etalonResultOCR) - && Objects.equals(this.resultCode, ocRSecurityTextItem.resultCode) && Objects.equals(this.reserved1, ocRSecurityTextItem.reserved1) && Objects.equals(this.reserved2, ocRSecurityTextItem.reserved2); } @@ -371,7 +345,6 @@ public int hashCode() { etalonFieldRect, securityTextResultOCR, etalonResultOCR, - resultCode, reserved1, reserved2); } @@ -391,7 +364,6 @@ public String toString() { .append(toIndentedString(securityTextResultOCR)) .append("\n"); sb.append(" etalonResultOCR: ").append(toIndentedString(etalonResultOCR)).append("\n"); - sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); sb.append(" reserved1: ").append(toIndentedString(reserved1)).append("\n"); sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); sb.append("}"); @@ -423,7 +395,6 @@ private String toIndentedString(Object o) { openapiFields.add("EtalonFieldRect"); openapiFields.add("SecurityTextResultOCR"); openapiFields.add("EtalonResultOCR"); - openapiFields.add("ResultCode"); openapiFields.add("Reserved1"); openapiFields.add("Reserved2"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java index ec65171..e8c6d70 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/OCRSecurityTextResult.java @@ -85,12 +85,6 @@ public class OCRSecurityTextResult extends AuthenticityCheckResultItem { @javax.annotation.Nonnull private String etalonResultOCR; - public static final String SERIALIZED_NAME_RESULT_CODE = "ResultCode"; - - @SerializedName(SERIALIZED_NAME_RESULT_CODE) - @javax.annotation.Nullable - private Integer resultCode; - public static final String SERIALIZED_NAME_RESERVED1 = "Reserved1"; @SerializedName(SERIALIZED_NAME_RESERVED1) @@ -280,25 +274,6 @@ public void setEtalonResultOCR(@javax.annotation.Nonnull String etalonResultOCR) this.etalonResultOCR = etalonResultOCR; } - public OCRSecurityTextResult resultCode(@javax.annotation.Nullable Integer resultCode) { - this.resultCode = resultCode; - return this; - } - - /** - * Get resultCode - * - * @return resultCode - */ - @javax.annotation.Nullable - public Integer getResultCode() { - return resultCode; - } - - public void setResultCode(@javax.annotation.Nullable Integer resultCode) { - this.resultCode = resultCode; - } - public OCRSecurityTextResult reserved1(@javax.annotation.Nullable Integer reserved1) { this.reserved1 = reserved1; return this; @@ -355,7 +330,6 @@ public boolean equals(Object o) { && Objects.equals(this.etalonFieldRect, ocRSecurityTextResult.etalonFieldRect) && Objects.equals(this.securityTextResultOCR, ocRSecurityTextResult.securityTextResultOCR) && Objects.equals(this.etalonResultOCR, ocRSecurityTextResult.etalonResultOCR) - && Objects.equals(this.resultCode, ocRSecurityTextResult.resultCode) && Objects.equals(this.reserved1, ocRSecurityTextResult.reserved1) && Objects.equals(this.reserved2, ocRSecurityTextResult.reserved2) && super.equals(o); @@ -373,7 +347,6 @@ public int hashCode() { etalonFieldRect, securityTextResultOCR, etalonResultOCR, - resultCode, reserved1, reserved2, super.hashCode()); @@ -395,7 +368,6 @@ public String toString() { .append(toIndentedString(securityTextResultOCR)) .append("\n"); sb.append(" etalonResultOCR: ").append(toIndentedString(etalonResultOCR)).append("\n"); - sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n"); sb.append(" reserved1: ").append(toIndentedString(reserved1)).append("\n"); sb.append(" reserved2: ").append(toIndentedString(reserved2)).append("\n"); sb.append("}"); @@ -431,7 +403,6 @@ private String toIndentedString(Object o) { openapiFields.add("EtalonFieldRect"); openapiFields.add("SecurityTextResultOCR"); openapiFields.add("EtalonResultOCR"); - openapiFields.add("ResultCode"); openapiFields.add("Reserved1"); openapiFields.add("Reserved2"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java index ce7c7b8..765fd25 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingErrorCodes.java @@ -113,6 +113,30 @@ public enum ParsingErrorCodes { /** ASN Signer info: Unsigned attributes incorrect data */ errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData(2147483687l), + /** ASN DTC Signer info: Incorrect data */ + errLDS_ASN_DTC_SignerInfo_IncorrectData(2147483712l), + + /** ASN DTC Signer info: Certificate incorrect data */ + errLDS_ASN_DTC_SignerInfo_Certificate_IncorrectData(2147483713l), + + /** ASN DTC Signer info: Digest algorithms incorrect data */ + errLDS_ASN_DTC_SignerInfo_DigestAlg_IncorrectData(2147483714l), + + /** ASN DTC Signer info: Signed attributes incorrect data */ + errLDS_ASN_DTC_SignerInfo_SignedAttrs_IncorrectData(2147483715l), + + /** ASN DTC Signer info: Sign algorithms incorrect data */ + errLDS_ASN_DTC_SignerInfo_SignAlg_IncorrectData(2147483716l), + + /** ASN DTC Signer info: Signature incorrect data */ + errLDS_ASN_DTC_SignerInfo_Signature_IncorrectData(2147483717l), + + /** ASN DTC Security info: Incorrect data */ + errLDS_ASN_DTC_SecurityInfo_IncorrectData(2147483718l), + + /** ASN DTC Content info: Incorrect data */ + errLDS_ASN_DTC_ContentInfo_IncorrectData(2147483719l), + /** ICAO LDS object: Unsupported digest algorithm */ errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm(2147483696l), diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentItem.java index 1836bfa..023073f 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentItem.java @@ -81,12 +81,6 @@ public class PhotoIdentItem { @javax.annotation.Nullable private Integer angle; - public static final String SERIALIZED_NAME_RESULT = "Result"; - - @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable - private Integer result; - public static final String SERIALIZED_NAME_RESERVED3 = "Reserved3"; @SerializedName(SERIALIZED_NAME_RESERVED3) @@ -255,25 +249,6 @@ public void setAngle(@javax.annotation.Nullable Integer angle) { this.angle = angle; } - public PhotoIdentItem result(@javax.annotation.Nullable Integer result) { - this.result = result; - return this; - } - - /** - * Get result - * - * @return result - */ - @javax.annotation.Nullable - public Integer getResult() { - return result; - } - - public void setResult(@javax.annotation.Nullable Integer result) { - this.result = result; - } - public PhotoIdentItem reserved3(@javax.annotation.Nullable Integer reserved3) { this.reserved3 = reserved3; return this; @@ -310,7 +285,6 @@ public boolean equals(Object o) { && Objects.equals(this.fieldTypesList, photoIdentItem.fieldTypesList) && Objects.equals(this.step, photoIdentItem.step) && Objects.equals(this.angle, photoIdentItem.angle) - && Objects.equals(this.result, photoIdentItem.result) && Objects.equals(this.reserved3, photoIdentItem.reserved3); } @@ -325,7 +299,6 @@ public int hashCode() { fieldTypesList, step, angle, - result, reserved3); } @@ -341,7 +314,6 @@ public String toString() { sb.append(" fieldTypesList: ").append(toIndentedString(fieldTypesList)).append("\n"); sb.append(" step: ").append(toIndentedString(step)).append("\n"); sb.append(" angle: ").append(toIndentedString(angle)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append(" reserved3: ").append(toIndentedString(reserved3)).append("\n"); sb.append("}"); return sb.toString(); @@ -371,7 +343,6 @@ private String toIndentedString(Object o) { openapiFields.add("FieldTypesList"); openapiFields.add("Step"); openapiFields.add("Angle"); - openapiFields.add("Result"); openapiFields.add("Reserved3"); // a set of required properties/fields (JSON key names) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java index 3c5a998..b247da0 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PhotoIdentResult.java @@ -81,12 +81,6 @@ public class PhotoIdentResult extends AuthenticityCheckResultItem { @javax.annotation.Nullable private Integer angle; - public static final String SERIALIZED_NAME_RESULT = "Result"; - - @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable - private Integer result; - public static final String SERIALIZED_NAME_RESERVED3 = "Reserved3"; @SerializedName(SERIALIZED_NAME_RESERVED3) @@ -256,25 +250,6 @@ public void setAngle(@javax.annotation.Nullable Integer angle) { this.angle = angle; } - public PhotoIdentResult result(@javax.annotation.Nullable Integer result) { - this.result = result; - return this; - } - - /** - * Get result - * - * @return result - */ - @javax.annotation.Nullable - public Integer getResult() { - return result; - } - - public void setResult(@javax.annotation.Nullable Integer result) { - this.result = result; - } - public PhotoIdentResult reserved3(@javax.annotation.Nullable Integer reserved3) { this.reserved3 = reserved3; return this; @@ -311,7 +286,6 @@ public boolean equals(Object o) { && Objects.equals(this.fieldTypesList, photoIdentResult.fieldTypesList) && Objects.equals(this.step, photoIdentResult.step) && Objects.equals(this.angle, photoIdentResult.angle) - && Objects.equals(this.result, photoIdentResult.result) && Objects.equals(this.reserved3, photoIdentResult.reserved3) && super.equals(o); } @@ -327,7 +301,6 @@ public int hashCode() { fieldTypesList, step, angle, - result, reserved3, super.hashCode()); } @@ -345,7 +318,6 @@ public String toString() { sb.append(" fieldTypesList: ").append(toIndentedString(fieldTypesList)).append("\n"); sb.append(" step: ").append(toIndentedString(step)).append("\n"); sb.append(" angle: ").append(toIndentedString(angle)).append("\n"); - sb.append(" result: ").append(toIndentedString(result)).append("\n"); sb.append(" reserved3: ").append(toIndentedString(reserved3)).append("\n"); sb.append("}"); return sb.toString(); @@ -379,7 +351,6 @@ private String toIndentedString(Object o) { openapiFields.add("FieldTypesList"); openapiFields.add("Step"); openapiFields.add("Angle"); - openapiFields.add("Result"); openapiFields.add("Reserved3"); // a set of required properties/fields (JSON key names) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java index 663c322..557c922 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java @@ -1440,7 +1440,9 @@ public ProcessParams processAuth(@javax.annotation.Nullable Long processAuth) { } /** - * Get processAuth + * Authenticity checks that should be performed regardless of the document type. The available + * checks are listed in the eRPRM_Authenticity enum. Note that only supported by your license + * checks can be added. * * @return processAuth */ diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDDocVisualExtendedField.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDDocVisualExtendedField.java index 859f9f5..23f2870 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDDocVisualExtendedField.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDDocVisualExtendedField.java @@ -186,7 +186,6 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("FieldType"); openapiFields.add("wFieldType"); openapiFields.add("FieldName"); openapiFields.add("StringsCount"); @@ -208,7 +207,6 @@ private String toIndentedString(Object o) { openapiRequiredFields = new HashSet(); openapiRequiredFields.add("OriginDG"); openapiRequiredFields.add("OriginTagEntry"); - openapiRequiredFields.add("FieldType"); openapiRequiredFields.add("wFieldType"); openapiRequiredFields.add("FieldName"); openapiRequiredFields.add("StringsCount"); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java index 67a85c5..0c84966 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java @@ -357,13 +357,19 @@ public enum RFIDErrorCodes { RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE(2248147721l), /** RFID: Failed */ - RFID_ERROR_FAILED(-1l), + RFID_ERROR_FAILED(4294967295l), /** RFID: No error */ RFID_ERROR_NO_ERROR(1l), /** RFID: The requested operation is already performed */ - RFID_ERROR_ALREADY_DONE(2l); + RFID_ERROR_ALREADY_DONE(2l), + + /** RFID: Not enough data */ + RFID_ERROR_NOT_ENOUGH_DATA(2147549191l), + + /** RFID: Layer 6 - Wrong data length */ + RFID_LAYER6_WRONG_LENGTH(2147510016l); private Long value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java index 38a2b98..3491866 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java @@ -48,7 +48,10 @@ public enum RfidAccessControlProcedureType { RI(6), /** Card info */ - CARD_INFO(10); + CARD_INFO(10), + + /** DTC info */ + DTC_INFO(11); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java index 61ffcf2..298aee6 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidBaudRate.java @@ -39,7 +39,16 @@ public enum RfidBaudRate { RFBR_424(4), /** 848 bits/s */ - RFBR_848(8); + RFBR_848(8), + + /** 1695 bits/s */ + RFBR_1695(16), + + /** 3390 bits/s */ + RFBR_3390(32), + + /** 6780 bits/s */ + RFBR_6780(64); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java index 77588a4..f217d10 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType.java @@ -48,7 +48,19 @@ public enum RfidCertificateType { DEF_LS(6), /** Black List signer */ - BLS(7); + BLS(7), + + /** LDS 2 */ + LDS2(8), + + /** Barcode signer (VDS) */ + BCS(9), + + /** Barcode signer (VDS for non-constrained environment) */ + BCS_NC(10), + + /** DTC signer */ + DTCS(11); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java index 4396f5a..3760059 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java @@ -175,6 +175,8 @@ public enum RfidDataFileType { ATR(400), + DIR(401), + _E_SIGN_PK(500), _E_SIGN_SIGNED_DATA(501), @@ -185,7 +187,9 @@ public enum RfidDataFileType { DEFECT_LIST(602), - BLACK_LIST(603), + DEVIATION_LIST(603), + + BLACK_LIST(604), APP_DIRECTORY(700), @@ -195,6 +199,8 @@ public enum RfidDataFileType { CHIP_PROPERTIES(703), + DTC_INFO(704), + POST_CA_RESPONSE(710), POST_CA_PUBLIC_KEY(711), @@ -207,6 +213,16 @@ public enum RfidDataFileType { POST_CA_CHECK_SK(715), + SAM_DATA(800), + + SAM_DATA_MAX(832), + + VDS(900), + + VDS_NC(901), + + DS(902), + USER_DEFINED(1000); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java index 362cee3..02a4f5d 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java @@ -81,6 +81,21 @@ public enum RfidDataGroupTypeTag { /** Security Object Document */ SOD(119), + /** Data Group 17 */ + DG17(113), + + /** Data Group 18 */ + DG18(114), + + /** Data Group 22 */ + DG22(115), + + /** Data Group 23 */ + DG23(116), + + /** Data Group 24 */ + DG24(98), + /** eID, Data Group 1 */ EID_DG1(97), @@ -151,7 +166,7 @@ public enum RfidDataGroupTypeTag { EDL_SOD(119), /** eDL, Card Entitlement */ - EDL_CE(119), + EDL_CE(83), /** eDL, Data Group 1 */ EDL_DG1(97), diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java index 045bbfe..be0b909 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java @@ -45,7 +45,10 @@ public enum RfidPasswordType { PIN_E_SIGN(5), /** Scanning Area Identifier (for eDL application) */ - SAI(6); + SAI(6), + + /** MRZ hash */ + MRZ_HASH(7); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java index 03644cd..b1d54c9 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SymbolRecognitionResult.java @@ -65,12 +65,6 @@ public class SymbolRecognitionResult { @javax.annotation.Nullable private Integer baseLineTop; - public static final String SERIALIZED_NAME_RESERVED = "Reserved"; - - @SerializedName(SERIALIZED_NAME_RESERVED) - @javax.annotation.Nullable - private Integer reserved; - public SymbolRecognitionResult() {} public SymbolRecognitionResult symbolRect( @@ -181,25 +175,6 @@ public void setBaseLineTop(@javax.annotation.Nullable Integer baseLineTop) { this.baseLineTop = baseLineTop; } - public SymbolRecognitionResult reserved(@javax.annotation.Nullable Integer reserved) { - this.reserved = reserved; - return this; - } - - /** - * Get reserved - * - * @return reserved - */ - @javax.annotation.Nullable - public Integer getReserved() { - return reserved; - } - - public void setReserved(@javax.annotation.Nullable Integer reserved) { - this.reserved = reserved; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -213,14 +188,12 @@ public boolean equals(Object o) { && Objects.equals(this.candidatesCount, symbolRecognitionResult.candidatesCount) && Objects.equals(this.listOfCandidates, symbolRecognitionResult.listOfCandidates) && Objects.equals(this.baseLineBottom, symbolRecognitionResult.baseLineBottom) - && Objects.equals(this.baseLineTop, symbolRecognitionResult.baseLineTop) - && Objects.equals(this.reserved, symbolRecognitionResult.reserved); + && Objects.equals(this.baseLineTop, symbolRecognitionResult.baseLineTop); } @Override public int hashCode() { - return Objects.hash( - symbolRect, candidatesCount, listOfCandidates, baseLineBottom, baseLineTop, reserved); + return Objects.hash(symbolRect, candidatesCount, listOfCandidates, baseLineBottom, baseLineTop); } @Override @@ -232,7 +205,6 @@ public String toString() { sb.append(" listOfCandidates: ").append(toIndentedString(listOfCandidates)).append("\n"); sb.append(" baseLineBottom: ").append(toIndentedString(baseLineBottom)).append("\n"); sb.append(" baseLineTop: ").append(toIndentedString(baseLineTop)).append("\n"); - sb.append(" reserved: ").append(toIndentedString(reserved)).append("\n"); sb.append("}"); return sb.toString(); } @@ -258,7 +230,6 @@ private String toIndentedString(Object o) { openapiFields.add("ListOfCandidates"); openapiFields.add("BaseLineBottom"); openapiFields.add("BaseLineTop"); - openapiFields.add("Reserved"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/VisualExtendedFieldItem.java b/client/src/main/generated/com/regula/documentreader/webclient/model/VisualExtendedFieldItem.java index d713491..a03ce9b 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/VisualExtendedFieldItem.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/VisualExtendedFieldItem.java @@ -29,12 +29,6 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.13.0") public class VisualExtendedFieldItem { - public static final String SERIALIZED_NAME_FIELD_TYPE = "FieldType"; - - @SerializedName(SERIALIZED_NAME_FIELD_TYPE) - @javax.annotation.Nonnull - private Integer fieldType; - public static final String SERIALIZED_NAME_W_FIELD_TYPE = "wFieldType"; @SerializedName(SERIALIZED_NAME_W_FIELD_TYPE) @@ -109,25 +103,6 @@ public class VisualExtendedFieldItem { public VisualExtendedFieldItem() {} - public VisualExtendedFieldItem fieldType(@javax.annotation.Nonnull Integer fieldType) { - this.fieldType = fieldType; - return this; - } - - /** - * Get fieldType - * - * @return fieldType - */ - @javax.annotation.Nonnull - public Integer getFieldType() { - return fieldType; - } - - public void setFieldType(@javax.annotation.Nonnull Integer fieldType) { - this.fieldType = fieldType; - } - public VisualExtendedFieldItem wFieldType(@javax.annotation.Nonnull TextFieldType wFieldType) { this.wFieldType = wFieldType; return this; @@ -377,8 +352,7 @@ public boolean equals(Object o) { return false; } VisualExtendedFieldItem visualExtendedFieldItem = (VisualExtendedFieldItem) o; - return Objects.equals(this.fieldType, visualExtendedFieldItem.fieldType) - && Objects.equals(this.wFieldType, visualExtendedFieldItem.wFieldType) + return Objects.equals(this.wFieldType, visualExtendedFieldItem.wFieldType) && Objects.equals(this.fieldName, visualExtendedFieldItem.fieldName) && Objects.equals(this.stringsCount, visualExtendedFieldItem.stringsCount) && Objects.equals(this.stringsResult, visualExtendedFieldItem.stringsResult) @@ -395,7 +369,6 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - fieldType, wFieldType, fieldName, stringsCount, @@ -414,7 +387,6 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class VisualExtendedFieldItem {\n"); - sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n"); sb.append(" wFieldType: ").append(toIndentedString(wFieldType)).append("\n"); sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); sb.append(" stringsCount: ").append(toIndentedString(stringsCount)).append("\n"); @@ -447,7 +419,6 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("FieldType"); openapiFields.add("wFieldType"); openapiFields.add("FieldName"); openapiFields.add("StringsCount"); @@ -463,7 +434,6 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("FieldType"); openapiRequiredFields.add("wFieldType"); openapiRequiredFields.add("FieldName"); openapiRequiredFields.add("StringsCount"); From 26ac3d5563321c458a346ff4a180e337da516eaf Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Tue, 10 Jun 2025 16:24:23 +0300 Subject: [PATCH 4/4] SP-18211 - update enums --- .../model/ParsingNotificationCodes.java | 433 +++++++++++++--- .../webclient/model/RFIDErrorCodes.java | 464 +++++++++--------- 2 files changed, 597 insertions(+), 300 deletions(-) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java index ebda3e8..18b5a79 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ParsingNotificationCodes.java @@ -50,7 +50,7 @@ public enum ParsingNotificationCodes { /** ASN certificate: Forced default CSCA role */ ntfLDS_ASN_Certificate_ForcedDefaultCSCARole(2415919118l), - /** ASN certificate: Forced Default DS role */ + /** ASN certificate: Forced default DS role */ ntfLDS_ASN_Certificate_ForcedDefaultDSRole(2415919119l), /** ASN certificate: Incorrect issuer subject DS */ @@ -143,10 +143,10 @@ public enum ParsingNotificationCodes { /** ICAO certificate extension Auth key: ID missed */ ntfLDS_ICAO_Certificate_Ext_AuthKeyID_Missed(2415919643l), - /** ICAO certificate extension Auth key: Incorrect data */ + /** ICAO certificate extension Auth key: ID incorrect data */ ntfLDS_ICAO_Certificate_Ext_AuthKeyID_IncorrectData(2415919644l), - /** ICAO certificate extension Auth key: Key ID missed */ + /** ICAO certificate extension Auth key: ID key ID missed */ ntfLDS_ICAO_Certificate_Ext_AuthKeyID_KeyID_Missed(2415919645l), /** ICAO certificate extension: Subject key ID missed */ @@ -227,7 +227,7 @@ public enum ParsingNotificationCodes { /** ICAO certificate extension Doc type list: Doc types empty */ ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes_Empty(2415919673l), - /** ICAO certificate extension: Dert policies incorrect data */ + /** ICAO certificate extension: Cert policies incorrect data */ ntfLDS_ICAO_Certificate_Ext_CertPolicies_IncorrectData(2415919674l), /** ICAO certificate extension: Cert policies empty */ @@ -278,7 +278,7 @@ public enum ParsingNotificationCodes { /** ICAO certificate extension: Name change critical */ ntfLDS_ICAO_Certificate_Ext_NameChange_Critical(2415919690l), - /** ICAO certificate extension Doc type list: non-compliant */ + /** ICAO certificate extension Doc type list: Non-compliant */ ntfLDS_ICAO_Certificate_Ext_DocTypeList_NonCompliant(2415919691l), /** ICAO certificate extension Doc type list: Critical */ @@ -293,6 +293,21 @@ public enum ParsingNotificationCodes { /** ICAO certificate: Subject common name non-compliant */ ntfLDS_ICAO_Certificate_Subject_CommonNameNonCompliant(2415919695l), + /** ICAO certificate: Chain country non-matching */ + ntfLDS_ICAO_Certificate_Chain_Country_NonMatching(2415919696l), + + /** ICAO certificate: Visual MRZ country non-matching */ + ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching(2415919697l), + + /** ICAO certificate: MRZ country non-matching */ + ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching(2415919698l), + + /** ICAO certificate: Issuer country non-uppercase */ + ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase(2415919699l), + + /** ICAO certificate: Subject country non-uppercase */ + ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase(2415919700l), + /** ICAO COM: LDS version incorrect */ ntfLDS_ICAO_COM_LDS_Version_Incorrect(2415919136l), @@ -374,7 +389,7 @@ public enum ParsingNotificationCodes { /** ICAO master list: Version incorrect */ ntfLDS_ICAO_MasterList_Version_Incorrect(2415919552l), - /** ICAO Deviation list: Version incorrect */ + /** ICAO deviation list: Version incorrect */ ntfLDS_ICAO_DeviationList_Version_Incorrect(2415919560l), /** BSI: Defect list version incorrect */ @@ -488,6 +503,9 @@ public enum ParsingNotificationCodes { /** MRZ: Incorrect */ ntfLDS_MRZ_Incorrect(139288l), + /** MRZ: Country code visual MRZ non-matching */ + ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching(139289l), + /** Biometrics: Format owner missing */ ntfLDS_Biometrics_FormatOwner_Missing(2415984640l), @@ -521,67 +539,364 @@ public enum ParsingNotificationCodes { /** Biometrics: BDB data length incorrect */ ntfLDS_Biometrics_BDB_DataLength_Incorrect(2416640000l), - /** Biometrics: BDB Data Gender */ + /** Biometrics: BDB data incorrect */ + ntfLDS_Biometrics_BDB_Data_Incorrect(2416705536l), + + /** Biometrics: BDB data gender */ ntfLDS_Biometrics_BDB_Data_Gender(2416967680l), - /** Biometrics: BDB Data Eye Color */ + /** Biometrics: BDB data eye color */ ntfLDS_Biometrics_BDB_Data_EyeColor(2417033216l), - /** Biometrics: BDB Data Hair Color */ + /** Biometrics: BDB data hair color */ ntfLDS_Biometrics_BDB_Data_HairColor(2417098752l), - /** Biometrics: BDB Data Pose Angle Yaw */ + /** Biometrics: BDB data pose angle yaw */ ntfLDS_Biometrics_BDB_Data_PoseAngle_Yaw(2417164288l), - /** Biometrics: BDB Data Pose Angle Pitch */ + /** Biometrics: BDB data pose angle pitch */ ntfLDS_Biometrics_BDB_Data_PoseAngle_Pitch(2417229824l), - /** Biometrics: BDB Data Pose Angle Roll */ + /** Biometrics: BDB data pose angle roll */ ntfLDS_Biometrics_BDB_Data_PoseAngle_Roll(2417295360l), - /** Biometrics: BDB Data Pose Angle U Yaw */ + /** Biometrics: BDB data pose angle U yaw */ ntfLDS_Biometrics_BDB_Data_PoseAngleU_Yaw(2417360896l), - /** Biometrics: BDB Data Pose Angle U Pitch */ + /** Biometrics: BDB data pose angle U pitch */ ntfLDS_Biometrics_BDB_Data_PoseAngleU_Pitch(2417426432l), - /** Biometrics: BDB Data Pose Angle U Roll */ + /** Biometrics: BDB data pose angle U roll */ ntfLDS_Biometrics_BDB_Data_PoseAngleU_Roll(2417491968l), - /** Biometrics: BDB Data Face Image Type */ + /** Biometrics: BDB data face image type */ ntfLDS_Biometrics_BDB_Data_FaceImageType(2417557504l), - /** Biometrics: BDB Data Image Data Type */ + /** Biometrics: BDB data image data type */ ntfLDS_Biometrics_BDB_Data_ImageDataType(2417623040l), - /** SI: PACE Info Unsupported Std Parameters */ + /** Biometrics: RB data incorrect */ + ntfLDS_Biometrics_RB_Data_Incorrect(2449539072l), + + /** Biometrics: RB item incorrect */ + ntfLDS_Biometrics_RB_Item_Incorrect(2449604608l), + + /** Biometrics: RB item missing */ + ntfLDS_Biometrics_RB_Item_Missing(2449670144l), + + /** Biometrics: RB item unexpected */ + ntfLDS_Biometrics_RB_Item_Unexpected(2449735680l), + + /** Biometrics: RB RID incorrect */ + ntfLDS_Biometrics_RB_RID_Incorrect(2449801232l), + + /** Biometrics: RB image R incorrect */ + ntfLDS_Biometrics_RB_ImageR_Incorrect(2449801248l), + + /** Biometrics: RB image item incorrect */ + ntfLDS_Biometrics_RB_Image_Item_Incorrect(2449801264l), + + /** Biometrics: RB image item missing */ + ntfLDS_Biometrics_RB_Image_Item_Missing(2449801265l), + + /** Biometrics: RB image item unexpected */ + ntfLDS_Biometrics_RB_Image_Item_Unexpected(2449801266l), + + /** Biometrics: RB image info item incorrect */ + ntfLDS_Biometrics_RB_Image_Info_Item_Incorrect(2449801280l), + + /** Biometrics: RB image info item missing */ + ntfLDS_Biometrics_RB_Image_Info_Item_Missing(2449801281l), + + /** Biometrics: RB image info item unexpected */ + ntfLDS_Biometrics_RB_Image_Info_Item_Unexpected(2449801282l), + + /** Biometrics: RB image info format incorrect */ + ntfLDS_Biometrics_RB_Image_Info_Format_Incorrect(2449801283l), + + /** Biometrics: RB image info format unsupported */ + ntfLDS_Biometrics_RB_Image_Info_Format_Unsupported(2449801284l), + + /** Biometrics: RB image info kind incorrect */ + ntfLDS_Biometrics_RB_Image_Info_Kind_Incorrect(2449801285l), + + /** Biometrics: RB image info kind unsupported */ + ntfLDS_Biometrics_RB_Image_Info_Kind_Unsupported(2449801286l), + + /** Biometrics: RB image info post APB incorrect */ + ntfLDS_Biometrics_RB_Image_Info_PostAPB_Incorrect(2449801287l), + + /** Biometrics: RB image info lossy TA incorrect */ + ntfLDS_Biometrics_RB_Image_Info_LossyTA_Incorrect(2449801288l), + + /** Biometrics: RB image info lossy TA unsupported */ + ntfLDS_Biometrics_RB_Image_Info_LossyTA_Unsupported(2449801289l), + + /** Biometrics: RB image info cam 2 subj unsupported */ + ntfLDS_Biometrics_RB_Image_Info_Cam2Subj_Unsupported(2449801290l), + + /** Biometrics: RB image info sens diag unsupported */ + ntfLDS_Biometrics_RB_Image_Info_SensDiag_Unsupported(2449801291l), + + /** Biometrics: RB image info lens F unsupported */ + ntfLDS_Biometrics_RB_Image_Info_LensF_Unsupported(2449801292l), + + /** Biometrics: RB image info im size incorrect */ + ntfLDS_Biometrics_RB_Image_Info_ImSize_Incorrect(2449801293l), + + /** Biometrics: RB image info im size unsupported */ + ntfLDS_Biometrics_RB_Image_Info_ImSize_Unsupported(2449801294l), + + /** Biometrics: RB image info im meas incorrect */ + ntfLDS_Biometrics_RB_Image_Info_ImMeas_Incorrect(2449801295l), + + /** Biometrics: RB image info color incorrect */ + ntfLDS_Biometrics_RB_Image_Info_Color_Incorrect(2449801296l), + + /** Biometrics: RB image info color unsupported */ + ntfLDS_Biometrics_RB_Image_Info_Color_Unsupported(2449801297l), + + /** Biometrics: RB image info color map incorrect */ + ntfLDS_Biometrics_RB_Image_Info_ColorMap_Incorrect(2449801298l), + + /** Biometrics: RB image capt item incorrect */ + ntfLDS_Biometrics_RB_Image_Capt_Item_Incorrect(2449801312l), + + /** Biometrics: RB image capt item unexpected */ + ntfLDS_Biometrics_RB_Image_Capt_Item_Unexpected(2449801313l), + + /** Biometrics: RB image capt spectral unsupported */ + ntfLDS_Biometrics_RB_Image_Capt_Spectral_Unsupported(2449801314l), + + /** Biometrics: RB image capt tech code incorrect */ + ntfLDS_Biometrics_RB_Image_Capt_TechCode_Incorrect(2449801315l), + + /** Biometrics: RB image capt tech code unsupported */ + ntfLDS_Biometrics_RB_Image_Capt_TechCode_Unsupported(2449801316l), + + /** Biometrics: RB date item incorrect */ + ntfLDS_Biometrics_RB_Date_Item_Incorrect(2449801328l), + + /** Biometrics: RB date item missing */ + ntfLDS_Biometrics_RB_Date_Item_Missing(2449801329l), + + /** Biometrics: RB date item unexpected */ + ntfLDS_Biometrics_RB_Date_Item_Unexpected(2449801330l), + + /** Biometrics: RB date incorrect */ + ntfLDS_Biometrics_RB_Date_Incorrect(2449801331l), + + /** Biometrics: RB quality item incorrect */ + ntfLDS_Biometrics_RB_Quality_Item_Incorrect(2449801344l), + + /** Biometrics: RB quality item missing */ + ntfLDS_Biometrics_RB_Quality_Item_Missing(2449801345l), + + /** Biometrics: RB quality item unexpected */ + ntfLDS_Biometrics_RB_Quality_Item_Unexpected(2449801346l), + + /** Biometrics: RB quality alg ID item incorrect */ + ntfLDS_Biometrics_RB_Quality_AlgID_Item_Incorrect(2449801347l), + + /** Biometrics: RB quality SoE item incorrect */ + ntfLDS_Biometrics_RB_Quality_SoE_Item_Incorrect(2449801348l), + + /** Biometrics: RB quality score item incorrect */ + ntfLDS_Biometrics_RB_Quality_Score_Item_Incorrect(2449801349l), + + /** Biometrics: RB quality error item incorrect */ + ntfLDS_Biometrics_RB_Quality_Error_Item_Incorrect(2449801350l), + + /** Biometrics: RB quality error item unsupported */ + ntfLDS_Biometrics_RB_Quality_Error_Item_Unsupported(2449801351l), + + /** Biometrics: RB PAD item incorrect */ + ntfLDS_Biometrics_RB_PAD_Item_Incorrect(2449801360l), + + /** Biometrics: RB PAD item unexpected */ + ntfLDS_Biometrics_RB_PAD_Item_Unexpected(2449801361l), + + /** Biometrics: RB PAD decision item incorrect */ + ntfLDS_Biometrics_RB_PAD_Decision_Item_Incorrect(2449801362l), + + /** Biometrics: RB PAD decision item unsupported */ + ntfLDS_Biometrics_RB_PAD_Decision_Item_Unsupported(2449801363l), + + /** Biometrics: RB PAD score item incorrect */ + ntfLDS_Biometrics_RB_PAD_Score_Item_Incorrect(2449801364l), + + /** Biometrics: RB PAD score reg ID item incorrect */ + ntfLDS_Biometrics_RB_PAD_Score_RegID_Item_Incorrect(2449801365l), + + /** Biometrics: RB PAD SoE item incorrect */ + ntfLDS_Biometrics_RB_PAD_SoE_Item_Incorrect(2449801366l), + + /** Biometrics: RB PAD SoE score item incorrect */ + ntfLDS_Biometrics_RB_PAD_SoE_Score_Item_Incorrect(2449801367l), + + /** Biometrics: RB PAD SoE error item incorrect */ + ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Incorrect(2449801368l), + + /** Biometrics: RB PAD SoE error item unsupported */ + ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Unsupported(2449801369l), + + /** Biometrics: RB PAD external data item incorrect */ + ntfLDS_Biometrics_RB_PAD_ExtData_Item_Incorrect(2449801370l), + + /** Biometrics: RB PAD external data type item incorrect */ + ntfLDS_Biometrics_RB_PAD_ExtData_Type_Item_Incorrect(2449801371l), + + /** Biometrics: RB PAD context item incorrect */ + ntfLDS_Biometrics_RB_PAD_Context_Item_Incorrect(2449801372l), + + /** Biometrics: RB PAD context item unsupported */ + ntfLDS_Biometrics_RB_PAD_Context_Item_Unsupported(2449801373l), + + /** Biometrics: RB PAD S level item incorrect */ + ntfLDS_Biometrics_RB_PAD_SLevel_Item_Incorrect(2449801374l), + + /** Biometrics: RB PAD S level item unsupported */ + ntfLDS_Biometrics_RB_PAD_SLevel_Item_Unsupported(2449801375l), + + /** Biometrics: RB PAD risk level item incorrect */ + ntfLDS_Biometrics_RB_PAD_RiskLevel_Item_Incorrect(2449801376l), + + /** Biometrics: RB PAD criteria item incorrect */ + ntfLDS_Biometrics_RB_PAD_Criteria_Item_Incorrect(2449801377l), + + /** Biometrics: RB PAD criteria item unsupported */ + ntfLDS_Biometrics_RB_PAD_Criteria_Item_Unsupported(2449801378l), + + /** Biometrics: RB PAD date item incorrect */ + ntfLDS_Biometrics_RB_PAD_Date_Item_Incorrect(2449801379l), + + /** Biometrics: RB PAD date item missing */ + ntfLDS_Biometrics_RB_PAD_Date_Item_Missing(2449801380l), + + /** Biometrics: RB PAD date item unexpected */ + ntfLDS_Biometrics_RB_PAD_Date_Item_Unexpected(2449801381l), + + /** Biometrics: RB PAD date incorrect */ + ntfLDS_Biometrics_RB_PAD_Date_Incorrect(2449801382l), + + /** Biometrics: RB session ID incorrect */ + ntfLDS_Biometrics_RB_SessionID_Incorrect(2449801392l), + + /** Biometrics: RB derived incorrect */ + ntfLDS_Biometrics_RB_Derived_Incorrect(2449801408l), + + /** Biometrics: RB device incorrect */ + ntfLDS_Biometrics_RB_Device_Incorrect(2449801424l), + + /** Biometrics: RB device item unexpected */ + ntfLDS_Biometrics_RB_Device_Item_Unexpected(2449801425l), + + /** Biometrics: RB device model ID item incorrect */ + ntfLDS_Biometrics_RB_Device_ModelID_Item_Incorrect(2449801426l), + + /** Biometrics: RB device cert ID item incorrect */ + ntfLDS_Biometrics_RB_Device_CertID_Item_Incorrect(2449801427l), + + /** Biometrics: RB metadata item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Item_Incorrect(2449801440l), + + /** Biometrics: RB metadata item unexpected */ + ntfLDS_Biometrics_RB_Metadata_Item_Unexpected(2449801441l), + + /** Biometrics: RB metadata gender item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Gender_Item_Incorrect(2449801442l), + + /** Biometrics: RB metadata gender item unsupported */ + ntfLDS_Biometrics_RB_Metadata_Gender_Item_Unsupported(2449801443l), + + /** Biometrics: RB metadata eye item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Eye_Item_Incorrect(2449801444l), + + /** Biometrics: RB metadata eye item unsupported */ + ntfLDS_Biometrics_RB_Metadata_Eye_Item_Unsupported(2449801445l), + + /** Biometrics: RB metadata hair item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Hair_Item_Incorrect(2449801446l), + + /** Biometrics: RB metadata hair item unsupported */ + ntfLDS_Biometrics_RB_Metadata_Hair_Item_Unsupported(2449801447l), + + /** Biometrics: RB metadata height item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Height_Item_Incorrect(2449801448l), + + /** Biometrics: RB metadata props item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Props_Item_Incorrect(2449801449l), + + /** Biometrics: RB metadata props item unexpected */ + ntfLDS_Biometrics_RB_Metadata_Props_Item_Unexpected(2449801450l), + + /** Biometrics: RB metadata express item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Express_Item_Incorrect(2449801451l), + + /** Biometrics: RB metadata express item unexpected */ + ntfLDS_Biometrics_RB_Metadata_Express_Item_Unexpected(2449801452l), + + /** Biometrics: RB metadata pose item incorrect */ + ntfLDS_Biometrics_RB_Metadata_Pose_Item_Incorrect(2449801453l), + + /** Biometrics: RB metadata pose item unexpected */ + ntfLDS_Biometrics_RB_Metadata_Pose_Item_Unexpected(2449801454l), + + /** Biometrics: RB landmark item incorrect */ + ntfLDS_Biometrics_RB_LandMark_Item_Incorrect(2449801456l), + + /** Biometrics: RB landmark item missing */ + ntfLDS_Biometrics_RB_LandMark_Item_Missing(2449801457l), + + /** Biometrics: RB landmark item unexpected */ + ntfLDS_Biometrics_RB_LandMark_Item_Unexpected(2449801458l), + + /** Biometrics: RB landmark kind item incorrect */ + ntfLDS_Biometrics_RB_LandMark_Kind_Item_Incorrect(2449801459l), + + /** Biometrics: RB landmark mpeg4 item incorrect */ + ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Incorrect(2449801460l), + + /** Biometrics: RB landmark mpeg4 item unsupported */ + ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Unsupported(2449801461l), + + /** Biometrics: RB landmark antr L item incorrect */ + ntfLDS_Biometrics_RB_LandMark_AntrL_Item_Incorrect(2449801462l), + + /** Biometrics: RB landmark coordinate item incorrect */ + ntfLDS_Biometrics_RB_LandMark_Coord_Item_Incorrect(2449801463l), + + /** DTC content info: Version incorrect */ + ntfLDS_DTC_ContentInfo_Version_Incorrect(2415919872l), + + /** SI: PACE info unsupported std parameters */ ntfLDS_SI_PACE_Info_UnsupportedStdParameters(2432696320l), - /** SI: PACE Info Deprecated Version */ + /** SI: PACE info deprecated version */ ntfLDS_SI_PACE_Info_DeprecatedVersion(2432696321l), - /** SI: PACE Domain Params Using Std Ref */ + /** SI: PACE domain params using std ref */ ntfLDS_SI_PACE_DomainParams_UsingStdRef(2432696322l), - /** SI: PACE Domain Params Unsupported Algorithm */ + /** SI: PACE domain params unsupported algorithm */ ntfLDS_SI_PACE_DomainParams_UnsupportedAlgorithm(2432696323l), - /** SI: CA Info Incorrect Version */ + /** SI: CA info incorrect version */ ntfLDS_SI_CA_Info_IncorrectVersion(2432696324l), - /** SI: CA PublicKey Unsupported Algorithm */ + /** SI: CA public key unsupported algorithm */ ntfLDS_SI_CA_PublicKey_UnsupportedAlgorithm(2432696325l), - /** SI: CA Domain Params Unsupported Algorithm */ + /** SI: CA domain params unsupported algorithm */ ntfLDS_SI_CA_DomainParams_UnsupportedAlgorithm(2432696326l), - /** SI: TA Info Incorrect Version */ + /** SI: TA info incorrect version */ ntfLDS_SI_TA_Info_IncorrectVersion(2432696327l), - /** SI: TA Info File ID For Version 2 */ + /** SI: TA info file ID for version 2 */ ntfLDS_SI_TA_Info_FileIDForVersion2(2432696328l), - /** SI: eID Security Unsupported Digest Algorithm */ + /** SI: eID security unsupported digest algorithm */ ntfLDS_SI_eIDSecurity_UnsupportedDigestAlgorithm(2432696329l), /** SI: RI info incorrect version */ @@ -599,67 +914,67 @@ public enum ParsingNotificationCodes { /** SI: AA info inconsistent algorithm reference */ ntfLDS_SI_AA_Info_InconsistentAlgorithmReference(2432696334l), - /** SI: PACE Info Not Available */ + /** SI: storage PACE info not available */ ntfLDS_SI_Storage_PACE_Info_NotAvailable(2432696576l), - /** SI: PACE Info No Std Parameters */ + /** SI: storage PACE info no std parameters */ ntfLDS_SI_Storage_PACE_Info_NoStdParameters(2432696577l), - /** SI: PACE Info No Matching Domain Params */ + /** SI: storage PACE info no matching domain params */ ntfLDS_SI_Storage_PACE_Info_NoMatchingDomainParams(2432696578l), - /** SI: CA Info Not Available */ + /** SI: storage CA info not available */ ntfLDS_SI_Storage_CA_Info_NotAvailable(2432696579l), - /** SI: CA Domain Params No Required Option */ + /** SI: storage CA domain params no required option */ ntfLDS_SI_Storage_CA_DomainParams_NoRequiredOption(2432696580l), - /** SI: CA Domain Params Not Available */ + /** SI: storage CA domain params not available */ ntfLDS_SI_Storage_CA_DomainParams_NotAvailable(2432696581l), - /** SI: CA Anonymous Infos */ + /** SI: storage CA anonymous infos */ ntfLDS_SI_Storage_CA_AnonymousInfos(2432696582l), - /** SI: CA Info No Matching Domain Params */ + /** SI: storage CA info no matching domain params */ ntfLDS_SI_Storage_CA_Info_NoMatchingDomainParams(2432696583l), - /** SI: CA Info No Matching Public Key */ + /** SI: storage CA info no matching public key */ ntfLDS_SI_Storage_CA_Info_NoMatchingPublicKey(2432696584l), - /** SI: CA Incorrect Infos Quantity */ + /** SI: storage CA incorrect infos quantity */ ntfLDS_SI_Storage_CA_IncorrectInfosQuantity(2432696585l), - /** SI: TA Info Not Available */ + /** SI: storage TA info not available */ ntfLDS_SI_Storage_TA_Info_NotAvailable(2432696586l), - /** SI: Card Info Locator Multiple Entries */ + /** SI: storage card info locator multiple entries */ ntfLDS_SI_Storage_CardInfoLocator_MultipleEntries(2432696587l), - /** SI: eID Security Info Multiple Entries */ + /** SI: storage eID security info multiple entries */ ntfLDS_SI_Storage_eIDSecurityInfo_MultipleEntries(2432696588l), - /** SI: Privileged TI Multiple Entries */ + /** SI: storage privileged TI multiple entries */ ntfLDS_SI_Storage_PrivilegedTI_MultipleEntries(2432696589l), - /** SI: Privileged TI Incorrect Usage */ + /** SI: storage privileged TI incorrect usage */ ntfLDS_SI_Storage_PrivilegedTI_IncorrectUsage(2432696590l), - /** SI: RI domain params multiple entries */ + /** SI: storage RI domain params multiple entries */ ntfLDS_SI_Storage_RI_DomainParams_MultipleEntries(2432696591l), - /** SI: Storage PACE Info Non Consistant */ + /** SI: storage PACE infos non consistent */ ntfLDS_SI_Storage_PACEInfos_NonConsistant(2432696592l), - /** CV Certificate: Profile incorrect version */ + /** CV certificate: Profile incorrect version */ ntfLDS_CVCertificate_Profile_IncorrectVersion(2432696833l), - /** CV Certificate: Validity */ + /** CV certificate: Validity */ ntfLDS_CVCertificate_Validity(2432696834l), - /** CV Certificate: Non CVCA domain parameters */ + /** CV certificate: non CVCA domain parameters */ ntfLDS_CVCertificate_NonCVCADomainParameters(2432696835l), - /** CV Certificate: Private key incorrect version */ + /** CV certificate: private key incorrect version */ ntfLDS_CV_Certificate_PrivateKey_IncorrectVersion(2432696836l), /** TA: PACE static binding used */ @@ -671,32 +986,14 @@ public enum ParsingNotificationCodes { /** Auth ML signer info: Certificate root is not trusted */ ntfLDS_Auth_MLSignerInfo_Certificate_RootIsNotTrusted(2449473814l), - /** Auth ML signer info: Certificate cannot find CSCA */ + /** Auth ML signer info: Certificate can't find CSCA */ ntfLDS_Auth_MLSignerInfo_Certificate_CantFindCSCA(2449473815l), /** Auth ML signer info: Certificate revoked */ ntfLDS_Auth_MLSignerInfo_Certificate_Revoked(2449473816l), /** Auth ML signer info: Certificate signature invalid */ - ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid(2449473817l), - - /** Country Codes from certificate chain don't match */ - ntfLDS_ICAO_Certificate_Chain_Country_NonMatching(2415919696l), - - /** Country Codes from certificate and visual MRZ don't match */ - ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching(2415919697l), - - /** Incorrect MRZ, country code doesn't match codes from Visual MRZ */ - ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching(139289l), - - /** Country Codes from certificate and DG1 MRZ don't match */ - ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching(2415919698l), - - /** ICAO certificate: Issuer country non upper case */ - ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase(2415919699l), - - /** ICAO certificate: Subject country non upper case */ - ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase(2415919700l); + ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid(2449473817l); private Long value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java index 0c84966..246beaf 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RFIDErrorCodes.java @@ -23,353 +23,353 @@ @JsonAdapter(RFIDErrorCodes.Adapter.class) public enum RFIDErrorCodes { - /** LAYER6: Reading beyond EOF / Unexpected EOF */ - RFID_ERROR_LAYER6_FILE_EOF1(2147508866l), + /** RFID: No error */ + RFID_Error_NoError(1l), - /** LAYER6: PWD deactivated */ - RFID_ERROR_LAYER6_PWD_DEACTIVATED(2147508867l), + /** RFID: Already done */ + RFID_Error_AlreadyDone(2l), - /** LAYER6: PWD blocked */ - RFID_ERROR_LAYER6_PWD_BLOCKED(2147509184l), + /** RFID: Failed */ + RFID_Error_Failed(4294967295l), - /** LAYER6: PWD suspended */ - RFID_ERROR_LAYER6_PWD_SUSPEND(2147509185l), + /** RFID: No chip detected */ + RFID_Error_NoChipDetected(2147549185l), - /** LAYER6: PWD blocked 2 */ - RFID_ERROR_LAYER6_PWD_BLOCKED2(2147510659l), + /** RFID: Not available */ + RFID_Error_NotAvailable(2147549186l), - /** LAYER6: PWD deactivated 2 */ - RFID_ERROR_LAYER6_PWD_DEACTIVATED2(2147510660l), + /** RFID: Invalid parameter */ + RFID_Error_InvalidParameter(2147549188l), - /** LAYER6: PWD suspended 2 */ - RFID_ERROR_LAYER6_PWD_SUSPEND2(2147510661l), + /** RFID: Not initialized */ + RFID_Error_NotInitialized(2147549189l), - /** LAYER6: Incorrect params */ - RFID_ERROR_LAYER6_INCORRECT_PARAMS(2147510912l), + /** RFID: Not enough memory */ + RFID_Error_NotEnoughMemory(2147549190l), - /** LAYER6: File selection failure / file not found */ - RFID_ERROR_LAYER6_FILE_NOT_FOUND(2147510914l), + /** RFID: Not enough data */ + RFID_Error_NotEnoughData(2147549191l), - /** LAYER6: No reference data */ - RFID_ERROR_LAYER6_NO_REFERENCE_DATA(2147510920l), + /** RFID: Invalid directory */ + RFID_Error_InvalidDirectory(2147549192l), - /** LAYER6: Reading beyond EOF / Unexpected EOF */ - RFID_ERROR_LAYER6_FILE_EOF2(2147511040l), + /** RFID: Unknown command */ + RFID_Error_UnknownCommand(2147549193l), - /** RFID: No chip is detected */ - RFID_ERROR_NO_CHIP_DETECTED(2147549185l), + /** RFID: File IO error */ + RFID_Error_FileIOError(2147549194l), - /** RFID: Unavailable */ - RFID_ERROR_NOT_AVAILABLE(2147549186l), + /** RFID: Busy */ + RFID_Error_Busy(2147549195l), - /** RFID: Invalid parameter in ExecuteCommand() call found */ - RFID_ERROR_INVALID_PARAMETER(2147549188l), + /** RFID: Old firmware */ + RFID_Error_OldFirmware(2147549196l), - /** RFID: Device is uninitialized */ - RFID_ERROR_NOT_INITIALIZED(2147549189l), + /** PCSC: Failed */ + RFID_Error_PCSC_Failed(2147614720l), - /** RFID: Out of memory */ - RFID_ERROR_NOT_ENOUGH_MEMORY(2147549190l), + /** PCSC: Reader not available */ + RFID_Error_PCSC_ReaderNotAvailable(2147614721l), - /** RFID: Invalid directory */ - RFID_ERROR_INVALID_DIRECTORY(2147549192l), + /** PCSC: Can't connect card */ + RFID_Error_PCSC_CantConnectCard(2147614722l), - /** RFID: Unknown command */ - RFID_ERROR_UNKNOWN_COMMAND(2147549193l), + /** PCSC: Card is not connected */ + RFID_Error_PCSC_CardIsNotConnected(2147614723l), - /** RFID File: IO Error */ - RFID_ERROR_FILE_IO_ERROR(2147549194l), + /** PCSC: Operation cancelled */ + RFID_Error_PCSC_OperationCancelled(2147614724l), - /** RFID: RFID is busy */ - RFID_ERROR_BUSY(2147549195l), + /** PCSC: Card is busy */ + RFID_Error_PCSC_CardIsBusy(2147614725l), - /** RFID: The firmware needs to be updated to a newer version */ - RFID_ERROR_OLD_FIRMWARE(2147549196l), + /** PCSC: Failed smart card */ + RFID_Error_PCSC_FailedSCard(2147614726l), - /** PCSC: Failed */ - RFID_ERROR_PCSC_FAILED(2147614720l), + /** PCSC: ExtLe failed */ + RFID_Error_PCSC_ExtLe_Failed(2147614736l), - /** PCSC: The reader is unavailable */ - RFID_ERROR_PCSC_READER_NOT_AVAILABLE(2147614721l), + /** Layer 6: Security manager */ + RFID_LAYER6_SECURITY_MANAGER(2248146944l), - /** PCSC: The card cannot be connected */ - RFID_ERROR_PCSC_CANT_CONNECT_CARD(2147614722l), + /** Layer 6: App selection failure */ + RFID_LAYER6_APP_SELECTION_FAILURE(2248146945l), - /** PCSC: The card is not connected */ - RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED(2147614723l), + /** Layer 6: Mutual auth MAC fail */ + RFID_LAYER6_MUTUAL_AUTH_MAC_FAIL(2248147200l), - /** PCSC: Operation is cancelled */ - RFID_ERROR_PCSC_OPERATION_CANCELLED(2147614724l), + /** Layer 6: Mutual auth ENC fail */ + RFID_LAYER6_MUTUAL_AUTH_ENC_FAIL(2248147201l), - /** PCSC: The card is busy */ - RFID_ERROR_PCSC_CARD_IS_BUSY(2147614725l), + /** Layer 6: Mutual auth failure */ + RFID_LAYER6_MUTUAL_AUTH_FAILURE(2248147202l), - /** PCSC: Failed Smart Card */ - RFID_ERROR_PCSC_FAILED_SCARD(2147614726l), + /** Layer 6: Mutual auth failure data */ + RFID_LAYER6_MUTUAL_AUTH_FAILURE_DATA(2248147203l), - /** PCSC: ExtLe Failed */ - RFID_ERROR_PCSC_EXT_LE_FAILED(2147614736l), + /** Layer 6: SM DO8E missing */ + RFID_LAYER6_SM_DO8E_MISSING(2248147456l), - /** LAYER6: PWD failed */ - RFID_ERROR_LAYER6_PWD_FAILED(2148557760l), + /** Layer 6: SM DO87 missing */ + RFID_LAYER6_SM_DO87_MISSING(2248147457l), - /** RFID: Not performed */ - RFID_ERROR_NOT_PERFORMED(2197815296l), + /** Layer 6: SM DO99 missing */ + RFID_LAYER6_SM_DO99_MISSING(2248147458l), - /** RFID: Session is closed */ - RFID_ERROR_SESSION_IS_CLOSED(2197815297l), + /** Layer 6: SM MAC incorrect */ + RFID_LAYER6_SM_MAC_INCORRECT(2248147459l), - /** RFID: Unsupported terminal operation */ - RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION(2197815298l), + /** Layer 6: SM DO87 incorrect */ + RFID_LAYER6_SM_DO87_INCORRECT(2248147460l), - /** RFID: Terminal type unknown */ - RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN(2197815312l), + /** Layer 6: NON TLV response data */ + RFID_LAYER6_NON_TLV_RESPONSE_DATA(2248147712l), - /** RFID: Terminal type bad certificate */ - RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE(2197815313l), + /** Layer 6: Wrong RND ICC length */ + RFID_LAYER6_WRONG_RND_ICC_LENGTH(2248147713l), - /** RFID: Terminal type not set */ - RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET(2197815314l), + /** Layer 6: Int auth failure */ + RFID_LAYER6_INT_AUTH_FAILURE(2248147714l), - /** RFID: Unknown procedure type */ - RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN(2197815315l), + /** Layer 6: MSE set KAT failure */ + RFID_LAYER6_MSE_SET_KAT_FAILURE(2248147715l), - /** RFID: Unsupported procedure type */ - RFID_ERROR_Session_Procedure_Type_Unsupported(2197815316l), + /** Layer 6: MSE set DST failure */ + RFID_LAYER6_MSE_SET_DST_FAILURE(2248147716l), - /** RFID: Procedure type not set */ - RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET(2197815317l), + /** Layer 6: PSO certificate failure */ + RFID_LAYER6_PSO_CERTIFICATE_FAILURE(2248147717l), - /** RFID: Access key unknown type */ - RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE(2197815318l), + /** Layer 6: MSE set at failure */ + RFID_LAYER6_MSE_SET_AT_FAILURE(2248147718l), - /** RFID: Access key unsupported SM type */ - RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE(2197815319l), + /** Layer 6: Get challenge failure */ + RFID_LAYER6_GET_CHALLENGE_FAILURE(2248147719l), - /** RFID: Access key incorrect SM type */ - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE(2197815320l), + /** Layer 6: EXT auth failure */ + RFID_LAYER6_EXT_AUTH_FAILURE(2248147720l), - /** RFID: Access key restricted */ - RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED(2197815321l), + /** Layer 6: GENERAL auth failure */ + RFID_LAYER6_GENERAL_AUTH_FAILURE(2248147721l), - /** RFID: Access key incorrect data */ - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA(2197815322l), + /** Layer 6: File not found */ + RFID_LAYER6_FILE_NOT_FOUND(2147510914l), - /** RFID: Access key not set */ - RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET(2197815323l), + /** Layer 6: File EOF1 */ + RFID_LAYER6_FILE_EOF1(2147508866l), - /** RFID: PWD management not authorized */ - RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED(2197815324l), + /** Layer 6: File EOF2 */ + RFID_LAYER6_FILE_EOF2(2147511040l), - /** RFID: Access control unknown type */ - RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE(2197815328l), + /** Layer 6: Wrong length */ + RFID_LAYER6_WRONG_LENGTH(2147510016l), - /** RFID: SM required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM(2197815329l), + /** Layer 6: Incorrect params */ + RFID_LAYER6_INCORRECT_PARAMS(2147510912l), - /** RFID: PACE required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE(2197815330l), + /** Layer 6: No reference data */ + RFID_LAYER6_NO_REFERENCE_DATA(2147510920l), - /** RFID: CA keys required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS(2197815331l), + /** Layer 6: PWD suspended */ + RFID_LAYER6_PWD_SUSPENDED(2147509185l), - /** RFID: TA required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA(2197815332l), + /** Layer 6: PWD blocked */ + RFID_LAYER6_PWD_BLOCKED(2147509184l), - /** RFID: CA required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA(2197815333l), + /** Layer 6: PWD deactivated */ + RFID_LAYER6_PWD_DEACTIVATED(2147508867l), - /** RFID: Incorrect option CA */ - RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA(2197815334l), + /** Layer 6: PWD blocked 2 */ + RFID_LAYER6_PWD_BLOCKED_2(2147510659l), - /** RFID: CA failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED(2197815335l), + /** Layer 6: PWD deactivated 2 */ + RFID_LAYER6_PWD_DEACTIVATED_2(2147510660l), - /** RFID: TA failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED(2197815336l), + /** Layer 6: PWD suspended 2 */ + RFID_LAYER6_PWD_SUSPENDED_2(2147510661l), - /** RFID: AA failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED(2197815337l), + /** Layer 6: PWD failed */ + RFID_LAYER6_PWD_FAILED(2148557760l), - /** RFID: RI failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED(2197815338l), + /** RFID: NotPerformed */ + RFID_Error_NotPerformed(2197815296l), - /** RFID: SO signature check failed */ - RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED(2197815344l), + /** RFID: Session is closed */ + RFID_Error_Session_IsClosed(2197815297l), - /** RFID: Hash check failed */ - RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED(2197815345l), + /** Session terminal: Unsupported operation */ + RFID_Error_Session_Terminal_UnsupportedOperation(2197815298l), - /** RFID: Invalid aux data - date of expiry */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY(2197815360l), + /** Session terminal type: Unknown */ + RFID_Error_Session_TerminalType_Unknown(2197815312l), - /** RFID: Invalid aux data - date of birth */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH(2197815361l), + /** Session terminal type: Bad certificate */ + RFID_Error_Session_TerminalType_BadCertificate(2197815313l), - /** RFID: Invalid aux data - community ID */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID(2197815362l), + /** Session terminal type: Not set */ + RFID_Error_Session_TerminalType_NotSet(2197815314l), - /** RFID: eSign requires app selection */ - RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION(2197815376l), + /** Session procedure type: Unknown */ + RFID_Error_Session_ProcedureType_Unknown(2197815315l), - /** RFID: eSign PIN not set */ - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET(2197815377l), + /** Session procedure type: Unsupported */ + RFID_Error_Session_ProcedureType_Unsupported(2197815316l), - /** RFID: eSign PIN not verified */ - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED(2197815378l), + /** Session procedure type: Not set */ + RFID_Error_Session_ProcedureType_NotSet(2197815317l), - /** RFID: Incorrect data */ - RFID_ERROR_SESSION_INCORRECT_DATA(2197815392l), + /** Session access key: Unknown type */ + RFID_Error_Session_AccessKey_UnknownType(2197815318l), - /** RFID file: Insufficient data */ - RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA(2197880832l), + /** Session access key: Unsupported SM type */ + RFID_Error_Session_AccessKey_UnsupportedSMType(2197815319l), - /** RFID file: Incorrect data */ - RFID_ERROR_SESSION_FILE_INCORRECT_DATA(2197946368l), + /** Session access key: Incorrect SM type */ + RFID_Error_Session_AccessKey_IncorrectSMType(2197815320l), - /** RFID file: Unexpected data */ - RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA(2198011904l), + /** Session access key: Restricted */ + RFID_Error_Session_AccessKey_Restricted(2197815321l), - /** RFID file: Contains unexpected data */ - RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA(2198077440l), + /** Session access key: Incorrect data */ + RFID_Error_Session_AccessKey_IncorrectData(2197815322l), - /** RFID file: Wrong tag */ - RFID_ERROR_SESSION_FILE_WRONG_TAG(2198142976l), + /** Session access key: Not set */ + RFID_Error_Session_AccessKey_NotSet(2197815323l), - /** RFID file: Cannot use data */ - RFID_ERROR_SESSION_FILE_CANT_USE_DATA(2198208512l), + /** Session pwd management: Not authorized */ + RFID_Error_Session_PwdManagement_NotAuthorized(2197815324l), - /** RFID file: Cannot read data */ - RFID_ERROR_SESSION_FILE_CANT_READ_DATA(2198274048l), + /** Session access control: Unknown type */ + RFID_Error_Session_AccessControl_UnknownType(2197815328l), - /** RFID file: Access denied */ - RFID_ERROR_SESSION_FILE_ACCESS_DENIED(2198339584l), + /** Session access control: Requires SM */ + RFID_Error_Session_AccessControl_RequiresSM(2197815329l), - /** RFID: Layer 34 - No error */ - RFID_ERROR_LAYER34_NO_ERROR(2214592512l), + /** Session access control: Requires PACE */ + RFID_Error_Session_AccessControl_RequiresPACE(2197815330l), - /** RFID: Layer 34 - Timeout */ - RFID_ERROR_LAYER34_TIME_OUT(2214658048l), + /** Session access control: Requires CA keys */ + RFID_Error_Session_AccessControl_RequiresCAKeys(2197815331l), - /** RFID: Layer 34 - Collision */ - RFID_ERROR_LAYER34_COLLISION(2214723584l), + /** Session access control: Requires TA */ + RFID_Error_Session_AccessControl_RequiresTA(2197815332l), - /** RFID: Layer 34 - CRC */ - RFID_ERROR_LAYER34_CRC(2214789120l), + /** Session access control: Requires CA */ + RFID_Error_Session_AccessControl_RequiresCA(2197815333l), - /** RFID: Layer 34 - Data integrity */ - RFID_ERROR_LAYER34_DATA_INTEGRITY(2214854656l), + /** Session access control: Incorrect option CA */ + RFID_Error_Session_AccessControl_IncorrectOptionCA(2197815334l), - /** RFID: Layer 34 - Data length */ - RFID_ERROR_LAYER34_DATA_LENGTH(2214920192l), + /** Session access control: CA Failed */ + RFID_Error_Session_AccessControl_CA_Failed(2197815335l), - /** RFID: Layer 34 - RFU */ - RFID_ERROR_Layer34_RFU(2214985728l), + /** Session access control: TA Failed */ + RFID_Error_Session_AccessControl_TA_Failed(2197815336l), - /** RFID: Layer 34 - Too many collision */ - RFID_ERROR_LAYER34_COLLISION_TOO_MANY(2215051264l), + /** Session access control: AA Failed */ + RFID_Error_Session_AccessControl_AA_Failed(2197815337l), - /** RFID: Layer 34 - Protocol B */ - RFID_ERROR_LAYER34_PROTOCOL_B(2215116800l), + /** Session access control: RI Failed */ + RFID_Error_Session_AccessControl_RI_Failed(2197815338l), - /** RFID: Layer 34 - Data contents */ - RFID_ERROR_LAYER34_DATA_CONTENTS(2215182336l), + /** Session PA: Signature check failed */ + RFID_Error_Session_PA_SignatureCheckFailed(2197815344l), - /** RFID: Layer 34 - Protocol */ - RFID_ERROR_LAYER34_PROTOCOL(2215247872l), + /** Session PA: Hash check failed */ + RFID_Error_Session_PA_HashCheckFailed(2197815345l), - /** RFID: Layer 34 - Globa timeout */ - RFID_ERROR_LAYER34_GLOBAL_TIME_OUT(2215313408l), + /** Session invalid aux data: Date of expiry */ + RFID_Error_Session_InvalidAuxData_DateOfExpiry(2197815360l), - /** RFID: Layer 34 - MIFARE auth */ - RFID_ERROR_LAYER34_MIFARE_AUTH(2215378944l), + /** Session invalid aux data: Date of birth */ + RFID_Error_Session_InvalidAuxData_DateOfBirth(2197815361l), - /** RFID: Layer 34 - SAM error */ - RFID_ERROR_LAYER34_SAM_ERROR(2215444480l), + /** Session invalid aux data: Community ID */ + RFID_Error_Session_InvalidAuxData_CommunityID(2197815362l), - /** RFID: Layer 34 - SAM collision */ - RFID_ERROR_LAYER34_SAM_COLLISION(2215510016l), + /** Session eSign: Requires app selection */ + RFID_Error_Session_eSign_RequiresAppSelection(2197815376l), - /** RFID: Layer 34 - SAM acknowledge */ - RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE(2215575552l), + /** Session eSign: PIN not set */ + RFID_Error_Session_eSign_PIN_NotSet(2197815377l), - /** LAYER6: Secure Messaging was not activated */ - RFID_ERROR_LAYER6_SECURITY_MANAGER(2248146944l), + /** Session eSign: PIN not verified */ + RFID_Error_Session_eSign_PIN_NotVerified(2197815378l), - /** LAYER6: ISO7816_A_03 Application selection failure */ - RFID_ERROR_LAYER6_APP_SELECTION_FAILURE(2248146945l), + /** Session: Incorrect data */ + RFID_Error_Session_IncorrectData(2197815392l), - /** LAYER6: ISO7816_B_01 Mutual authentication MAC failure */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL(2248147200l), + /** Session file: Not enough data */ + RFID_Error_Session_File_NotEnoughData(2197880832l), - /** LAYER6: ISO7816_B_02 Mutual authentication encryption failure */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL(2248147201l), + /** Session file: Incorrect data */ + RFID_Error_Session_File_IncorrectData(2197946368l), - /** LAYER6: ISO7816_B_03 Mutual authentication failure */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE(2248147202l), + /** Session file: Unexpected data */ + RFID_Error_Session_File_UnexpectedData(2198011904l), - /** LAYER6: ISO7816_B_03 Mutual authentication failure data */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA(2248147203l), + /** Session file: Contents unexpected data */ + RFID_Error_Session_File_Contents_UnexpectedData(2198077440l), - /** LAYER6: SM failure – MAC missing */ - RFID_ERROR_LAYER6_SM_DO_8E_MISSING(2248147456l), + /** Session file: Wrong tag */ + RFID_Error_Session_File_WrongTag(2198142976l), - /** LAYER6: SM failure – cryptogram missing */ - RFID_ERROR_LAYER6_SM_DO_87_MISSING(2248147457l), + /** Session file: Cant use data */ + RFID_Error_Session_File_CantUseData(2198208512l), - /** LAYER6: SM failure – secured status bytes missing */ - RFID_ERROR_LAYER6_SM_DO_99_MISSING(2248147458l), + /** Session file: Cant read data */ + RFID_Error_Session_File_CantReadData(2198274048l), - /** LAYER6: SM failure – incorrect MAC */ - RFID_ERROR_LAYER6_SM_MAC_INCORRECT(2248147459l), + /** Session file: Access denied */ + RFID_Error_Session_File_AccessDenied(2198339584l), - /** LAYER6: SM failure – incorrect cryptogram */ - RFID_ERROR_LAYER6_SM_DO_87_INCORRECT(2248147460l), + /** Layer 34: No error */ + RFID_Error_Layer34_NoError(2214592512l), - /** LAYER6: Not TLV response data */ - RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA(2248147712l), + /** Layer 34: Time out */ + RFID_Error_Layer34_TimeOut(2214658048l), - /** LAYER6: Wrong data length (APDU_INS_GET_CHALLENGE) */ - RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH(2248147713l), + /** Layer 34: Collision */ + RFID_Error_Layer34_Collision(2214723584l), - /** LAYER6: APDU_INS_INTERNAL_AUTHENTICATE failure */ - RFID_ERROR_LAYER6_INT_AUTH_FAILURE(2248147714l), + /** Layer 34: CRC */ + RFID_Error_Layer34_CRC(2214789120l), - /** LAYER6: MSE:Set KAT failure */ - RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE(2248147715l), + /** Layer 34: Data integrity */ + RFID_Error_Layer34_DataIntegrity(2214854656l), - /** LAYER6: MSE:Set DST failure */ - RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE(2248147716l), + /** Layer 34: Data length */ + RFID_Error_Layer34_DataLength(2214920192l), - /** LAYER6: PSO CERTIFICATE failure */ - RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE(2248147717l), + /** Layer 34: RFU */ + RFID_Error_Layer34_RFU(2214985728l), - /** LAYER6: MSE:Set AT failure */ - RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE(2248147718l), + /** Layer 34: Collision too many */ + RFID_Error_Layer34_Collision_TooMany(2215051264l), - /** LAYER6: GET CHALLENGE failure */ - RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE(2248147719l), + /** Layer 34: Protocol B */ + RFID_Error_Layer34_ProtocolB(2215116800l), - /** LAYER6: APDU_INS_EXTERNAL_AUTHENTICATE (external authentication) failure */ - RFID_ERROR_LAYER6_EXT_AUTH_FAILURE(2248147720l), + /** Layer 34: Data contents */ + RFID_Error_Layer34_DataContents(2215182336l), - /** LAYER6: General Authenticity Failure */ - RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE(2248147721l), + /** Layer 34: Protocol */ + RFID_Error_Layer34_Protocol(2215247872l), - /** RFID: Failed */ - RFID_ERROR_FAILED(4294967295l), + /** Layer 34: Global timeOut */ + RFID_Error_Layer34_GlobalTimeOut(2215313408l), - /** RFID: No error */ - RFID_ERROR_NO_ERROR(1l), + /** Layer 34: MIFARE auth */ + RFID_Error_Layer34_MIFARE_Auth(2215378944l), - /** RFID: The requested operation is already performed */ - RFID_ERROR_ALREADY_DONE(2l), + /** Layer 34: SAM error */ + RFID_Error_Layer34_SAM_Error(2215444480l), - /** RFID: Not enough data */ - RFID_ERROR_NOT_ENOUGH_DATA(2147549191l), + /** Layer 34: SAM collision */ + RFID_Error_Layer34_SAM_Collision(2215510016l), - /** RFID: Layer 6 - Wrong data length */ - RFID_LAYER6_WRONG_LENGTH(2147510016l); + /** Layer 34: SAM acknowledge */ + RFID_Error_Layer34_SAM_Acknowledge(2215575552l); private Long value;