Crate ockam_entity

Source
Expand description

Entity is an abstraction over Profiles and Vaults, easing the use of these primitives in authentication and authorization APIs.

Modules§

change_history
Profile history

Structs§

AllTrustPolicy
AnyTrustPolicy
ChangeBlock
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 crate::Profile. There are two ways to get Contact:
CreateKeyChange
Key change creation
CreateKeyChangeData
Key change data creation
Entity
EntityAccessControlBuilder
EntityAnyIdAccessControl
EntityBuilder
Builder for Entity
EntityIdAccessControl
EntityIdentifier
An identifier of a Profile.
EntitySecureChannelLocalInfo
Entity SecureChannel LocalInfo used for LocalMessage
EntityWorker
EventIdentifier
Unique crate::ProfileChangeEvent identifier, computed as SHA256 of the event data
KeyAttributes
Attributes that are used to identify key
Lease
Profile
ProfileChange
Individual change applied to profile. ProfileChangeEvent consists of one or more such changes
ProfileChangeEvent
crate::Profiles 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
ProfileSerializationUtil
ProfileState
Profile implementation
RotateKeyChange
RotateKeyChange
RotateKeyChangeData
RotateKeyChangeData
SecureChannelTrustInfo
Signature
Signature, its type and data
TrustEveryonePolicy
TrustIdentifierPolicy
TrustPolicyImpl
TrustPolicyRequest
TrustPolicyResponse
TrustPolicyWorker
TrustPublicKeyPolicy

Enums§

IdentityRequest
IdentityResponse
MaybeContact
MetaKeyAttributes
Meta-Attributes about a key
ProfileChangeType
Possible types of crate::Profile changes
SignatureType
Types of proof signatures.

Constants§

ENTITY_SECURE_CHANNEL_IDENTIFIER
Entity SecureChannel LocalInfo unique Identifier

Traits§

ConjunctionTrustPolicy
DisjunctionTrustPolicy
Identity
Identity
ProfileVault
Traits required for a Vault implementation suitable for use in a Profile
TrustPolicy

Type Aliases§

AuthenticationProof
ByteVec
Changes
Contacts
Contacts Database
EventAttribute
EventAttributes
Id
ProfileEventAttributes
Profile event attributes
ProfileIdentifier
TTL