Crate ockam_entity[−][src]
Expand description
Entity is an abstraction over Profiles and Vaults, easing the use of these primitives in authentication and authorization APIs.
Modules
history | Profile history |
Structs
AllTrustPolicy | |
AnyTrustPolicy | |
Changes | Profile changes with a given event identifier |
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 |
CreateKeyChange | Key change creation |
CreateKeyChangeData | Key change data creation |
Entity | |
EventIdentifier | Unique |
IdentifierTrustPolicy | |
KeyAttributes | Attributes that are used to identify key |
LocalInfo | Entity SecureChannel LocalInfo used for LocalMessage |
NoOpTrustPolicy | |
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 |
|
ProfileEventAttributeKey | Pre-defined keys in |
ProfileIdentifier | An identifier of a Profile. |
ProfileImpl | Profile implementation |
ProfileSync | Synchronous worker wrapper around a Profile |
ProfileWorker | A Worker wrapper for a Profile |
RotateKeyChange | RotateKeyChange |
RotateKeyChangeData | RotateKeyChangeData |
SecureChannelTrustInfo | |
Signature | Signature, its type and data |
Enums
ProfileChangeProof | Variants of proofs that are allowed on a |
ProfileChangeType | Possible types of |
SignatureType | Types of proof signatures. |
Constants
LOCAL_INFO_IDENTIFIER | Entity SecureChannel LocalInfo unique Identifier |
Traits
BigArray | |
ConjunctionTrustPolicy | |
DisjunctionTrustPolicy | |
ProfileAdd | |
ProfileAuth | Profile authentication support. |
ProfileChanges | Profile verified change history. |
ProfileContacts | Profile contact management. |
ProfileIdentity | Profile identity. |
ProfileManagement | |
ProfileRemove | |
ProfileRetrieve | |
ProfileSecrets | Profile secret management. |
ProfileTrait | Supertrait of a Profile |
ProfileVault | Traits required for a Vault implementation suitable for use in a Profile |
SecureChannelTrait | A trait that represents the two endpoints of a secure channel. |
TrustPolicy |
Type Definitions
ContactsDb | Contacts Database |
ProfileEventAttributes | Profile event attributes |