---
title: "Choose your provider's model"
description: "Map your provider's certificate lifecycle, identification step and signature output to a signature format, the worker's pending steps and the signer's screens."
canonical: "https://signatureapi.com/docs/qualified-signatures/worker-models"
source: "https://signatureapi.com/docs/qualified-signatures/worker-models.md"
last_verified_api_version: "1.18.1"
last_modified: "2026-11-18T13:21:00Z"
---

# Choose your provider's model

Map your provider's certificate lifecycle, identification step and signature output to a signature format, the worker's pending steps and the signer's screens.

_Last verified against API version 1.18.1._

> **Note:** **Public beta.** Qualified signatures are available on request, with any qualified trust service provider you choose and at no extra charge during the beta. See [Request access](https://signatureapi.com/docs/qualified-signatures#request-access). SWP/1 is in beta and may change.

Every qualified trust service provider (QTSP) signs a little differently. Before you write a line of your [signing worker](https://signatureapi.com/docs/qualified-signatures/signing-workers), answer three questions about your provider. The answers decide your signature format, which calls your worker pauses, and what the signer sees.

1. **Certificate lifecycle.** Does the signer already have a certificate, or does the provider issue one for this signature?
2. **Identification.** When does the provider check who the signer is?
3. **Output.** Does the provider's signing call return a bare signature value, or a finished CMS signature?

A quick reminder of the three calls, in order: [`credential`](https://signatureapi.com/docs/qualified-signatures/signing-worker-protocol/credential) returns the certificate, [`authorize`](https://signatureapi.com/docs/qualified-signatures/signing-worker-protocol/authorize) gets the signer's approval for one digest, and [`sign`](https://signatureapi.com/docs/qualified-signatures/signing-worker-protocol/sign) produces the signature. Only `credential` and `authorize` can [pause](https://signatureapi.com/docs/qualified-signatures/signing-worker-protocol/pending-steps) for the signer.

## 1. Certificate lifecycle

|                          | Long-term certificate                                                                                           | One-shot certificate                                                                                                        |
| ------------------------ | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| What it is               | Issued once to the signer, reused for every signature. The signer has an account or enrollment at the provider. | Issued for one signature, after the provider identifies the signer. It lives for minutes, then expires.                     |
| How you find it          | Look it up, for example with the CSC methods `credentials/list` and `credentials/info`                          | The provider creates it during the signing flow, with its own API                                                           |
| Your `credential` answer | The certificate chain, right away                                                                               | Depends on the output. See [section 4](https://signatureapi.com/docs/qualified-signatures/worker-models#4-put-it-together). |
| `expires_at`             | Leave it out, or set the certificate's real end date                                                            | Set it. SignatureAPI checks it before `authorize` and before `sign`.                                                        |

The Cloud Signature Consortium (CSC) API, the common standard for remote signing services, covers long-term credentials directly. Version 2.0 of the CSC API calls one-shot certificates "short-lived credentials", but doesn't define how to create one. Check your provider's API for how it issues them.

## 2. Identification

Every QTSP knows who the signer is before it signs in their name. The question is when it checks.

- **Bundled with the approval.** The signer identifies and approves in one interaction: one hosted page, or one confirmation in the provider's app.
- **A separate first step.** The provider must identify the signer before it can issue a certificate, then asks for the approval on its own.
- **Not at signing time.** The provider already knows the signer, from an earlier enrollment. At signing time, the signer only approves, usually with a PIN, a one-time password or their app.

## 3. Output

| Your provider's signing call returns                                                                                        | Use                                                                                                                |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| A bare signature value over a hash, like the CSC `signatures/signHash` method                                               | [`raw`](https://signatureapi.com/docs/qualified-signatures/signing-worker-protocol/signature-formats), the default |
| A complete, detached CMS or PKCS#7 signature, like a CSC `signatures/signDoc` call that asks for a detached CAdES signature | [`cms`](https://signatureapi.com/docs/qualified-signatures/signing-worker-protocol/signature-formats)              |

The format changes what the digest is a hash of, and when SignatureAPI needs the certificate:

- **`raw`.** SignatureAPI builds the signature around your value, and that signature names the certificate. So the certificate must exist before SignatureAPI computes the digest, at the end of `credential`.
- **`cms`.** Your provider builds the signature. The certificate can wait until the `sign` response.

That second point is what makes one-shot providers simple with `cms`: identification, issuance and approval can all happen in one `authorize` interaction.

## 4. Put it together

Find your provider's row. It gives your format, what each call answers and the recipe to follow.

| Your provider                                         | Format         | `credential`                                                      | `authorize`                                                      | Recipe                                                                                                                                    |
| ----------------------------------------------------- | -------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Long-term certificate, "sign hash" call               | `raw`          | `completed` with the chain                                        | `pending` for the approval                                       | [CSC remote certificate](https://signatureapi.com/docs/qualified-signatures/recipes/csc-remote-certificate)                               |
| Long-term certificate, approval in the provider's app | `raw` or `cms` | `completed` with the chain                                        | `pending`, poll channel                                          | [App approval](https://signatureapi.com/docs/qualified-signatures/recipes/app-approval)                                                   |
| Long-term certificate, returns a complete CMS         | `cms`          | `completed`, chain optional                                       | `pending` for the approval                                       | [CSC remote certificate](https://signatureapi.com/docs/qualified-signatures/recipes/csc-remote-certificate#a-provider-that-returns-a-cms) |
| One-shot certificate, returns a complete CMS          | `cms`          | `completed` without a certificate                                 | `pending` for identification and approval                        | [One-shot certificate](https://signatureapi.com/docs/qualified-signatures/recipes/one-shot-cms)                                           |
| One-shot certificate, bare value only                 | `raw`          | `pending` for identification, then `completed` with the new chain | `pending`, or `completed` if the first step covered the approval | [One-shot certificate](https://signatureapi.com/docs/qualified-signatures/recipes/one-shot-cms#a-one-shot-provider-without-cms)           |

A one-shot provider with `raw` must issue the certificate during `credential`, because the digest needs it. That's the only model that always asks the signer to act during `credential`.

> **Tip:** Pause a call only where your provider really needs the signer. Each pause is a hand-off the signer sees. A worker whose provider needs nothing from the signer at some step answers that step `completed` right away.

## What the signer sees

The ceremony shows a screen for each pause. The screen depends on the paused call and on the [channel](https://signatureapi.com/docs/qualified-signatures/signing-worker-protocol/pending-steps) your `pending` answer offers.

| Paused call                 | Your `pending` answer has | The ceremony shows                    | Then                                                                                                            |
| --------------------------- | ------------------------- | ------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `credential`                | `action_url`              | **Confirm your identity to continue** | Sends the browser to `action_url` after a moment. A **Continue to identity verification** button does the same. |
| `authorize`                 | `action_url`              | **Authorize your signature**          | Sends the browser to `action_url` right away. A **Continue at your signing provider** button does the same.     |
| `credential` or `authorize` | `poll_after` only         | **Waiting for your confirmation**     | The signer stays in the ceremony, which updates on its own when your worker answers.                            |

An answer with both `action_url` and `poll_after` shows the redirect screen, and SignatureAPI also polls.

![The ceremony screen titled Confirm your identity to continue, shown while credential is paused with an action\_url](https://signatureapi.com/docs/dashboard/images/qualified-ceremony-confirm-identity.webp)

![The ceremony screen titled Authorize your signature, shown while authorize is paused with an action\_url](https://signatureapi.com/docs/dashboard/images/qualified-ceremony-authorize.webp)

Around the pauses, the ceremony shows **Preparing your document…** while SignatureAPI works, and **Finalizing your signature…** once the signature is in. If the session fails, it shows **We couldn't complete your signature** with the failure reason and a **Try again** button, which starts a new signing session.

## Next steps

- [CSC remote certificate](https://signatureapi.com/docs/qualified-signatures/recipes/csc-remote-certificate): Long-term certificate, `raw`, approval on a page.

- [One-shot certificate](https://signatureapi.com/docs/qualified-signatures/recipes/one-shot-cms): Identify, issue and sign in one interaction, with `cms`.

- [App approval](https://signatureapi.com/docs/qualified-signatures/recipes/app-approval): The signer confirms on their phone, and SignatureAPI polls.
