Modules

Structs

Represents who give a trust

Chain of trusts started from self-signed root trust.

Wrapper to use PublicKey in HashMap

“A document” that cancels trust created before. TODO delete pk from Revoke (it is already in a trust node)

One element in chain of trust in a certificate. TODO delete pk from Trust (it is already in a trust node)

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 Definitions

for simplicity, we store n where Weight = 1/n^2