Crate ockam_identity
source · [−]Expand description
Identity is an abstraction over Identitys and Vaults, easing the use of these primitives in authentication and authorization APIs.
Modules
Identity history
Structs
Identity changes with a given event identifier
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::Identity
.
There are two ways to get Contact:
Key change creation
Key change data creation
Unique crate::IdentityChangeEvent
identifier, computed as SHA256 of the event data
Builder for Identity
Individual change applied to identity. IdentityChangeEvent
consists of one or more such changes
crate::Identity
s are modified using change events mechanism. One event may have 1 or more IdentityChange
s
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
Pre-defined keys in IdentityEventAttributes
map
An identifier of an Identity.
Identity SecureChannel LocalInfo used for LocalMessage
Identity implementation
Attributes that are used to identify key
RotateKeyChange
RotateKeyChangeData
Signature, its type and data
Enums
Constants
Identity SecureChannel LocalInfo unique Identifier
Traits
Identity
Traits required for a Vault implementation suitable for use in an Identity
Type Definitions
Contacts Database
Identity event attributes