Decentralized Identifiers (DIDs)
Last updated
Last updated
Decentralized Identifiers (DIDs) are a unique type of identifier that can be generated and controlled by users themselves, rather than relying on a centralized registration authority. This is made possible through the use of cryptographic techniques, providing users with greater privacy and control in the digital world. In essence, DIDs shift the point of control to individuals, fostering a more user-centric digital ecosystem.
A DID possesses several key properties:
Persistent: It can be retained for as long as necessary.
Resolvable: Its metadata can be discovered through lookup operations.
Cryptographically-Verifiable: Ownership and control of the DID can be proven using cryptographic methods.
Decentralized: It eliminates the need for a centralized registration authority.
A typical DID appears as follows: did:example:123456789abcdefghijk
DID methods define specific details including:
The syntax of the method-specific identifier.
The implementation of the DID operations: CREATE, RESOLVE, UPDATE, and DEACTIVATE.
The security and privacy requirements.
The core properties of a DID include:
Identifiers: Including subject, controller, and aliases.
Verification Methods: Methods for verification using public keys.
Verification Relationships: Including authentication, assertion, key agreement, capability invocation, and capability delegation.
Services: Methods of communication associated with the DID.
The process of resolving a DID involves a function, resolve(did, resolutionOptions)
, which outputs the following elements:
didResolutionMetadata: Includes information like content type and errors.
didDocument: A document that contains the DID properties.
didDocumentMetadata: Contains data such as creation and update timestamps, deactivation status, and version details.
DIDs represent a significant leap towards user-centric digital identity, providing privacy and control without requiring centralized registration authorities. They form the core component of decentralized identity systems, underpinning secure and trustful digital interactions.