Skip to content

Commit

Permalink
Remove DID resolution (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
OR13 authored Aug 27, 2024
1 parent ee2f2ec commit 9a6e48c
Showing 1 changed file with 0 additions and 108 deletions.
108 changes: 0 additions & 108 deletions draft-ietf-scitt-scrapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -656,114 +656,6 @@ Content-Type: application/json
}
~~~

### Resolve Issuer DID

This endpoint enables the use of the DID Web Decentralized Identifier Method, as an alternative expression of the Issuer Metadata endpoint.

This endpoint is DEPRECATED.

The following is a non-normative example of a HTTP request for the Issuer Metadata configuration when `iss` is set to `did:web:transparency.example:tenant:1234`:

Request:

~~~ http-message

GET /tenant/1234/did.json HTTP/1.1
Host: transparency.example
Accept: application/did+ld+json
~~~

Response:

~~~ http-message
HTTP/1.1 200 Ok
Content-Type: application/did+ld+json

{
"@context": [
"https://www.w3.org/ns/did/v1",
{
"@vocab": "https://vocab.transparency.example#"
}
],
"id": "did:web:transparency.example:tenant:1234",
"verificationMethod": [
{
"id": "did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:5b30k1hBWBMcggA9GIJImUqj4pXqrJ9EOWV6MDdcstA",
"type": "JsonWebKey",
"controller": "did:web:transparency.example:tenant:1234",
"publicKeyJwk": {
"kid": "urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:5b30k1hBWBMcggA9GIJImUqj4pXqrJ9EOWV6MDdcstA",
"alg": "ES256",
"use": "sig",
"kty": "EC",
"crv": "P-256",
"x": "9ptuW0PBHSTN7bVexWd7xM5kmSPGRaCu-K3SLtJyvNc",
"y": "l7NvF6QbovicSciZqu_W_xy4JTZwtnUbn2SNdMKoaAk"
}
},
{
"id": "did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:DgyowWs04gfVRim5i1WlQ-HFFFKI6Ltqulj1rXPagRo",
"type": "JsonWebKey",
"controller": "did:web:transparency.example:tenant:1234",
"publicKeyJwk": {
"kid": "urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:DgyowWs04gfVRim5i1WlQ-HFFFKI6Ltqulj1rXPagRo",
"alg": "ES256",
"use": "sig",
"kty": "EC",
"crv": "P-256",
"x": "p-kZ4uOASt9IjQRTrWikGnlbGb-z3LU1ltwRjZaOS9w",
"y": "ymXE1yltJPXgjQSRe9NweN3TLlSUALYZTzy83NVfdg0"
}
},
{
"id": "did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:4Fzx5HO1W0ob9CZNc3RJx28Ixpgy9JAFM8jyXKW0ClE",
"type": "JsonWebKey",
"controller": "did:web:transparency.example:tenant:1234",
"publicKeyJwk": {
"kid": "urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:4Fzx5HO1W0ob9CZNc3RJx28Ixpgy9JAFM8jyXKW0ClE",
"alg": "HPKE-Base-P256-SHA256-AES128GCM",
"use": "enc",
"kty": "EC",
"crv": "P-256",
"x": "Vreuil95vzR6ixutgBBf2ota-rj97MvKfuJWB4qqp5w",
"y": "NkUTeaoNlLRRsVRxHGDA-RsA0ex2tSpcd3G-4SmKXbs"
}
}
],
"assertionMethod": [
"did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:5b30k1hBWBMcggA9GIJImUqj4pXqrJ9EOWV6MDdcstA",
"did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:DgyowWs04gfVRim5i1WlQ-HFFFKI6Ltqulj1rXPagRo"
],
"authentication": [
"did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:5b30k1hBWBMcggA9GIJImUqj4pXqrJ9EOWV6MDdcstA",
"did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:DgyowWs04gfVRim5i1WlQ-HFFFKI6Ltqulj1rXPagRo"
],
"keyAgreement": [
"did:web:transparency.example:tenant:1234\
#urn:ietf:params:oauth:jwk-thumbprint\
:sha-256:4Fzx5HO1W0ob9CZNc3RJx28Ixpgy9JAFM8jyXKW0ClE"
]
}
~~~

# Privacy Considerations

TODO
Expand Down

0 comments on commit 9a6e48c

Please sign in to comment.