Before you start
What Is a Remote eID Signature?
A Remote eID Signature enables the creation of a Qualified Electronic Signature (QES) using a Latvian eID card and the Cloud Signature Consortium (CSC) v2 API.
The solution uses short-term signing certificates that are issued after the user has successfully authenticated and provided consent for signing.
Please note that this applies to the Signing Platform (Sign API), not CSC API:
- calculates the document hash;
- requests signing authorization;
- receives the cryptographic signature from the CSC API;
- embeds the signature into a PAdES, XAdES, or CAdES container.
CSC API OutputCSC API does not create a signed document or signature container. It only returns the signature value, which must be embedded into the appropriate document or signature container format, such as PAdES, XAdES, or ASiC-E, by the integrating application.
Authentication Methods
eID Card
Authentication using:
-
Latvian eID card
-
smart card reader
-
eID software
urn:eparaksts:authentication:flow:sc_plugin
eID Scan
Authentication using an eID card on a mobile device.urn:eparaksts:authentication:flow:mobile-eid
The authentication flows available in the authorization request are determined by the
acr_valuesparameter.
Technical Prerequisites
Before starting the integration, the following must be obtained:
- OAuth
client_id - OAuth
client_secret - registered
redirect_uri - access to the test or production environment
- test user account
The value ofredirect_urimust exactly match across all OAuth requests and the client configuration.
Updated about 1 month ago