Skip to content

Commit fd511ce

Browse files
Merge pull request #259 from regulaforensics/develop
Develop -> Stable
2 parents 8d4bc2b + 7785f9f commit fd511ce

File tree

14 files changed

+27
-37
lines changed

14 files changed

+27
-37
lines changed

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected EncryptedRCLItem() { }
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@15773356</example>
59+
<example>[B@ee2d3fa</example>
6060
*/
6161
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected EncryptedRCLResult() { }
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@15773356</example>
65+
<example>[B@ee2d3fa</example>
6666
*/
6767
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/Ext/Autheticity/Autheticity.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ public static SecurityFeatureChecks UvLuminescenceChecks(this AuthenticityCheckL
99
{
1010
return auth.securityFeatureOrNull(AuthenticityResultType.UV_LUMINESCENCE);
1111
}
12+
13+
public static SecurityFeatureChecks LivenessChecks(this AuthenticityCheckList auth)
14+
{
15+
return auth.securityFeatureOrNull(AuthenticityResultType.LIVENESS);
16+
}
1217

1318
public static SecurityFeatureChecks IrB900Checks(this AuthenticityCheckList auth)
1419
{

src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected LicenseItem() { }
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@65112c5d</example>
59+
<example>[B@55b11357</example>
6060
*/
6161
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] License { get; set; }

src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected LicenseResult() { }
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@65112c5d</example>
65+
<example>[B@55b11357</example>
6666
*/
6767
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] License { get; set; }

src/Regula.DocumentReader.WebClient/Model/MDLResult.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ protected MDLResult() { }
4646
/// <param name="light">light.</param>
4747
/// <param name="listIdx">listIdx.</param>
4848
/// <param name="pageIdx">pageIdx.</param>
49-
/// <param name="resultType">resultType (required) (default to Result.MDL_DEVICE_PARSED_RESPONSE).</param>
50-
public MDLResult(Dictionary<string, Object> mDLParsedResponse = default(Dictionary<string, Object>), 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)
49+
/// <param name="resultType">resultType (required) (default to Result.MDL_PARSED_RESPONSE).</param>
50+
public MDLResult(Dictionary<string, Object> mDLParsedResponse = default(Dictionary<string, Object>), 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)
5151
{
5252
// to ensure "mDLParsedResponse" is required (not null)
5353
if (mDLParsedResponse == null)

src/Regula.DocumentReader.WebClient/Model/Result.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -212,24 +212,9 @@ public enum Result
212212
DTC_VC = 109,
213213

214214
/// <summary>
215-
/// Enum MDL_DEVICE_RAW_RESPONSE for value: 120
215+
/// Enum MDL_PARSED_RESPONSE for value: 121
216216
/// </summary>
217-
MDL_DEVICE_RAW_RESPONSE = 120,
218-
219-
/// <summary>
220-
/// Enum MDL_DEVICE_PARSED_RESPONSE for value: 121
221-
/// </summary>
222-
MDL_DEVICE_PARSED_RESPONSE = 121,
223-
224-
/// <summary>
225-
/// Enum MDL_SERVER_RAW_RESPONSE for value: 122
226-
/// </summary>
227-
MDL_SERVER_RAW_RESPONSE = 122,
228-
229-
/// <summary>
230-
/// Enum MDL_SERVER_PARSED_RESPONSE for value: 123
231-
/// </summary>
232-
MDL_SERVER_PARSED_RESPONSE = 123,
217+
MDL_PARSED_RESPONSE = 121,
233218

234219
/// <summary>
235220
/// Enum VDS_NC for value: 124

src/Regula.DocumentReader.WebClient/Model/RfidAccessControlInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected RfidAccessControlInfo() { }
5757
/// <param name="activeOptionIdx">Index of the active variant of the procedure.</param>
5858
/// <param name="notifications">List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).</param>
5959
/// <param name="accessControlOptions">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.</param>
60-
public RfidAccessControlInfo(RfidAccessControlProcedureType type = default(RfidAccessControlProcedureType), RFIDErrorCodes status = default(RFIDErrorCodes), decimal activeOptionIdx = default(decimal), List<int> notifications = default(List<int>), List<Object> accessControlOptions = default(List<Object>))
60+
public RfidAccessControlInfo(RfidAccessControlProcedureType type = default(RfidAccessControlProcedureType), RFIDErrorCodes status = default(RFIDErrorCodes), decimal activeOptionIdx = default(decimal), List<long> notifications = default(List<long>), List<Object> accessControlOptions = default(List<Object>))
6161
{
6262
this.Type = type;
6363
this.Status = status;
@@ -83,7 +83,7 @@ protected RfidAccessControlInfo() { }
8383
/// </summary>
8484
/// <value>List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.</value>
8585
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
86-
public List<int> Notifications { get; set; }
86+
public List<long> Notifications { get; set; }
8787

8888
/// <summary>
8989
/// 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

src/Regula.DocumentReader.WebClient/Model/RfidCertificateEx.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected RfidCertificateEx() { }
7171
/// <param name="type">type (required).</param>
7272
/// <param name="fileName">fileName (required).</param>
7373
/// <param name="pAStatus">pAStatus (required).</param>
74-
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<RfidPkiExtension> extensions = default(List<RfidPkiExtension>), List<int> notifications = default(List<int>), RfidCertificateOrigin origin = default(RfidCertificateOrigin), RfidCertificateType type = default(RfidCertificateType), TrfFtString fileName = default(TrfFtString), RFIDErrorCodes pAStatus = default(RFIDErrorCodes))
74+
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<RfidPkiExtension> extensions = default(List<RfidPkiExtension>), List<long> notifications = default(List<long>), RfidCertificateOrigin origin = default(RfidCertificateOrigin), RfidCertificateType type = default(RfidCertificateType), TrfFtString fileName = default(TrfFtString), RFIDErrorCodes pAStatus = default(RFIDErrorCodes))
7575
{
7676
this.VarVersion = varVersion;
7777
// to ensure "serialNumber" is required (not null)
@@ -191,7 +191,7 @@ protected RfidCertificateEx() { }
191191
/// </summary>
192192
/// <value>List of remarks arisen during the analysis of the certificate data structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum.</value>
193193
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
194-
public List<int> Notifications { get; set; }
194+
public List<long> Notifications { get; set; }
195195

196196
/// <summary>
197197
/// Gets or Sets FileName

src/Regula.DocumentReader.WebClient/Model/RfidDataFile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected RfidDataFile() { }
7070
/// <param name="docFieldsOriginals">List of the original binary representation of graphic document fields formed on the basis of the file contents.</param>
7171
/// <param name="parsedData">parsedData.</param>
7272
/// <param name="securityObjectCertificates">securityObjectCertificates.</param>
73-
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<int> notifications = default(List<int>), List<TextFieldType> docFieldsText = default(List<TextFieldType>), List<GraphicFieldType> docFieldsGraphics = default(List<GraphicFieldType>), List<GraphicFieldType> docFieldsOriginals = default(List<GraphicFieldType>), ParsedData parsedData = default(ParsedData), SecurityObjectCertificates securityObjectCertificates = default(SecurityObjectCertificates))
73+
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<long> notifications = default(List<long>), List<TextFieldType> docFieldsText = default(List<TextFieldType>), List<GraphicFieldType> docFieldsGraphics = default(List<GraphicFieldType>), List<GraphicFieldType> docFieldsOriginals = default(List<GraphicFieldType>), ParsedData parsedData = default(ParsedData), SecurityObjectCertificates securityObjectCertificates = default(SecurityObjectCertificates))
7474
{
7575
this.Type = type;
7676
this.ReadingStatus = readingStatus;
@@ -111,7 +111,7 @@ protected RfidDataFile() { }
111111
/// </summary>
112112
/// <value>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.</value>
113113
[DataMember(Name = "Notifications", EmitDefaultValue = false)]
114-
public List<int>? Notifications { get; set; }
114+
public List<long>? Notifications { get; set; }
115115

116116
/// <summary>
117117
/// List of document text fields formed on the basis of the file contents

0 commit comments

Comments
 (0)