Certilia ePotpis support
Overview
JAdES web API 1
Odjeljak „JAdES web API 1”Creates electronic signatures and seals (eIDAS) in JSON documents, in the JAdES format, together with Certilia ePotpis.
The API has two main operations:
- PreSign (
POST /jades/v1) prepares each JSON document for signing and returns the hash to be signed. - PostSign (
PATCH /jades/v1) embeds the signature value created in ePotpis, and optionally a time stamp, and returns the signed document.
GET /jades/errors lists all errors of the API.
The user signs the hash in ePotpis; this API never sees the user’s private key. For the order of the calls between your server, ePotpis and this API, see the guide Signing documents: integration guide (hrvatski).
Authentication: send the AdES key in the Authorization: Bearer <AdES key> header. You make the key on your
eSign service’s page in the Certilia Developer portal, in the AdES web API
section. The same key opens the PAdES, XAdES and JAdES web APIs. It is not the ePotpis transaction token that
goes in the request body.
ePotpis – technical specification for integration, version 4.0.14 (PDF, in Croatian)
Authentication
Odjeljak „Authentication”bearerAuth
Odjeljak „bearerAuth”AdES key, made on your eSign service’s page in the
Certilia Developer portal (AdES web API section). The same key opens the
PAdES, XAdES and JAdES web APIs. Send it as Authorization: Bearer <AdES key>.
Security scheme type: http