┌─┐ ┌──┐ ┌──┐ │u│ │wi│ │wb│ └┬┘ └─┬┘ └─┬┘ │ Initialize wallet instance │ │ │ or request/present credentials │ │ │─────────────────────────────────>│ │ │ │ │ │ │ Get wallet provider metadata │ │ │───────────────────────────────────────────────────────────────────>│ │ │ │ │ │ Metadata containing credential types, key requirements, endpoints │ │ │< ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ │ │ │ │ │────┐ │ │ │ │ Validate wallet provider trust list │ │ │<───┘ │ │ │────┐ │ │ │ │ Generate key pairs │ │ │<───┘ │ │ │ Request nonce │ │ │───────────────────────────────────────────────────────────────────>│ │ │ │ │ │ nonce │ │ │< ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ │ │ │ │ │────┐ │ │ │ │ Create Wallet Instance Assertion Request JWT │ │ │<───┘ │ │ │ Get assertion (Wallet Instance Assertion Request) │ │ │───────────────────────────────────────────────────────────────────>│ │ │ │ │ │ │────┐ │ │ │ │ Validate wallet instance genuineness │ │ │<───┘ │ │ │────┐ │ │ │ │ Validate signature │ │ │<───┘ │ │ │────┐ │ │ │ │ generate and sign wallet instance assertion │ │ │<───┘ │ │ Wallet Instance Assertion │ │ │< ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ │ │ │ │ │────┐ │ │ │ │ Validate wallet instance assertion │ │ │<───┘ │ │ Wallet instance initialized │ │ │ ready to obtain new credentials │ │ │< ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ │ │ │ │ ┌┴┐ ┌─┴┐ ┌─┴┐ │u│ │wi│ │wb│ └─┘ └──┘ └──┘