Signings

Raise the signed output to a long-term level

PDF goes PAdES-B-T to B-LT, ASiC-E goes XAdES-T to XAdES-LT: the certificate chain and fresh revocation evidence are embedded so the signature can still be validated once the signing certificate has expired.

ADOC is refused by name. ADOC-V1.0 specifies XAdES-T and its validators expect that level, so "upgrading" one would be a conformance risk dressed as a favour.

Already-archived output comes back unchanged with upgraded: false, so calling this twice costs a parse and not a second signature. The pre-archive version is kept - an upgrade adds a version, never replaces one.

post/v1/signings/{signingId}/archive

Request

  • Base URL: https://sign-api.tvarka.pro
  • URL: https://sign-api.tvarka.pro/v1/signings/{signingId}/archive
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://sign-api.tvarka.pro/oauth/authorize, token URL https://sign-api.tvarka.pro/oauth/token, scopes: sign.read, sign.signings)

Path parameters

signingIdstring uuid required

Response

The level now held, and whether this call raised it.

signingIdstring uuid
levelstring
upgradedboolean

Example response

{
  "level": "PAdES-B-LT"
}

Changes

No recorded changes to this operation across all 1 revision of this API.