Skip to content

Commit

Permalink
Merge pull request #10 from WorldHealthOrganization/docs/add-alpha-2-…
Browse files Browse the repository at this point in the history
…country-code-to-issuer

feat(trusted_issuer): added country to trusted issuer json specification
  • Loading branch information
tence authored Oct 16, 2023
2 parents 16287ee + 610b610 commit 28c2930
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion onboarding/DDCC/ISSUER/Trusted_Issuer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"sslPublicKeys": [
"MIIGwjCCBaqgAwIBAvd3QuY29tMEkGCCsG....Lz3lGqBrHBklHq7x5WK4dAipTLrG39u",
"MIIGwjCCBaqgAwIBAvd3QuY29tMEkGCCsG....Lz3lGqBrHBklHq7x5WK4dAipTLrG40u"
]
],
"country" : "DE"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ The JSON structure is defined as follows named `Trusted-Issuer.json`:
"sslPublicKeys": [
"MIIGwjCCBaqgAwIBAvd3QuY29tMEkGCCsG....Lz3lGqBrHBklHq7x5WK4dAipTLrG39u",
"MIIGwjCCBaqgAwIBAvd3QuY29tMEkGCCsG....Lz3lGqBrHBklHq7x5WK4dAipTLrG40u"
]
],
"country" : "DE"
}
```

Expand All @@ -31,5 +32,6 @@ Multiple files can be provided by adding a numbered suffix like `Trusted-Issuer_
| urlType | No | String | 25 chars | DID |
| hash | No | String | 64 chars | SHA256 Hash of the content behind it (if applicable) |
| sslPublicKeys | No | String | 2048 chars per entry | SSL Certificates of the endpoint hosting the DID document. Additional entry may be used to support key rotation. (Format: Base64 of the DER representation) |
| country | No | String | ISO 3166-1 alpha-2 | The alpha 2 country code of the participant |

The JSON structure will be signed by the trust anchor and onboarded to the gateway.

0 comments on commit 28c2930

Please sign in to comment.