Certilia ePotpis support
Overview
PAdES web API 2
Odjeljak „PAdES web API 2”Creates PAdES electronic signatures and seals (eIDAS) in PDF documents, together with Certilia ePotpis.
The API has two main operations:
- PreSign (
POST /pades/v2) prepares each PDF for signing. It reserves space for the signature value, optionally adds the visible signature element (visual) and returns the hash to be signed. - PostSign (
PATCH /pades/v2) embeds the signature value created in ePotpis, and optionally a time stamp, and returns the signed PDF.
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 made on the eSign service’s page in the
Certilia Developer portal in the Authorization: Bearer <AdES key> header.
The key 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”Access token for the AdES web API, generated on the
Certilia Developer portal.
Send it as Authorization: Bearer <token>.
Security scheme type: http