Skip to content

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

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