Skip to main content

DID Lifecycle

DID Types

The platform supports two basic DID types:

DID TypeUsageLifecycle
did:peer:2Agent-to-agent private connectionsCreate → Exchange → Resolve → Rotate
did:sovPublic DIDsCreate → Ledger Register → Public Resolve

DID:peer:2 Structure

Peer DIDs are used in agent-to-agent connections and include the following components:

ComponentDescription
Authentication KeyEd25519 key for authentication
Key AgreementX25519 key for encryption
Service EndpointMessage receiving point
Routing KeysRouting through mediator
DID:peer vs DID:sov

did:peer:2 - For private connections, not recorded on ledger, only shared between parties. did:sov - For public DIDs, recorded on Indy ledger, anyone can resolve.

DID Lifecycle

DIDDoc Structure

A DID Document contains the following basic fields:

FieldDescription
idDID identifier
verificationMethodVerification keys
authenticationAuth key references
keyAgreementEncryption key references
serviceService endpoint information

DID Resolution