Modules§
Structs§
- Auth
- Represents who give a trust
- Certificate
- Chain of trusts started from self-signed root trust.
- Public
KeyHashable - Wrapper to use PublicKey in HashMap
- Revocation
- “A document” that cancels trust created before. TODO delete pk from Revoke (it is already in a trust node)
- Trust
- One element in chain of trust in a certificate. TODO delete pk from Trust (it is already in a trust node)
- Trust
Graph - Graph to efficiently calculate weights of certificates and get chains of certificates. TODO serialization/deserialization TODO export a certificate from graph
Enums§
Statics§
Traits§
Functions§
Type Aliases§
- Weight
Factor - for simplicity, we store
n
where Weight = 1/n^2