mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-09 17:14:16 +01:00
test: add timestampPdf signature tests with sample.pdf
Test the timestampPdf() function using the real sample.pdf (SHA256 verified). PdfSigner is mocked to avoid network calls while validating: - Correct signdate/TSA URL passed to PdfSigner - PDF bytes forwarded to signer.sign() - Uint8Array returned from signed result - Error propagation from TSA failures - Multiple TSA URL support - Original PDF bytes not mutated
This commit is contained in:
2 files changed
+113
No files matched your search
Vendored
BIN
Binary file not shown.
Reference in new issue
Block a user