Dylan M. Taylor and jonathanwxh-cell
1c5c8a4e14
Add craft-pkcs7: DER, X.509, CMS SignedData, PKCS #12 , RFC 3161 and revocation from PdfCraft
...
* Add craft-pkcs7: DER, X.509, CMS SignedData, PKCS #12 , RFC 3161 and revocation from PdfCraft
Moved from PdfCraft's crates/sign at 1d7a9f9f: der, x509, cms, pkcs12, timestamp,
revocation, keys, rsa_pad and ec512, with their unit tests, the integration tests
that need no PDF, and the test keys.
x509 no longer returns PdfCraft's worded sentences: signing_problem gives a
SigningProblem and build_chain_noted a Refused (reason and the two certificates).
The checks behind them are unchanged. Error is SignError without its PDF variants.
* craft-pkcs7: write the certificate serial verbatim in SignerInfo and ESSCertIDv2
A serial with its high bit set and no leading zero was written with one added, so
the signer identifier and the signing-certificate attribute named a different
number than the certificate has.
Ported from storytold/pdfcraft#6868 . The test uses a certificate that really has
such a serial and also checks that the signer's certificate is found.
* craft-pkcs7: note why RIPEMD-160 is supported
---------
Co-authored-by: jonathanwxh-cell <jonathanwxh@gmail.com >
2026-11-12 09:45:31 -05:00
..
2026-11-12 07:49:33 -05:00
2026-11-11 19:01:12 -05:00
2026-11-11 17:42:11 -05:00
2026-10-23 11:17:51 -04:00
2026-11-11 18:08:00 -05:00
2026-10-21 22:59:44 -07:00
2026-11-12 09:12:40 -05:00
2026-11-11 21:38:01 -05:00
2026-11-12 06:25:55 -05:00
2026-11-11 19:19:03 -05:00
2026-11-11 20:17:35 -05:00
2026-11-11 20:19:00 -05:00
2026-11-01 12:03:49 -05:00
2026-11-11 18:07:00 -05:00
2026-11-11 20:51:12 -05:00
2026-10-28 16:49:37 -04:00
2026-11-07 15:48:07 +01:00
2026-11-11 22:43:11 -05:00
2026-11-02 21:52:51 -05:00
2026-11-11 21:36:33 -05:00
2026-11-11 18:38:46 -05:00
2026-11-12 05:35:48 -05:00
2026-11-12 07:25:00 -05:00
2026-11-03 05:56:54 -08:00
2026-11-11 18:39:42 -05:00
2026-11-11 20:07:35 -05:00
2026-11-11 19:46:19 -05:00
2026-11-11 20:25:48 -05:00
2026-11-12 06:26:14 -05:00
2026-11-11 20:05:20 -05:00
2026-11-11 20:41:34 -05:00
2026-11-11 19:20:26 -05:00
2026-10-27 09:21:01 -04:00
2026-11-07 01:58:39 -08:00
2026-11-11 15:47:59 -05:00
2026-11-11 17:07:37 -05:00
2026-11-11 17:29:14 -05:00
2026-11-11 20:43:12 -05:00
2026-11-11 18:41:32 -05:00
2026-11-11 21:58:39 -05:00
2026-11-11 21:33:47 -05:00
2026-11-11 06:17:52 -05:00
2026-11-11 19:30:23 -05:00
2026-11-11 20:35:11 -05:00
2026-11-11 19:45:03 -05:00
2026-11-11 07:37:06 -05:00
2026-10-31 21:02:31 -07:00
2026-11-11 17:46:14 -05:00
2026-11-11 19:48:05 -05:00
2026-11-11 20:58:36 -05:00
2026-11-11 18:47:08 -05:00
2026-11-11 20:46:15 -05:00
2026-11-11 21:30:41 -05:00
2026-11-11 21:39:55 -05:00
2026-11-11 19:46:48 -05:00
2026-11-03 23:06:04 -05:00
2026-11-12 06:26:09 -05:00
2026-11-11 22:07:26 -05:00
2026-11-11 15:26:10 -05:00
2026-11-11 21:57:52 -05:00
2026-11-11 20:17:35 -05:00
2026-11-11 21:39:13 -05:00
2026-11-11 20:16:51 -05:00
2026-11-11 18:43:46 -05:00
2026-11-11 21:01:51 -05:00
2026-11-12 09:10:41 -05:00
2026-11-11 19:48:05 -05:00
2026-11-07 15:44:13 +01:00
2026-11-11 22:44:59 -05:00
2026-11-12 06:26:30 -05:00
2026-11-11 20:59:00 -05:00
2026-11-12 09:45:31 -05:00
2026-11-11 16:12:06 -05:00
2026-10-22 20:49:41 +02:00
2026-11-11 17:29:14 -05:00
2026-11-12 05:35:48 -05:00
2026-11-11 18:55:20 -05:00
2026-11-12 06:44:39 +01:00
2026-11-11 19:19:57 -05:00
2026-11-04 18:11:37 +01:00
2026-11-11 21:37:35 -05:00
2026-11-11 18:43:21 -05:00
2026-10-25 21:59:22 -04:00
2026-11-12 03:20:05 -05:00
2026-11-12 06:22:37 -05:00
2026-11-11 22:44:19 -05:00
2026-11-02 22:48:25 -05:00
2026-11-11 21:58:16 -05:00
2026-11-11 21:07:34 -05:00
2026-11-11 06:40:49 -05:00
2026-11-11 20:30:38 -05:00
2026-11-11 20:41:56 -05:00
2026-11-12 06:26:19 -05:00
2026-11-11 16:40:42 -05:00
2026-11-11 19:19:30 -05:00
2026-11-11 18:39:14 -05:00
2026-11-11 19:43:41 -05:00
2026-11-12 05:48:58 -05:00
2026-11-11 07:31:25 +01:00
2026-11-11 20:09:55 -05:00
2026-11-11 18:50:38 -05:00
2026-11-07 15:43:45 +01:00
2026-11-11 16:23:23 -05:00
2026-11-12 09:11:48 -05:00
2026-11-06 16:54:07 +01:00
2026-11-05 10:29:52 +01:00
2026-11-11 21:30:17 -05:00
2026-10-31 16:20:44 +01:00
2026-11-11 21:32:31 -05:00
2026-11-12 06:26:24 -05:00
2026-11-11 20:54:41 -05:00
2026-11-11 22:44:39 -05:00
2026-11-11 20:46:37 -05:00
2026-11-11 18:44:44 -05:00
2026-11-11 19:48:05 -05:00