Signature Providers
Sign Relay supports multiple electronic signature providers through a unified interface.
Currently Supported
D4Sign
Brazilian electronic signature provider with advanced features including:
- Digital certificate support (ICP-Brasil)
- Multiple signer workflows
- Document templates
- Advanced security features
Provider Interface
All providers implement the same interface, making swapping seamless:
interface SignatureProvider {
createDocument(request: CreateRequest): Promise<Document>;
getStatus(id: string): Promise<Status>;
parseWebhook(payload: unknown): Promise<WebhookEvent>;
}Adding a New Provider
To add a new provider:
- Create a new adapter in
src/adapters/ - Implement the
SignatureProviderinterface - Add provider configuration
- Write tests for the adapter
- Update documentation