Crate trust_graph[−][src]
Modules
| certificate_serde |
Structs
| Auth | Represents who give a certificate |
| Certificate | Chain of trusts started from self-signed root trust. |
| PublicKeyHashable | Wrapper to use PublicKey in HashMap |
| Revoke | “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) |
| TrustGraph | Graph to efficiently calculate weights of certificates and get chains of certificates. TODO serialization/deserialization TODO export a certificate from graph |
| TrustNode | An element of trust graph that store relations (trust or revoke) that given by some owners of public keys. |
Enums
| CertificateError | |
| TrustGraphError |
Traits
| Storage | |
| StorageError |
Functions
| current_time |
Type Definitions
| Weight | for simplicity, we store |