Crate ockam[][src]

Modules

profile_change_history

Structs

Address
Changes
Contact

Contact is an abstraction responsible for storing user's public data (mainly - public keys). It is designed to share users' public keys in cryptographically verifiable way. Public keys together with metadata are organised into verifiable events chain exactly like [Profile]. There are two ways to get Contact:

Contacts

Contacts is an in-memory storage for a list of user's Contacts.

Context
CreateKeyChange
CreateKeyChangeData
Error

The type of errors returned by Ockam functions.

EventIdentifier

Unique [ProfileChangeEvent] identifier, computed as SHA256 of the event data

Executor
KeyAttributes

Attributes that are used to identify key

Node
Profile

Profile is an abstraction responsible for keeping, verifying and modifying user's data (mainly - public keys). It is used to create new keys, rotate and revoke them. Public keys together with metadata will be organised into events chain, corresponding secret keys will be saved into the given Vault implementation. Events chain and corresponding secret keys are what fully determines Profile.

ProfileChange

Individual change applied to profile. [ProfileChangeEvent] consists of one or more such changes

ProfileChangeEvent

[Profile]s are modified using change events mechanism. One event may have 1 or more ProfileChanges Proof is used to check whether this event comes from a party authorized to perform such updated Individual changes may include additional proofs, if needed

ProfileEventAttributeKey

Pre-defined keys in ProfileEventAttributes map

ProfileIdentifier
RotateKeyChange
RotateKeyChangeData
Signature

Enums

NodeMessage

Messages sent from the Node to the Executor

NodeReply

Return value of some executor commands

OckamError
ProfileChangeProof

Variants of proofs that are allowed on a [Profile] change

ProfileChangeType

Possible types of [Profile] changes

ProfileKeyPurpose
ProfileKeyType

Type of key. Root key is the first key in any [Profile] and it's used to perform [Profile] updates Issuing key is used to issue credentials

SignatureType

Traits

BigArray
Message

A user defined message that can be serialised and deserialised

ProfileVault
Worker

Base ockam worker trait. See Handler for message receival

Functions

node

Type Definitions

Encoded
ProfileEventAttributes
Result

The type returned by Ockam functions.

Attribute Macros

node

Marks an async function to be run in an ockam node.