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 v2RevokedAndExpired = { "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", "validUntil": "2011-01-01T00:00:00Z", "credentialSubject": { "type": [ "AchievementSubject" ], "name": "Sam Salmon", "achievement": { "id": "https://example.com/achievements/21st-century-skills/teamwork", "type": [ "Achievement" ], "name": "Bachelors - v2 - revoked", "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:677fe8a6cacf98774d482d06", "credentialStatus": { "id": "https://raw.githubusercontent.com/digitalcredentials/verifier-core/refs/heads/main/src/test-fixtures/status/e5WK8CbZ1GjycuPombrj#8", "type": "BitstringStatusListEntry", "statusPurpose": "revocation", "statusListCredential": "https://raw.githubusercontent.com/digitalcredentials/verifier-core/refs/heads/main/src/test-fixtures/status/e5WK8CbZ1GjycuPombrj", "statusListIndex": "8" }, "proof": { "type": "Ed25519Signature2020", "created": "2025-01-09T17:49:31Z", "verificationMethod": "did:key:z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q#z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q", "proofPurpose": "assertionMethod", "proofValue": "z4a51wePqfcFXExrPeQNUZ1d7xN4iH8N4gwuv4wcfdTM6EYjRgu5obWyA1W86pyhF7L3sZAXQ3QRSAHTCvUTwU1qL" } };