|
1 | 1 | # X-Road: Central Server Configuration Data Model |
2 | 2 |
|
3 | | -Version: 1.16 |
| 3 | +Version: 1.17 |
4 | 4 | Doc. ID: DM-CS |
5 | 5 |
|
6 | 6 | | Date | Version | Description | Author | |
@@ -30,6 +30,7 @@ Doc. ID: DM-CS |
30 | 30 | | 09.01.2025 | 1.14 | Restructure heading levels to work better with the documentation platform | Raido Kaju | |
31 | 31 | | 21.03.2025 | 1.15 | Syntax dand styling fixes | Pauline Dimmek | |
32 | 32 | | 30.04.2025 | 1.16 | Added maintenance mode related fields to security_servers table | Ovidijus Narkevičius | |
| 33 | +| 28.10.2025 | 1.17 | Added cost type columns to ocsp_infos and approved_tsas | Mikk-Erik Bachmann | |
33 | 34 |
|
34 | 35 |
|
35 | 36 |
|
@@ -295,16 +296,17 @@ New record creation process starts when an X-Road system administrator receives |
295 | 296 |
|
296 | 297 | #### 2.6.1 Attributes |
297 | 298 |
|
298 | | -| Name | Columns | Name | Columns | |
299 | | -|:----------- |:-----------------:|:----------- |:-----------------:| |
300 | | -| id [PK] | integer | NOT NULL | Primary key | |
301 | | -| name | character varying(255) | | Name of the TSA, used in user interfaces. Technically, this is the subject name of the TSA certificate. | |
302 | | -| url | character varying(255) | | URL that is used for sending time-stamping requests. Must correspond to the URL format. Cannot be NULL. | |
303 | | -| cert | bytea | | TSA certificate that is used to verify issued time stamps. Stored in DER-encoded form. Cannot be NULL. | |
304 | | -| valid_from | timestamp without time zone | | Start of validity period of the TSA's certificate. Extracted from the uploaded certificate. | |
305 | | -| valid_to | timestamp without time zone | | End of validity period of the TSA's certificate. Extracted from the uploaded certificate. | |
306 | | -| created_at | timestamp without time zone | NOT NULL | Record creation time, managed automatically. | |
307 | | -| updated_at | timestamp without time zone | NOT NULL | Record last modified time, managed automatically. | |
| 299 | +| Name | Columns | Name | Columns | |
| 300 | +|:-----------|:---------------------------:|:---------|:-------------------------------------------------------------------------------------------------------:| |
| 301 | +| id [PK] | integer | NOT NULL | Primary key | |
| 302 | +| name | character varying(255) | | Name of the TSA, used in user interfaces. Technically, this is the subject name of the TSA certificate. | |
| 303 | +| url | character varying(255) | | URL that is used for sending time-stamping requests. Must correspond to the URL format. Cannot be NULL. | |
| 304 | +| cert | bytea | | TSA certificate that is used to verify issued time stamps. Stored in DER-encoded form. Cannot be NULL. | |
| 305 | +| valid_from | timestamp without time zone | | Start of validity period of the TSA's certificate. Extracted from the uploaded certificate. | |
| 306 | +| valid_to | timestamp without time zone | | End of validity period of the TSA's certificate. Extracted from the uploaded certificate. | |
| 307 | +| created_at | timestamp without time zone | NOT NULL | Record creation time, managed automatically. | |
| 308 | +| updated_at | timestamp without time zone | NOT NULL | Record last modified time, managed automatically. | |
| 309 | +| cost_type | character varying(255) | NOT NULL | Cost type of the TSA, either FREE, PAID or UNDEFINED. Cannot be NULL. | |
308 | 310 |
|
309 | 311 | ### 2.7 AUTH_CERTS |
310 | 312 |
|
@@ -543,14 +545,15 @@ The record is created when a new OCSP responder needs to be registered for eithe |
543 | 545 |
|
544 | 546 | #### 2.17.2 Attributes |
545 | 547 |
|
546 | | -| Name | Type | Modifiers | Description | |
547 | | -|:----------- |:-----------------:|:----------- |:-----------------:| |
548 | | -| id [PK] | integer | NOT NULL | Primary key. | |
549 | | -| url | character varying(255) | | URL of the OCSP server. Must correspond to the URL format. Cannot be NULL. | |
550 | | -| cert | bytea | | Certificate used by the OCSP server to sign OCSP responses (in DER encoding). | |
551 | | -| ca_info_id [FK] | integer | | ID of the CA info record this OCSP info belongs to. References id attribute of ca_infos entity. Cannot be NULL. | |
552 | | -| created_at | timestamp without time zone | NOT NULL | Record creation time, managed automatically. | |
553 | | -| updated_at | timestamp without time zone | NOT NULL | Record last modified time, managed automatically. | |
| 548 | +| Name | Type | Modifiers | Description | |
| 549 | +|:----------------|:---------------------------:|:----------|:---------------------------------------------------------------------------------------------------------------:| |
| 550 | +| id [PK] | integer | NOT NULL | Primary key. | |
| 551 | +| url | character varying(255) | | URL of the OCSP server. Must correspond to the URL format. Cannot be NULL. | |
| 552 | +| cert | bytea | | Certificate used by the OCSP server to sign OCSP responses (in DER encoding). | |
| 553 | +| ca_info_id [FK] | integer | | ID of the CA info record this OCSP info belongs to. References id attribute of ca_infos entity. Cannot be NULL. | |
| 554 | +| created_at | timestamp without time zone | NOT NULL | Record creation time, managed automatically. | |
| 555 | +| updated_at | timestamp without time zone | NOT NULL | Record last modified time, managed automatically. | |
| 556 | +| cost_type | character varying(255) | NOT NULL | Cost type of the OCSP server, either FREE, PAID or UNDEFINED. Cannot be NULL. | |
554 | 557 |
|
555 | 558 | ### 2.18 REQUEST_PROCESSINGS |
556 | 559 |
|
|
0 commit comments