Certificate of Thorough Examination
A testing station's certificate of thorough examination and proof load test for a chain hoist, sealed with an svg read from a file.
- Result at a glance. Three tiles for the result, the safe working load and the next examination date.
- Equipment grid. The hoist's particulars, and the proof load drawn as two bars against the safe working load.
- Examination results table. Each check, its requirement, the measured value and a Pass mark.
- Seal from a file. The signature's svg is
images/assets/seal.svg, drawn beside the station's lines in a box styled by the document, with no certificate fingerprint.
Features used: PDF/A-2b, DOCX Transitional conformance, columns, tables, SVG, a digital signature, headers and footers
- Output
- Template
- Data
How it's built
The signature
The certificate is sealed by the testing station itself, Wexcombe Testing Station: an organisation's seal, not a person's signature.
{
"styles": {"boxed": {"fontSize": 8, "padding": 8, "border": "1pt solid #1e3a5f", "backgroundColor": "#f3f6fb"}},
"signature": {
"certificate": "certs/demo-signer.p12",
"password": "test-2026",
"visible": true,
"fieldName": "ConformitySeal",
"position": {"pageNumber": 1, "left": 52.0, "bottom": 70.9, "width": 380, "height": 128},
"appearance": {
"signedBy": "Wexcombe Testing Station",
"reason": "Certificate issued",
"location": "Wexcombe",
"signDate": "2026-10-09T11:00:00Z",
"style": "boxed",
"certificateFingerprint": false,
"svg": {
"file": "images/assets/seal.svg",
"width": 110,
"height": 110,
"title": "The testing station's e-seal: a round seal in two blues"
}
}
}
}
The appearance draws the station's lines (name, reason, place and date) in the document's boxed style: 8pt text in a 1pt navy frame on a pale blue fill, with 8pt of padding. Its svg is not written in the document: file reads images/assets/seal.svg, an svg file beside the document, drawn 110pt square at the right of the box, and its title describes it to a screen reader (SVG). certificateFingerprint is false and no icon is set, so the box holds the lines and the seal only.
With signingType left at PAdES and no timestampServer, the signature reaches the B-B baseline level (Signature levels): the signature, the signing certificate and its signed attributes; a timestampServer would take it to B-T. Left out, its default certification level noChanges makes it a certification signature: no change is allowed after signing. The document also claims a DOCX (transitional): there the same object signs the whole package, in XAdES at the same level, and the same box is drawn.
Verifying it
Open the PDF in a reader and its signature panel shows the signature and whether the file still verifies: any change to the signed file invalidates it. The box on the page is a drawing, the seal included, and says nothing about whether the signature verifies; the panel does. The document signs with certs/demo-signer.p12, a self-signed demonstration key, so every reader shows its signer as untrusted. To be trusted, sign with your own key, whose certificate your readers trust: upload a file under that name, or name your own key in certificate. E-signature lists every key of the block.