| der_getint_unittest.cc |
|
3361 |
- |
| der_gtest.gyp |
|
1027 |
- |
| der_private_key_import_unittest.cc |
|
4820 |
- |
| der_quickder_unittest.cc |
|
3895 |
- |
| generate_p7_verify_blob.py |
Generate a PKCS#7 SignedData DER blob for testing digest-array alignment.
Produces a valid PKCS#7 SignedData whose digestAlgorithms SET contains an
unrecognized OID followed by SHA-256. The message has embedded content,
a self-signed P-256 certificate in `certificates`, and a single signerInfo
with a valid ECDSA-SHA256 signature (no authenticated attributes).
This exercises the full sec_pkcs7_verify_signature code path, including the
index-based digest lookup that was fixed in bug 1998526.
Usage:
python3 generate_p7_verify_blob.py > blob_hex.txt
The script prints C-style hex bytes (0x30, 0x82, ...) suitable for pasting
into a test source file. It also prints the raw certificate DER on stderr
so the test can import it separately if needed.
Requirements: pip install cryptography
|
7631 |
- |
| Makefile |
|
1863 |
- |
| manifest.mn |
|
699 |
- |
| p7_import_unittest.cc |
|
34211 |
- |
| p12_import_unittest.cc |
|
18700 |
- |
| secasn1decode_unittest.cc |
|
2795 |
- |