In order to use the mobile-ID identification and signing option in your information system, you need to use mobile-ID rest API:
Mobile-ID rest API service address: https://mid.sk.ee/mid-api
mID.sk.ee certificate CN=mid.sk.ee
- Estonia: Elisa, Tele2 and Telia
- Lithuania: Bite, Tele2 and Telia
Validity confirmation service:
Access to the service is provided on the basis of IP-addresses. You also need to agree on the service name (ServiceName) that you wish to display to users beforehand.
This is a paid service.
To date, DigiDocService was used instead of mID rest API, which support period ended in 2020. Therefore, it is recommended to stop using DigiDocService.
Instead of DigiDocService, we recommend interfacing with the national signing service ( https://www.ria.ee/en/state-information-system/eid/partners.html ) or use the underlying software https://github.com/open-eid/SiGa).
There are sample applications in PHP for authentication and giving signatures with mobile-ID. Sample applications with the source code are available here: https://www.skidsolutions.eu/en/services/mobile-id/technical-information-mid-rest-api/
The sample application includes creating a container, adding, removing data files, signing with ID-card and mobile-ID, removing the signature and verifying the signature.
Examples of the sample application and source code are always available on mID GitHub: https://github.com/SK-EID/MID/wiki/Client-libraries