Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Side by Side Diff: net/tools/ct_mapper/FILE_FORMAT.txt

Issue 1238413004: Framework for iterating over certificates in CT database from Chromium code. (not for review) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make samples page work Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/tools/ct_mapper/BUILD.gn ('k') | net/tools/ct_mapper/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « net/tools/ct_mapper/BUILD.gn ('k') | net/tools/ct_mapper/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698