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