API
/.well-known/did.json
get
A public endpoint for GOV.UK Wallet and credential verifiers to retrieve the credential issuer’s public keys for verifying credentials
Responses
| Status | Description | Schema |
|---|---|---|
| 200 |
Credential issuer’s DID document.
|
DidResponse |
Schemas
DidResponse
| Name | Type | Required | Description | Schema |
|---|---|---|---|---|
| @context | array | true | An array of URL contexts which define the terms used in the DID document. |
|
| id | string | true | The unique identifier of the DID document. |
|
| verificationMethod | array | true | An array of verification methods (cryptographic public keys). |
VerificationMethod |
| assertionMethod | array | true | Array of DID URLs where each URL uniquely identifies a verification method within the DID document. |
VerificationMethod
| Name | Type | Required | Description | Schema |
|---|---|---|---|---|
| id | string | true | ||
| type | string | true | ||
| controller | string | true | ||
| publicKeyJwk | object | true | PublicKeyJwk |
PublicKeyJwk
| Name | Type | Required | Description | Schema |
|---|---|---|---|---|
| kty | string | true | Key Type. The family of cryptographic algorithms used with the key. |
|
| kid | string | true | Key ID. Unique identifier to match a specific key. |
|
| crv | string | true | Curve. Cryptographic curve used with the key. |
|
| x | string | true | The “x” coordinate for the elliptic curve point. |
|
| y | string | true | The “y” coordinate for the elliptic curve point. |
|
| alg | string | true | Algorithm. The cryptographic algorithm used with the key. |