Commit Graph

7 Commits (5fcf0f98cd14f4ddade311efed5f8f7fa5e5c8fc)

Author SHA1 Message Date
Marcos Sanz Latorre a54166c901 refactor: make CCN-STIC-221 enforcement opt-in via strictCrypto
Replace the always-on `allowLegacyEncryption` / default-on RSA checks
with a single `strictCrypto` flag on both `SignOption` and
`EncryptOption`. All modes and key lengths work by default; set
`strictCrypto: true` to enforce the approved-algorithms rules.
Update tests, externs, type declarations, and docs accordingly.
2026-08-04 23:42:43 +02:00
Marcos Sanz Latorre 162110c1fb feat: enforce CCN-STIC-221 crypto constraints and bump to v3.0.0 2026-08-04 22:23:56 +02:00
Marcos Sanz Latorre db7b45d445 refactor: extract RsaSigner for crypto-agility seam 2026-08-04 13:40:37 +02:00
Marcos Sanz Latorre 185f760790 feat: enforce CCN-STIC-221 crypto constraints on sign and encrypt 2026-08-04 11:53:47 +02:00
zboris12 9706bfe31a Improved to support font subsetting and changed to use pdf-fontkit. 2024-08-19 21:33:38 +09:00
zboris12 4def4068f7 Improved to reuse the font if it is already embedded in the PDF. 2024-08-18 21:32:27 +09:00
zboris12 1f92ca61d7 Added support for typescript development. 2024-08-17 11:51:46 +09:00