13. System Context¶

13.1 Overview¶
"CDOC2 system" - IT system, which contains following primary components:
- CDOC2 Capsule Server (CCS) to be used by CDOC2 clients, such as reference CLI client and DigiDoc4 client application. Every CDOC2 Capsule Server uses local database component as well.
- CDOC2 Shares Server (CSS) to be used by CDOC2 clients, such as reference CLI client and DigiDoc4 client application. Every CDOC2 Shares Server uses local database component as well.
- CDOC2 Authentication Server (cdoc2-auth-server) is used in SID/MID autentication flows only. Composes and issues session tokens that are included as headers in subsequent requests to other CDOC2 infrastructure components. Has a local database component.
- CDOC2 Relying Party Server (cdoc2-rp-server). Mediates and validates client requests to the SID/MID relying party API, including verifying the Session Token issued by the Authentication Server. Has a local database component.
- CDOC2 reference library, to be used by CDOC2 servers, CLI client.
- CDOC2 CLI client, which is a command-line Java application and which implements all CDOC2 end-user use cases, but without graphical user interface.
Note: DigiDoc4 is the primary end-user client application through which most users interact with CDOC2. However, DigiDoc4 is not part of the CDOC2 system scope defined here, as its architecture and documentation are maintained separately.
13.2 External Systems¶
The CDOC2 system depends on the following external components and services. See External Interfaces for API details and endpoints.
- Smart-ID RP API (SK ID Solutions), which the CDOC2 RP Server connects to for Smart-ID authentication sessions using protocol ACSP_V2.
- Mobile-ID REST API (SK ID Solutions), which the CDOC2 RP Server connects to for Mobile-ID authentication sessions.
- OCSP servers (SK ID Solutions, Zetes), which provide certificate validity checking for ID-card/MID/SID certificates.
- LDAP servers (SK ID Solutions, Zetes), which are used by CDOC2 client applications to search for Recipient certificates.