DID Lifecycle
DID Types
The platform supports two basic DID types:
| DID Type | Usage | Lifecycle |
|---|---|---|
| did:peer:2 | Agent-to-agent private connections | Create → Exchange → Resolve → Rotate |
| did:sov | Public DIDs | Create → Ledger Register → Public Resolve |
DID:peer:2 Structure
Peer DIDs are used in agent-to-agent connections and include the following components:
| Component | Description |
|---|---|
| Authentication Key | Ed25519 key for authentication |
| Key Agreement | X25519 key for encryption |
| Service Endpoint | Message receiving point |
| Routing Keys | Routing 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:
| Field | Description |
|---|---|
id | DID identifier |
verificationMethod | Verification keys |
authentication | Auth key references |
keyAgreement | Encryption key references |
service | Service endpoint information |