One additional commit which is just to update our simple.json proof with a sample with a key directly in the file.

This commit is contained in:
Miles Lyon 2022-06-29 16:08:18 -04:00
parent c2540377e2
commit e09a383097

View File

@ -1,36 +1,36 @@
{ {
"@context": [ "@context": [
"https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/v1",
"https://imsglobal.github.io/openbadges-specification/context.json", "https://imsglobal.github.io/openbadges-specification/context.json",
"https://w3id.org/security/suites/ed25519-2020/v1" "https://w3id.org/security/suites/ed25519-2020/v1"
], ],
"id": "http://example.edu/credentials/3732", "id": "http://example.edu/credentials/3732",
"type": [
"VerifiableCredential",
"OpenBadgeCredential"
],
"issuer": {
"id": "https://example.edu/issuers/565049",
"type": [ "type": [
"VerifiableCredential", "Profile"
"OpenBadgeCredential"
], ],
"issuer": { "name": "Example University"
"id": "https://example.edu/issuers/565049", },
"type": [ "issuanceDate": "2010-01-01T00:00:00Z",
"Profile" "name": "Example University Degree",
], "credentialSubject": {
"name": "Example University" "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
}, "type": [
"issuanceDate": "2010-01-01T00:00:00Z", "AchievementSubject"
"name": "Example University Degree",
"credentialSubject": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"type": [
"AchievementSubject"
]
},
"proof": [
{
"type": "Ed25519Signature2020",
"created": "2022-06-09T22:56:28Z",
"verificationMethod": "https://example.edu/issuers/565049#key-1",
"proofPurpose": "assertionMethod",
"proofValue": "z58ieJCh4kN6eE2Vq4TyYURKSC4hWWEK7b75NNUL2taZMhKqwTteuByG1wRoGDdCqqNLW5Gq1diUi4qyZ63tQRtyN"
}
] ]
} },
"proof": [
{
"type": "Ed25519Signature2020",
"created": "2022-06-28T16:28:36Z",
"verificationMethod": "did:key:z6MkkUD3J14nkYzn46QeuaVSnp7dF85QJKwKvJvfsjx79aXj",
"proofPurpose": "assertionMethod",
"proofValue": "z3MUt2ZuU8Byqivxh6GphEM65AFYyNaGYibm97xLTafM7uGufZQLKvJR8itZwxKskvtFM3CUty46v26DZidMNoQnM"
}
]
}