Skip to main content

Components

internal-signer/ stands for lib/integration/signature-provider/internal-signer/. Paths are relative to backend/horizon-api/.

The provider interface

Consumers call the engine only through SignatureProviderClient; the engine instance is exported as internalSignerClient. The engine client also exposes applyUnattendedEnterpriseSignatures, which the unattended company-side job calls. Each group records its provider in signature.signature_provider; the in-house engine is internal_signer.

Tables

The signature_* tables belong to the signature domain. The consumer creates the group, its documents, its seats and the sealed versions; the engine writes the provider request, the codes, the evidence and the audit chain, and moves the signing statuses; the consumer opens the group (in_progress) and cancels it. Their columns are on the generated schema pages. Original PDFs and sealed PDFs are stored in the private contracts bucket.

Statuses

The internal values are declared in lib/common/catalog/contract-flow.constants.ts.

Routes

Boundaries

Every signature_document must point to a contract or a contract annex (a database check enforces it), so today the engine signs contract documents only. A new kind of document needs that reference extended.