Expand description
ccadb-csv is a crate offering helpers for processing CSV data from Common CA Database (CCADB) reports. These reports offer metadata about root and intermediate certificate authorities that have been disclosed to participating root programs (e.g. Mozilla, Microsoft, and Google).
The structs in this crate are very thin wrappers around the CSV content, preserving values unprocessed and in String form, like the raw CSV data. Consumers that wish to process this data will likely want to create newtype wrappers that further refine the data.
Presently there is support for reading the “All Certificate Records” report in all_cert_records
,
and the “Mozilla Included CA Certificate Report” in mozilla_included_roots
. See
CCADB Resources for more information.
To download the CSV data required for use with this crate see the companion ccadb-csv-fetch crate.
Modules§
- all_
cert_ records - Module for processing the CCADB “all certificate records version 2” CSV report.
- mozilla_
included_ roots - Module for processing the CCADB “included CA certificate PEM” CSV report.
Enums§
- Data
Source Error - An error that can occur while parsing a CCADB data source.
Type Aliases§
- Result
- Convenience type for functions that return a
T
on success or aDataSourceError
otherwise.