diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
index 73a7483..65d77d6 100644
--- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
@@ -56,7 +56,7 @@ protected EncryptedRCLItem() { }
///
/// Base64 encoded data
/*
- [B@15773356
+ [B@ee2d3fa
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs
index 34b3dba..7ea9543 100644
--- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs
@@ -62,7 +62,7 @@ protected EncryptedRCLResult() { }
///
/// Base64 encoded data
/*
- [B@15773356
+ [B@ee2d3fa
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/Ext/Autheticity/Autheticity.cs b/src/Regula.DocumentReader.WebClient/Model/Ext/Autheticity/Autheticity.cs
index dd67275..c2bda07 100644
--- a/src/Regula.DocumentReader.WebClient/Model/Ext/Autheticity/Autheticity.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/Ext/Autheticity/Autheticity.cs
@@ -9,6 +9,11 @@ public static SecurityFeatureChecks UvLuminescenceChecks(this AuthenticityCheckL
{
return auth.securityFeatureOrNull(AuthenticityResultType.UV_LUMINESCENCE);
}
+
+ public static SecurityFeatureChecks LivenessChecks(this AuthenticityCheckList auth)
+ {
+ return auth.securityFeatureOrNull(AuthenticityResultType.LIVENESS);
+ }
public static SecurityFeatureChecks IrB900Checks(this AuthenticityCheckList auth)
{
diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
index 822774d..9da5d46 100644
--- a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
@@ -56,7 +56,7 @@ protected LicenseItem() { }
///
/// Base64 encoded data
/*
- [B@65112c5d
+ [B@55b11357
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs
index 5b49f95..80f9c50 100644
--- a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs
@@ -62,7 +62,7 @@ protected LicenseResult() { }
///
/// Base64 encoded data
/*
- [B@65112c5d
+ [B@55b11357
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/MDLResult.cs b/src/Regula.DocumentReader.WebClient/Model/MDLResult.cs
index 1b4298e..29c45b0 100644
--- a/src/Regula.DocumentReader.WebClient/Model/MDLResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/MDLResult.cs
@@ -46,8 +46,8 @@ protected MDLResult() { }
/// light.
/// listIdx.
/// pageIdx.
- /// resultType (required) (default to Result.MDL_DEVICE_PARSED_RESPONSE).
- public MDLResult(Dictionary mDLParsedResponse = default(Dictionary), int bufLength = default(int), int light = default(int), int listIdx = default(int), int pageIdx = default(int), Result resultType = Result.MDL_DEVICE_PARSED_RESPONSE) : base(bufLength, light, listIdx, pageIdx, resultType)
+ /// resultType (required) (default to Result.MDL_PARSED_RESPONSE).
+ public MDLResult(Dictionary mDLParsedResponse = default(Dictionary), int bufLength = default(int), int light = default(int), int listIdx = default(int), int pageIdx = default(int), Result resultType = Result.MDL_PARSED_RESPONSE) : base(bufLength, light, listIdx, pageIdx, resultType)
{
// to ensure "mDLParsedResponse" is required (not null)
if (mDLParsedResponse == null)
diff --git a/src/Regula.DocumentReader.WebClient/Model/Result.cs b/src/Regula.DocumentReader.WebClient/Model/Result.cs
index d738ce4..e74a568 100644
--- a/src/Regula.DocumentReader.WebClient/Model/Result.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/Result.cs
@@ -212,24 +212,9 @@ public enum Result
DTC_VC = 109,
///
- /// Enum MDL_DEVICE_RAW_RESPONSE for value: 120
+ /// Enum MDL_PARSED_RESPONSE for value: 121
///
- MDL_DEVICE_RAW_RESPONSE = 120,
-
- ///
- /// Enum MDL_DEVICE_PARSED_RESPONSE for value: 121
- ///
- MDL_DEVICE_PARSED_RESPONSE = 121,
-
- ///
- /// Enum MDL_SERVER_RAW_RESPONSE for value: 122
- ///
- MDL_SERVER_RAW_RESPONSE = 122,
-
- ///
- /// Enum MDL_SERVER_PARSED_RESPONSE for value: 123
- ///
- MDL_SERVER_PARSED_RESPONSE = 123,
+ MDL_PARSED_RESPONSE = 121,
///
/// Enum VDS_NC for value: 124
diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlInfo.cs b/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlInfo.cs
index 26b8ec8..4b3d405 100644
--- a/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlInfo.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlInfo.cs
@@ -57,7 +57,7 @@ protected RfidAccessControlInfo() { }
/// Index of the active variant of the procedure.
/// List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).
/// List of structures with are used to describe the variants of the authentication or secure data access procedure performance within the context of the communication session with electronic document.
- public RfidAccessControlInfo(RfidAccessControlProcedureType type = default(RfidAccessControlProcedureType), RFIDErrorCodes status = default(RFIDErrorCodes), decimal activeOptionIdx = default(decimal), List notifications = default(List), List
/// List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
- public List Notifications { get; set; }
+ public List Notifications { get; set; }
///
/// List of structures with are used to describe the variants of the authentication or secure data access procedure performance within the context of the communication session with electronic document
diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidCertificateEx.cs b/src/Regula.DocumentReader.WebClient/Model/RfidCertificateEx.cs
index 1b61fc7..0851259 100644
--- a/src/Regula.DocumentReader.WebClient/Model/RfidCertificateEx.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/RfidCertificateEx.cs
@@ -71,7 +71,7 @@ protected RfidCertificateEx() { }
/// type (required).
/// fileName (required).
/// pAStatus (required).
- public RfidCertificateEx(decimal varVersion = default(decimal), string serialNumber = default(string), string signatureAlgorithm = default(string), RfidDistinguishedName issuer = default(RfidDistinguishedName), RfidValidity validity = default(RfidValidity), RfidDistinguishedName subject = default(RfidDistinguishedName), string subjectPKAlgorithm = default(string), List extensions = default(List), List notifications = default(List), RfidCertificateOrigin origin = default(RfidCertificateOrigin), RfidCertificateType type = default(RfidCertificateType), TrfFtString fileName = default(TrfFtString), RFIDErrorCodes pAStatus = default(RFIDErrorCodes))
+ public RfidCertificateEx(decimal varVersion = default(decimal), string serialNumber = default(string), string signatureAlgorithm = default(string), RfidDistinguishedName issuer = default(RfidDistinguishedName), RfidValidity validity = default(RfidValidity), RfidDistinguishedName subject = default(RfidDistinguishedName), string subjectPKAlgorithm = default(string), List extensions = default(List), List notifications = default(List), RfidCertificateOrigin origin = default(RfidCertificateOrigin), RfidCertificateType type = default(RfidCertificateType), TrfFtString fileName = default(TrfFtString), RFIDErrorCodes pAStatus = default(RFIDErrorCodes))
{
this.VarVersion = varVersion;
// to ensure "serialNumber" is required (not null)
@@ -191,7 +191,7 @@ protected RfidCertificateEx() { }
///
/// List of remarks arisen during the analysis of the certificate data structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
- public List Notifications { get; set; }
+ public List Notifications { get; set; }
///
/// Gets or Sets FileName
diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidDataFile.cs b/src/Regula.DocumentReader.WebClient/Model/RfidDataFile.cs
index 4eb64e4..588e067 100644
--- a/src/Regula.DocumentReader.WebClient/Model/RfidDataFile.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/RfidDataFile.cs
@@ -70,7 +70,7 @@ protected RfidDataFile() { }
/// List of the original binary representation of graphic document fields formed on the basis of the file contents.
/// parsedData.
/// securityObjectCertificates.
- public RfidDataFile(string fileID = default(string), RfidDataFileType type = default(RfidDataFileType), TrfFtBytes fileData = default(TrfFtBytes), RFIDErrorCodes readingStatus = default(RFIDErrorCodes), decimal readingTime = default(decimal), RFIDErrorCodes? pAStatus = default(RFIDErrorCodes?), List notifications = default(List), List docFieldsText = default(List), List docFieldsGraphics = default(List), List docFieldsOriginals = default(List), ParsedData parsedData = default(ParsedData), SecurityObjectCertificates securityObjectCertificates = default(SecurityObjectCertificates))
+ public RfidDataFile(string fileID = default(string), RfidDataFileType type = default(RfidDataFileType), TrfFtBytes fileData = default(TrfFtBytes), RFIDErrorCodes readingStatus = default(RFIDErrorCodes), decimal readingTime = default(decimal), RFIDErrorCodes? pAStatus = default(RFIDErrorCodes?), List notifications = default(List), List docFieldsText = default(List), List docFieldsGraphics = default(List), List docFieldsOriginals = default(List), ParsedData parsedData = default(ParsedData), SecurityObjectCertificates securityObjectCertificates = default(SecurityObjectCertificates))
{
this.Type = type;
this.ReadingStatus = readingStatus;
@@ -111,7 +111,7 @@ protected RfidDataFile() { }
///
/// List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
[DataMember(Name = "Notifications", EmitDefaultValue = false)]
- public List? Notifications { get; set; }
+ public List? Notifications { get; set; }
///
/// List of document text fields formed on the basis of the file contents
diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidSecurityObject.cs b/src/Regula.DocumentReader.WebClient/Model/RfidSecurityObject.cs
index 5ab9110..425995b 100644
--- a/src/Regula.DocumentReader.WebClient/Model/RfidSecurityObject.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/RfidSecurityObject.cs
@@ -45,7 +45,7 @@ protected RfidSecurityObject() { }
/// Reference to the source file of the security object data (required).
/// List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).
/// List of containers to store information about digital signature objects contained in the SO (required).
- public RfidSecurityObject(decimal varVersion = default(decimal), string objectType = default(string), decimal fileReference = default(decimal), List notifications = default(List), List signerInfos = default(List))
+ public RfidSecurityObject(decimal varVersion = default(decimal), string objectType = default(string), decimal fileReference = default(decimal), List notifications = default(List), List signerInfos = default(List))
{
this.VarVersion = varVersion;
// to ensure "objectType" is required (not null)
@@ -95,7 +95,7 @@ protected RfidSecurityObject() { }
///
/// List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
- public List Notifications { get; set; }
+ public List Notifications { get; set; }
///
/// List of containers to store information about digital signature objects contained in the SO
diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidSignerInfoEx.cs b/src/Regula.DocumentReader.WebClient/Model/RfidSignerInfoEx.cs
index 70c27a4..46de0b9 100644
--- a/src/Regula.DocumentReader.WebClient/Model/RfidSignerInfoEx.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/RfidSignerInfoEx.cs
@@ -58,7 +58,7 @@ protected RfidSignerInfoEx() { }
/// Certificate chain, used for the digital signature verification. (required).
/// Binary data array used to calculate the hash value for digital signature verification. Base64 encoded. (required).
/// Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).
- public RfidSignerInfoEx(decimal varVersion = default(decimal), RfidDistinguishedName issuer = default(RfidDistinguishedName), TrfFtBytes serialNumber = default(TrfFtBytes), TrfFtBytes subjectKeyIdentifier = default(TrfFtBytes), string digestAlgorithm = default(string), List signedAttributes = default(List), string signatureAlgorithm = default(string), TrfFtBytes signature = default(TrfFtBytes), RFIDErrorCodes pAStatus = default(RFIDErrorCodes), List certificateChain = default(List), string dataToHash = default(string), List notifications = default(List))
+ public RfidSignerInfoEx(decimal varVersion = default(decimal), RfidDistinguishedName issuer = default(RfidDistinguishedName), TrfFtBytes serialNumber = default(TrfFtBytes), TrfFtBytes subjectKeyIdentifier = default(TrfFtBytes), string digestAlgorithm = default(string), List signedAttributes = default(List), string signatureAlgorithm = default(string), TrfFtBytes signature = default(TrfFtBytes), RFIDErrorCodes pAStatus = default(RFIDErrorCodes), List certificateChain = default(List), string dataToHash = default(string), List notifications = default(List))
{
this.VarVersion = varVersion;
// to ensure "issuer" is required (not null)
@@ -195,7 +195,7 @@ protected RfidSignerInfoEx() { }
///
/// Can be ParsingErrorCodes or ParsingNotificationCodes enum.
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
- public List Notifications { get; set; }
+ public List Notifications { get; set; }
///
/// Returns the string presentation of the object
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSData.cs b/src/Regula.DocumentReader.WebClient/Model/VDSData.cs
index 1639cff..a8b03c0 100644
--- a/src/Regula.DocumentReader.WebClient/Model/VDSData.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSData.cs
@@ -48,7 +48,7 @@ public partial class VDSData : IValidatableObject
/// signer.
/// type.
/// varVersion.
- public VDSData(string certificate = default(string), List certificateChain = default(List), List docFeatures = default(List), string docIssueDate = default(string), int docType = default(int), int featureRef = default(int), string issuingCountry = default(string), List notifications = default(List), TrfFtBytes signature = default(TrfFtBytes), string signatureDate = default(string), string signer = default(string), int type = default(int), int varVersion = default(int))
+ public VDSData(string certificate = default(string), List certificateChain = default(List), List docFeatures = default(List), string docIssueDate = default(string), int docType = default(int), int featureRef = default(int), string issuingCountry = default(string), List notifications = default(List), TrfFtBytes signature = default(TrfFtBytes), string signatureDate = default(string), string signer = default(string), int type = default(int), int varVersion = default(int))
{
this.Certificate = certificate;
this.CertificateChain = certificateChain;
@@ -111,7 +111,7 @@ public partial class VDSData : IValidatableObject
/// Gets or Sets Notifications
///
[DataMember(Name = "Notifications", EmitDefaultValue = false)]
- public List? Notifications { get; set; }
+ public List? Notifications { get; set; }
///
/// Gets or Sets Signature
diff --git a/src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs b/src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs
index 4b586d3..43a05b7 100644
--- a/src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/VDSNCData.cs
@@ -44,7 +44,7 @@ public partial class VDSNCData : IValidatableObject
/// signatureAlg.
/// type.
/// varVersion.
- public VDSNCData(TrfFtBytes certificate = default(TrfFtBytes), List certificateChain = default(List), string issuingCountry = default(string), Message message = default(Message), List notifications = default(List), TrfFtBytes signature = default(TrfFtBytes), string signatureAlg = default(string), string type = default(string), int varVersion = default(int))
+ public VDSNCData(TrfFtBytes certificate = default(TrfFtBytes), List certificateChain = default(List), string issuingCountry = default(string), Message message = default(Message), List notifications = default(List), TrfFtBytes signature = default(TrfFtBytes), string signatureAlg = default(string), string type = default(string), int varVersion = default(int))
{
this.Certificate = certificate;
this.CertificateChain = certificateChain;
@@ -85,7 +85,7 @@ public partial class VDSNCData : IValidatableObject
/// Gets or Sets Notifications
///
[DataMember(Name = "Notifications", EmitDefaultValue = false)]
- public List? Notifications { get; set; }
+ public List? Notifications { get; set; }
///
/// Gets or Sets Signature