| OLD | NEW |
| (Empty) | |
| 1 The certificate transparency database is dumped into a simpler (uncompressed) |
| 2 format that can be quickly iterated by the mapper code. |
| 3 |
| 4 The dump is a directory consisting of two files: |
| 5 |
| 6 entries.bin |
| 7 -> This contains the leaf certificates for paths, and an array of indices |
| 8 into extra_certs.bin for the "extra certs" that make up the path. |
| 9 |
| 10 extra_certs.bin |
| 11 -> Contains a sequence of unique certificate data that appear in |
| 12 certificate entries "extra certs". Comparatively this file is tiny as |
| 13 the number of unique intermediate certificates is small. |
| 14 |
| 15 |
| 16 entries.bin sequence of ENTRY |
| 17 |
| 18 ENTRY is made up of: |
| 19 CERT -- the leaf certificate |
| 20 uint16 -- number of extra certificates that follow |
| 21 uint16* -- the list of IDs for the extra certs (the "id" is its order in ext
ra_certs.bin) |
| 22 |
| 23 CERT is made up of: |
| 24 uint32 -- byte count for following data (big-endian) |
| 25 bytes -- the DER-encoded leaf certificate |
| 26 |
| 27 extra_certs.bin is made up of: |
| 28 CERT* -- the extra cert |
| OLD | NEW |