Expand description
§Introduction
XIDs (eXtensible IDentity, /zid/) are unique 32-byte identifier that represent any entities—real or abstract—such as a person, organization, or device. Generated from the SHA-256 hash of a specific public signing key known as the inception key, a XID provides a stable identity throughout its lifecycle, even as associated keys and permissions evolve. Leveraging Gordian Envelope for XID Documents, XIDs are recursively resolvable and extensible, allowing for detailed assertions about the entity, including key declarations, permissions, controllers, and endpoints. The integration of provenance marks ensures a verifiable chain of document revisions, enhancing security and authenticity in decentralized identity management.
§Getting Started
[dependencies]
bc-xid = "0.22.0"§Examples
See the unit tests in the source code for examples of how to use this library.
Structs§
Enums§
- Error
- Generator
Data - Provenance mark generator data that can be either decrypted or encrypted.
- Private
KeyData - Private key data that can be either decrypted or encrypted.
- Privilege
- XIDGenerator
Options - Options for handling generators in envelopes.
- XIDGenesis
Mark Options - XIDInception
KeyOptions - XIDPrivate
KeyOptions - Options for handling private keys in envelopes.
- XIDSigning
Options - Options for signing an envelope.
- XIDVerify
Signature - Options for verifying the signature on an envelope when loading an XIDDocument.