Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected EncryptedRCLItem() { }
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@7ae8a0db</example>
<example>[B@36b75ee4</example>
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@7ae8a0db</example>
<example>[B@36b75ee4</example>
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
Expand Down Expand Up @@ -105,7 +105,7 @@
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<ValidationResult> BaseValidate(ValidationContext validationContext)

Check warning on line 108 in src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

'EncryptedRCLResult.BaseValidate(ValidationContext)' hides inherited member 'ResultItem.BaseValidate(ValidationContext)'. Use the new keyword if hiding was intended.
{
foreach (var x in base.BaseValidate(validationContext))
{
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected LicenseItem() { }
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@5572f1d9</example>
<example>[B@46cb6573</example>
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected LicenseResult() { }
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@5572f1d9</example>
<example>[B@46cb6573</example>
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ protected RfidAccessControlInfo() { }
/// <param name="type">type (required).</param>
/// <param name="status">status (required).</param>
/// <param name="activeOptionIdx">Index of the active variant of the procedure.</param>
/// <param name="notifications">List of remarks arisen during the procedure. (required).</param>
/// <param name="notifications">List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).</param>
/// <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>
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>))
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>))
{
this.Type = type;
this.Status = status;
Expand All @@ -79,11 +79,11 @@ protected RfidAccessControlInfo() { }
public decimal? ActiveOptionIdx { get; set; }

/// <summary>
/// List of remarks arisen during the procedure.
/// List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
/// </summary>
/// <value>List of remarks arisen during the procedure.</value>
/// <value>List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.</value>
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
public List<ParsingErrorCodes> Notifications { get; set; }
public List<int> Notifications { get; set; }

/// <summary>
/// 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
Expand Down
10 changes: 5 additions & 5 deletions src/Regula.DocumentReader.WebClient/Model/RfidCertificateEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ protected RfidCertificateEx() { }
/// <param name="subject">subject (required).</param>
/// <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>
/// <param name="extensions">List of the certificate extensions (required).</param>
/// <param name="notifications">List of remarks arisen during the analysis of the certificate data structure and its validity verification. (required).</param>
/// <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>
/// <param name="origin">origin (required).</param>
/// <param name="type">type (required).</param>
/// <param name="fileName">fileName (required).</param>
/// <param name="pAStatus">pAStatus (required).</param>
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))
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))
{
this.VarVersion = varVersion;
// to ensure "serialNumber" is required (not null)
Expand Down Expand Up @@ -187,11 +187,11 @@ protected RfidCertificateEx() { }
public List<RfidPkiExtension> Extensions { get; set; }

/// <summary>
/// List of remarks arisen during the analysis of the certificate data structure and its validity verification.
/// List of remarks arisen during the analysis of the certificate data structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum.
/// </summary>
/// <value>List of remarks arisen during the analysis of the certificate data structure and its validity verification.</value>
/// <value>List of remarks arisen during the analysis of the certificate data structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum.</value>
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
public List<ParsingErrorCodes> Notifications { get; set; }
public List<int> Notifications { get; set; }

/// <summary>
/// Gets or Sets FileName
Expand Down
10 changes: 5 additions & 5 deletions src/Regula.DocumentReader.WebClient/Model/RfidDataFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ protected RfidDataFile() { }
/// <param name="readingStatus">readingStatus (required).</param>
/// <param name="readingTime">Time of reading, milliseconds.</param>
/// <param name="pAStatus">pAStatus.</param>
/// <param name="notifications">List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure..</param>
/// <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>
/// <param name="docFieldsText">List of document text fields formed on the basis of the file contents.</param>
/// <param name="docFieldsGraphics">List of document graphic fields formed on the basis of the file contents.</param>
/// <param name="docFieldsOriginals">List of the original binary representation of graphic document fields formed on the basis of the file contents.</param>
/// <param name="parsedData">parsedData.</param>
/// <param name="securityObjectCertificates">securityObjectCertificates.</param>
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))
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))
{
this.Type = type;
this.ReadingStatus = readingStatus;
Expand Down Expand Up @@ -107,11 +107,11 @@ protected RfidDataFile() { }
public decimal? ReadingTime { get; set; }

/// <summary>
/// List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure.
/// 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.
/// </summary>
/// <value>List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure.</value>
/// <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>
[DataMember(Name = "Notifications", EmitDefaultValue = false)]
public List<ParsingErrorCodes>? Notifications { get; set; }
public List<int>? Notifications { get; set; }

/// <summary>
/// List of document text fields formed on the basis of the file contents
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ protected RfidSecurityObject() { }
/// <param name="varVersion">Security object version (required).</param>
/// <param name="objectType">Identifier of the security object (required).</param>
/// <param name="fileReference">Reference to the source file of the security object data (required).</param>
/// <param name="notifications">List of remarks arisen during the analysis of SO data structure. (required).</param>
/// <param name="notifications">List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).</param>
/// <param name="signerInfos">List of containers to store information about digital signature objects contained in the SO (required).</param>
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>))
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>))
{
this.VarVersion = varVersion;
// to ensure "objectType" is required (not null)
Expand Down Expand Up @@ -91,11 +91,11 @@ protected RfidSecurityObject() { }
public decimal FileReference { get; set; }

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

/// <summary>
/// List of containers to store information about digital signature objects contained in the SO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ protected RfidSignerInfoEx() { }
/// <param name="pAStatus">pAStatus (required).</param>
/// <param name="certificateChain">Certificate chain, used for the digital signature verification. (required).</param>
/// <param name="dataToHash">Binary data array used to calculate the hash value for digital signature verification. Base64 encoded. (required).</param>
/// <param name="notifications">notifications (required).</param>
public RfidSignerInfoEx(decimal varVersion = default(decimal), RfidDistinguishedName issuer = default(RfidDistinguishedName), TrfFtBytes serialNumber = default(TrfFtBytes), TrfFtBytes subjectKeyIdentifier = default(TrfFtBytes), string digestAlgorithm = default(string), List<RfidAttributeData> signedAttributes = default(List<RfidAttributeData>), string signatureAlgorithm = default(string), TrfFtBytes signature = default(TrfFtBytes), RFIDErrorCodes pAStatus = default(RFIDErrorCodes), List<RfidCertificateEx> certificateChain = default(List<RfidCertificateEx>), string dataToHash = default(string), List<ParsingErrorCodes> notifications = default(List<ParsingErrorCodes>))
/// <param name="notifications">Can be ParsingErrorCodes or ParsingNotificationCodes enum. (required).</param>
public RfidSignerInfoEx(decimal varVersion = default(decimal), RfidDistinguishedName issuer = default(RfidDistinguishedName), TrfFtBytes serialNumber = default(TrfFtBytes), TrfFtBytes subjectKeyIdentifier = default(TrfFtBytes), string digestAlgorithm = default(string), List<RfidAttributeData> signedAttributes = default(List<RfidAttributeData>), string signatureAlgorithm = default(string), TrfFtBytes signature = default(TrfFtBytes), RFIDErrorCodes pAStatus = default(RFIDErrorCodes), List<RfidCertificateEx> certificateChain = default(List<RfidCertificateEx>), string dataToHash = default(string), List<int> notifications = default(List<int>))
{
this.VarVersion = varVersion;
// to ensure "issuer" is required (not null)
Expand Down Expand Up @@ -191,10 +191,11 @@ protected RfidSignerInfoEx() { }
public string DataToHash { get; set; }

/// <summary>
/// Gets or Sets Notifications
/// Can be ParsingErrorCodes or ParsingNotificationCodes enum.
/// </summary>
/// <value>Can be ParsingErrorCodes or ParsingNotificationCodes enum.</value>
[DataMember(Name = "Notifications", IsRequired = true, EmitDefaultValue = true)]
public List<ParsingErrorCodes> Notifications { get; set; }
public List<int> Notifications { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down
Loading