Skip to content

Commit 0e63d7c

Browse files
Merge pull request #215 from regulaforensics/develop
Develop -> Stable
2 parents 0da7285 + 41c41cd commit 0e63d7c

11 files changed

+42
-31
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@7ae8a0db</example>
59+
<example>[B@638eef98</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@7ae8a0db</example>
65+
<example>[B@638eef98</example>
6666
*/
6767
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] EncryptedRCL { get; set; }

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@5572f1d9</example>
59+
<example>[B@19a26868</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@5572f1d9</example>
65+
<example>[B@19a26868</example>
6666
*/
6767
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] License { get; set; }

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,17 @@ public enum RFIDPKDResourceType
7070
/// <summary>
7171
/// Enum BL for value: 7
7272
/// </summary>
73-
BL = 7
73+
BL = 7,
74+
75+
/// <summary>
76+
/// Enum LDIF_TA for value: 8
77+
/// </summary>
78+
LDIF_TA = 8,
79+
80+
/// <summary>
81+
/// Enum ML_TA for value: 9
82+
/// </summary>
83+
ML_TA = 9
7484
}
7585

7686
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ protected RfidAccessControlInfo() { }
5555
/// <param name="type">type (required).</param>
5656
/// <param name="status">status (required).</param>
5757
/// <param name="activeOptionIdx">Index of the active variant of the procedure.</param>
58-
/// <param name="notifications">List of remarks arisen during the procedure. (required).</param>
58+
/// <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<ParsingErrorCodes> notifications = default(List<ParsingErrorCodes>), List<Object> accessControlOptions = default(List<Object>))
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>))
6161
{
6262
this.Type = type;
6363
this.Status = status;
@@ -79,11 +79,11 @@ protected RfidAccessControlInfo() { }
7979
public decimal? ActiveOptionIdx { get; set; }
8080

8181
/// <summary>
82-
/// List of remarks arisen during the procedure.
82+
/// List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
8383
/// </summary>
84-
/// <value>List of remarks arisen during the procedure.</value>
84+
/// <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<ParsingErrorCodes> Notifications { get; set; }
86+
public List<int> 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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ protected RfidCertificateEx() { }
6666
/// <param name="subject">subject (required).</param>
6767
/// <param name="subjectPKAlgorithm">Certificate public key algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string). (required).</param>
6868
/// <param name="extensions">List of the certificate extensions (required).</param>
69-
/// <param name="notifications">List of remarks arisen during the analysis of the certificate data structure and its validity verification. (required).</param>
69+
/// <param name="notifications">List of remarks arisen during the analysis of the certificate data structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).</param>
7070
/// <param name="origin">origin (required).</param>
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<ParsingErrorCodes> notifications = default(List<ParsingErrorCodes>), 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<int> notifications = default(List<int>), 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)
@@ -187,11 +187,11 @@ protected RfidCertificateEx() { }
187187
public List<RfidPkiExtension> Extensions { get; set; }
188188

189189
/// <summary>
190-
/// List of remarks arisen during the analysis of the certificate data structure and its validity verification.
190+
/// List of remarks arisen during the analysis of the certificate data structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
191191
/// </summary>
192-
/// <value>List of remarks arisen during the analysis of the certificate data structure and its validity verification.</value>
192+
/// <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<ParsingErrorCodes> Notifications { get; set; }
194+
public List<int> Notifications { get; set; }
195195

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ protected RfidDataFile() { }
6464
/// <param name="readingStatus">readingStatus (required).</param>
6565
/// <param name="readingTime">Time of reading, milliseconds.</param>
6666
/// <param name="pAStatus">pAStatus.</param>
67-
/// <param name="notifications">List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure..</param>
67+
/// <param name="notifications">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..</param>
6868
/// <param name="docFieldsText">List of document text fields formed on the basis of the file contents.</param>
6969
/// <param name="docFieldsGraphics">List of document graphic fields formed on the basis of the file contents.</param>
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<ParsingErrorCodes> notifications = default(List<ParsingErrorCodes>), 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<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))
7474
{
7575
this.Type = type;
7676
this.ReadingStatus = readingStatus;
@@ -107,11 +107,11 @@ protected RfidDataFile() { }
107107
public decimal? ReadingTime { get; set; }
108108

109109
/// <summary>
110-
/// List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure.
110+
/// 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.
111111
/// </summary>
112-
/// <value>List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure.</value>
112+
/// <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<ParsingErrorCodes>? Notifications { get; set; }
114+
public List<int>? Notifications { get; set; }
115115

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ protected RfidSecurityObject() { }
4343
/// <param name="varVersion">Security object version (required).</param>
4444
/// <param name="objectType">Identifier of the security object (required).</param>
4545
/// <param name="fileReference">Reference to the source file of the security object data (required).</param>
46-
/// <param name="notifications">List of remarks arisen during the analysis of SO data structure. (required).</param>
46+
/// <param name="notifications">List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).</param>
4747
/// <param name="signerInfos">List of containers to store information about digital signature objects contained in the SO (required).</param>
48-
public RfidSecurityObject(decimal varVersion = default(decimal), string objectType = default(string), decimal fileReference = default(decimal), List<ParsingErrorCodes> notifications = default(List<ParsingErrorCodes>), List<RfidSignerInfoEx> signerInfos = default(List<RfidSignerInfoEx>))
48+
public RfidSecurityObject(decimal varVersion = default(decimal), string objectType = default(string), decimal fileReference = default(decimal), List<int> notifications = default(List<int>), List<RfidSignerInfoEx> signerInfos = default(List<RfidSignerInfoEx>))
4949
{
5050
this.VarVersion = varVersion;
5151
// to ensure "objectType" is required (not null)
@@ -91,11 +91,11 @@ protected RfidSecurityObject() { }
9191
public decimal FileReference { get; set; }
9292

9393
/// <summary>
94-
/// List of remarks arisen during the analysis of SO data structure.
94+
/// List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
9595
/// </summary>
96-
/// <value>List of remarks arisen during the analysis of SO data structure.</value>
96+
/// <value>List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.</value>
9797
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
98-
public List<ParsingErrorCodes> Notifications { get; set; }
98+
public List<int> Notifications { get; set; }
9999

100100
/// <summary>
101101
/// List of containers to store information about digital signature objects contained in the SO

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected RfidSessionData() { }
7575
/// <param name="sessionProcedure">sessionProcedure (required).</param>
7676
/// <param name="securityObjects">List of containers to store information about the detected document security objects (required).</param>
7777
/// <param name="status">status.</param>
78-
public RfidSessionData(string virtualMode = default(string), string sDKVersion = default(string), string driverVersion = default(string), string firmwareVersion = default(string), List<RfidApplication> applications = default(List<RfidApplication>), List<RfidAccessControlInfo> accessControls = default(List<RfidAccessControlInfo>), RfidCardPropertiesExt cardProperties = default(RfidCardPropertiesExt), RFIDErrorCodes extLeSupport = default(RFIDErrorCodes), decimal processTime = default(decimal), List<Object> rootFiles = default(List<Object>), decimal totalBytesSent = default(decimal), decimal totalBytesReceived = default(decimal), RfidAccessKey sessionKey = default(RfidAccessKey), RfidTerminal sessionTerminal = default(RfidTerminal), RfidAuthenticationProcedureType sessionProcedure = default(RfidAuthenticationProcedureType), List<RfidSecurityObject> securityObjects = default(List<RfidSecurityObject>), CheckResult? status = default(CheckResult?))
78+
public RfidSessionData(bool virtualMode = default(bool), string sDKVersion = default(string), string driverVersion = default(string), string firmwareVersion = default(string), List<RfidApplication> applications = default(List<RfidApplication>), List<RfidAccessControlInfo> accessControls = default(List<RfidAccessControlInfo>), RfidCardPropertiesExt cardProperties = default(RfidCardPropertiesExt), RFIDErrorCodes extLeSupport = default(RFIDErrorCodes), decimal processTime = default(decimal), List<Object> rootFiles = default(List<Object>), decimal totalBytesSent = default(decimal), decimal totalBytesReceived = default(decimal), RfidAccessKey sessionKey = default(RfidAccessKey), RfidTerminal sessionTerminal = default(RfidTerminal), RfidAuthenticationProcedureType sessionProcedure = default(RfidAuthenticationProcedureType), List<RfidSecurityObject> securityObjects = default(List<RfidSecurityObject>), CheckResult? status = default(CheckResult?))
7979
{
8080
// to ensure "applications" is required (not null)
8181
if (applications == null)
@@ -136,7 +136,7 @@ protected RfidSessionData() { }
136136
/// </summary>
137137
/// <value>Sign of virtual session when working with loaded data from a previous communication session with the electronic document</value>
138138
[DataMember(Name = "VirtualMode", EmitDefaultValue = false)]
139-
public string? VirtualMode { get; set; }
139+
public bool? VirtualMode { get; set; }
140140

141141
/// <summary>
142142
/// Text SDKVersion value in format A.B (e.g. 3.1)

0 commit comments

Comments
 (0)