From 853935f7e393fca761a06e9572c9a37e6ab43bf4 Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko <60066359+ArtsiomTsybulko@users.noreply.github.com> Date: Fri, 11 Jul 2025 10:50:03 +0300 Subject: [PATCH 1/4] 40497 - fix Notifications type (#261) * 40497 - fix Notifications type * 40497 - update ParsedData --- rt-rfid-binary-data.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/rt-rfid-binary-data.yml b/rt-rfid-binary-data.yml index 65a22228..23fe56fb 100644 --- a/rt-rfid-binary-data.yml +++ b/rt-rfid-binary-data.yml @@ -387,7 +387,7 @@ components: description: "List of remarks arisen during the analysis of SO data structure." type: array items: - $ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes" + $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" SignerInfos: description: "List of containers to store information about digital signature objects contained in the SO" type: array @@ -449,7 +449,7 @@ components: Notifications: type: array items: - $ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes" + $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" RfidCertificateEx: title: "RfidCertificateEx" @@ -501,7 +501,7 @@ components: structure and its validity verification." type: array items: - $ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes" + $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" Origin: $ref: "#/components/schemas/RfidCertificateOrigin" Type: @@ -714,7 +714,7 @@ components: description: "List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure." type: array items: - $ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes" + $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" DocFields_Text: description: "List of document text fields formed on the basis of the file contents" type: array @@ -760,8 +760,7 @@ components: ParsingNotifications: type: array items: - type: integer - format: int64 + $ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes" TrfFtBytes: title: "TrfFtBytes" @@ -809,7 +808,7 @@ components: description: "List of remarks arisen during the procedure." type: array items: - $ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes" + $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" AccessControlOptions: description: "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" From a65c726c2f5062941bf8793ef3f730c60fd1288e Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko Date: Wed, 16 Jul 2025 16:51:17 +0300 Subject: [PATCH 2/4] 41460 - fix Notifications type --- rt-rfid-binary-data.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/rt-rfid-binary-data.yml b/rt-rfid-binary-data.yml index 23fe56fb..d4dbd514 100644 --- a/rt-rfid-binary-data.yml +++ b/rt-rfid-binary-data.yml @@ -384,10 +384,10 @@ components: description: "Reference to the source file of the security object data" type: number Notifications: - description: "List of remarks arisen during the analysis of SO data structure." + description: "List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: - $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" + type: integer SignerInfos: description: "List of containers to store information about digital signature objects contained in the SO" type: array @@ -447,9 +447,10 @@ components: description: "Binary data array used to calculate the hash value for digital signature verification. Base64 encoded." type: string Notifications: + description: "Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: - $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" + type: integer RfidCertificateEx: title: "RfidCertificateEx" @@ -498,10 +499,10 @@ components: $ref: "#/components/schemas/RfidPkiExtension" Notifications: description: "List of remarks arisen during the analysis of the certificate data - structure and its validity verification." + structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: - $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" + type: integer Origin: $ref: "#/components/schemas/RfidCertificateOrigin" Type: @@ -711,10 +712,11 @@ components: PA_Status: $ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes" Notifications: - description: "List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure." + description: "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." type: array items: - $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" + type: integer DocFields_Text: description: "List of document text fields formed on the basis of the file contents" type: array @@ -805,10 +807,10 @@ components: description: "Index of the active variant of the procedure" type: number Notifications: - description: "List of remarks arisen during the procedure." + description: "List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: - $ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes" + type: integer AccessControlOptions: description: "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" From 5f3e1e4dff65c4b6c43efec8523a8e588285e876 Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko <60066359+ArtsiomTsybulko@users.noreply.github.com> Date: Fri, 18 Jul 2025 17:21:52 +0300 Subject: [PATCH 3/4] 41498 - update ResourceType enum (#266) * 41498 - update ResourceType enum * 41498 - update ResourceType enum --- e-rfid-pkd-resourcetype.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e-rfid-pkd-resourcetype.yml b/e-rfid-pkd-resourcetype.yml index d8f2f79e..d6e542c9 100644 --- a/e-rfid-pkd-resourcetype.yml +++ b/e-rfid-pkd-resourcetype.yml @@ -14,6 +14,8 @@ components: - 5 - 6 - 7 + - 8 + - 9 x-enum-varnames: - "CERTIFICATE_PA" - "CERTIFICATE_TA" @@ -23,6 +25,8 @@ components: - "DEFL" - "DEVL" - "BL" + - "LDIF_TA" + - "ML_TA" x-enum-descriptions: - "Certificate file contents (.pem, .cer, .crt, .der)" - "Certificate file contents (.cvcert) and private key file contents (.pkcs8)" @@ -32,3 +36,5 @@ components: - "Defect List (.dl, .dls, .dfl)" - "Deviance List (.dl, .dls, .dvl)" - "Black List (.bl, .bls)" + - "LDIF file contents for TA" + - "Master List with CV certificates for TA" From f3c3252ac8ea44fe70c968a3cd7cf891e43478c2 Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko <60066359+ArtsiomTsybulko@users.noreply.github.com> Date: Fri, 18 Jul 2025 17:23:46 +0300 Subject: [PATCH 4/4] 41525 - fix VirtualMode type (#267) Co-authored-by: Vladislav Yakimchik <31860804+vyakimchik@users.noreply.github.com> --- rt-rfid-binary-data.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt-rfid-binary-data.yml b/rt-rfid-binary-data.yml index d4dbd514..ff154e8b 100644 --- a/rt-rfid-binary-data.yml +++ b/rt-rfid-binary-data.yml @@ -310,7 +310,7 @@ components: VirtualMode: description: "Sign of virtual session when working with loaded data from a previous communication session with the electronic document" - type: string + type: boolean SDKVersion: description: "Text SDKVersion value in format A.B (e.g. 3.1)" type: string