eSeal autosigner flow
Below are flow diagrams for Digidentity's eSeal autosigner API.
Autosigner flow (with qualified timestamping)¶
sequenceDiagram
participant CFE as Client<br>webpage
participant CBE as Client<br>backend
participant DBE as Digidentity<br>backend
loop Once per day
CBE ->>+ DBE: Request application token (1)
DBE ->>- CBE: Application token
CBE ->>+ DBE: Request CSC token<br>with application token (2)
DBE ->>- CBE: CSC token
end
CFE -->> CBE: Sign document
CBE -->> CBE: Generate document hash
CBE ->>+ DBE: Request signature with<br>application token (3)
DBE ->>- CBE: Signature
CBE ->>+ DBE: Request timestamp with<br>CSC token (4)
DBE ->>- CBE: Timestamp
CBE -->> CBE: Process document/PDF
CBE -->> CFE: Update webpage
- (1) /oauth2/token.json
- (2) /api/esign/tokens
- (3) /v1/auto_signers/{autosigner_id}/sign
- (4) /csc/v1/signatures/timestamp
Autosigner flow (signing only)¶
sequenceDiagram
participant CFE as Client<br>webpage
participant CBE as Client<br>backend
participant DBE as Digidentity<br>backend
loop Once per day
CBE ->>+ DBE: Request application token (1)
DBE ->>- CBE: Application token
end
CFE -->> CBE: Sign document
CBE -->> CBE: Generate document hash
CBE ->>+ DBE: Request signature with<br>application token (2)
DBE ->>- CBE: Signature
CBE -->> CBE: Process document/PDF
CBE -->> CFE: Update webpage