UNPKG

@digitalcredentials/verifier-core

Version:

For verifying Verifiable Credentials in the browser, Node.js, and React Native.

54 lines (53 loc) 2.19 kB
export const v2EddsaWithValidStatus = { "type": [ "VerifiableCredential", "OpenBadgeCredential" ], "name": "Teamwork Badge", "issuer": { "type": [ "Profile" ], "name": "Example Corp", "id": "did:key:z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q" }, "@context": [ "https://www.w3.org/ns/credentials/v2", "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json", "https://w3id.org/security/suites/ed25519-2020/v1" ], "validFrom": "2010-01-01T00:00:00Z", "credentialSubject": { "type": [ "AchievementSubject" ], "name": "Taylor Tuna", "achievement": { "id": "https://example.com/achievements/21st-century-skills/teamwork", "type": [ "Achievement" ], "name": "Masters - v2 - unrevoked", "criteria": { "narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management." }, "description": "This badge recognizes the development of the capacity to collaborate within a group environment." } }, "id": "urn:uuid:677fe8a6cacf98774d482d07", "credentialStatus": { "id": "https://raw.githubusercontent.com/digitalcredentials/verifier-core/refs/heads/main/src/test-fixtures/status/e5WK8CbZ1GjycuPombrj#9", "type": "BitstringStatusListEntry", "statusPurpose": "revocation", "statusListCredential": "https://raw.githubusercontent.com/digitalcredentials/verifier-core/refs/heads/main/src/test-fixtures/status/e5WK8CbZ1GjycuPombrj", "statusListIndex": "9" }, "proof": { "type": "DataIntegrityProof", "created": "2025-01-15T17:08:56Z", "verificationMethod": "did:key:z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q#z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q", "cryptosuite": "eddsa-rdfc-2022", "proofPurpose": "assertionMethod", "proofValue": "z2gSJFxCToKUpGAf4DfjvVPjW6F9ktz6UgCAg7siW5usS3GCbiWSuMaiExapnDox2YLvEtcPyx7ZHMPmfDexJYXKm" } };