# Packages
Package mock_trustdb is a generated GoMock package.
Package trustdbsqlite implements the trustdb interface with a sqlite backed DB.
No description provided by the author
# Functions
WithMetrics wraps the given TrustDB into one that also exports metrics.
# Structs
CertOrErr contains a certificate or an error.
ChainOrErr contains a chain or an error.
CustKey contains a customer key and the meta information (customer IA and the version).
CustKeyOrErr contains a customer key or an error.
TrcOrErr contains a TRC or an error.
# Interfaces
Read contains all read operation of the trust DB.
ReadWrite contains all read and write operations of the trust DB.
Transaction represents a trust DB transaction with an ongoing transaction.
TrustDB is a database containing Certificates, Chains and TRCs, stored in JSON format.
Write contains all write operations fo the trust DB.