Signature levels and time stamps
You choose the signature level with the signatureLevel field in PostSign (step 6 of the
guide). The levels are the same for PDF (PAdES), XML (XAdES) and
JSON (JAdES):
signatureLevel |
Level | Contents | tsaAccess |
|---|---|---|---|
b |
B-B | signature without a time stamp | not needed |
t |
B-T | B-B plus a signature time stamp | required |
lt |
B-LT | B-T plus the data for long-term validation | required |
lta |
B-LTA | B-LT plus an archive time stamp | required |
Choosing a level
Section titled “Choosing a level”- Invoices and short-lived documents: B or T.
- Long-term contracts: at least LT, so that the signature can still be verified after the signer’s certificate expires.
- Archives: LTA. The archive time stamp protects the signature even after the certificates that confirmed it expire.
Time stamp
Section titled “Time stamp”For levels T, LT and LTA you need your own qualified time stamp service. You order it in the Certilia Developer portal (Time stamps → New time stamp service); a free trial package is available to start with. The address, the user name and the password are shown on the service’s page.
The AdES web API adds the time stamp itself: in PostSign, you send it the access data of your service in the
tsaAccess field.
"tsaAccess": { "url": "https://tsa.test.certilia.com/qts", "username": "<TSA username>", "password": "<TSA password>"}- The AdES web API uses only AKD’s time-stamping service.
- Every time stamp counts towards the package of your time stamp service; level LTA adds an archive time stamp to the signature time stamp.
- Invalid access data result in the error
INVALID_TSA_CREDENTIALS(see Errors). You create a new password on the time stamp service’s page; the previous one stops working within a few minutes.
| Service | Test | Production |
|---|---|---|
| TSA | https://tsa.test.certilia.com/qts |
https://tsa.certilia.com/qts |
Requesting a time stamp directly, without signing, is described in the time stamps guide.