• Home
Name Date Size #Lines LOC

..--

ours/03-May-2024-482356

READMED03-May-20241.1 KiB3624

ecdsa-prime256v1-sha512-spki-params-null.pemD03-May-20241.3 KiB4630

ecdsa-prime256v1-sha512-unused-bits-signature.pemD03-May-20241.6 KiB5436

ecdsa-prime256v1-sha512-using-ecdh-key.pemD03-May-20241.4 KiB4932

ecdsa-prime256v1-sha512-using-ecmqv-key.pemD03-May-20241.4 KiB4932

ecdsa-prime256v1-sha512-using-rsa-algorithm.pemD03-May-20241.4 KiB4931

ecdsa-prime256v1-sha512-wrong-signature-format.pemD03-May-20241.4 KiB4831

ecdsa-prime256v1-sha512.pemD03-May-20241.5 KiB5032

ecdsa-secp384r1-sha256-corrupted-data.pemD03-May-20241.9 KiB5437

ecdsa-secp384r1-sha256.pemD03-May-20242.7 KiB8556

ecdsa-using-rsa-key.pemD03-May-20241.9 KiB5236

rsa-pkcs1-sha1-bad-key-der-length.pemD03-May-20241.4 KiB4529

rsa-pkcs1-sha1-bad-key-der-null.pemD03-May-20241.7 KiB5336

rsa-pkcs1-sha1-key-params-absent.pemD03-May-20241.6 KiB5033

rsa-pkcs1-sha1-using-pss-key-no-params.pemD03-May-20241.7 KiB5235

rsa-pkcs1-sha1-wrong-algorithm.pemD03-May-20241.6 KiB4933

rsa-pkcs1-sha1.pemD03-May-20241.8 KiB5436

rsa-pkcs1-sha256-key-encoded-ber.pemD03-May-20242.2 KiB6344

rsa-pkcs1-sha256-spki-non-null-params.pemD03-May-20242 KiB6042

rsa-pkcs1-sha256-using-ecdsa-algorithm.pemD03-May-20242 KiB5638

rsa-pkcs1-sha256-using-id-ea-rsa.pemD03-May-20242 KiB5539

rsa-pkcs1-sha256.pemD03-May-20242.8 KiB8758

rsa-pss-sha1-salt20-using-pss-key-no-params.pemD03-May-20241.6 KiB4933

rsa-pss-sha1-salt20-using-pss-key-with-null-params.pemD03-May-20241.7 KiB5135

rsa-pss-sha1-salt20.pemD03-May-20241.8 KiB5436

rsa-pss-sha1-wrong-salt.pemD03-May-20241.8 KiB5236

rsa-pss-sha256-mgf1-sha512-salt33.pemD03-May-20242.3 KiB6850

rsa-pss-sha256-salt10-using-pss-key-with-params.pemD03-May-20242.9 KiB7559

rsa-pss-sha256-salt10-using-pss-key-with-wrong-params.pemD03-May-20242.9 KiB7559

rsa-pss-sha256-salt10.pemD03-May-20242.4 KiB6648

rsa-using-ec-key.pemD03-May-20241.9 KiB5337

rsa2048-pkcs1-sha512.pemD03-May-20243.3 KiB9465

README

1This directory contains test data for testing net::VerifySignedData().
2
3When adding or changing test data, run the script
4  $ python annotate_test_data.py
5
6This script will apply a uniform formatting. For instance it will add a
7comment showing what the parsed ASN.1 looks like, and reformat the base64 to
8have consistent line breaks.
9
10The general format for the test files is as follows:
11
12
13  <A description of the test>
14
15  -----BEGIN PUBLIC KEY-----
16  <base64-encoded, DER-encoded, SPKI>
17  -----END PUBLIC KEY-----
18
19  -----BEGIN ALGORITHM-----
20  <base64-encoded, DER-encoded, AlgorithmIdentifier for the signature.>
21  -----END ALGORITHM-----
22
23  -----BEGIN DATA-----
24  <base64-encoded data that is being verified>
25  -----END DATA-----
26
27  -----BEGIN SIGNATURE-----
28  <base64-encoded, DER-encoded, BIT STRING of the signature>
29  -----END SIGNATURE-----
30
31
32Comments for a PEM block should be placed immediately below that block.
33The script will also insert a comment after the block describing its parsed
34ASN.1 structure (your extra comments need to be above the script-generated
35comments or they will be stripped).
36