-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: PatStLouis <[email protected]>
- Loading branch information
1 parent
f2749a8
commit 6df22b8
Showing
2 changed files
with
39 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/*! | ||
* Copyright (c) 2024 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
/* Note: This file contains data generated from the vc-di-ecdsa specification | ||
test vectors. */ | ||
|
||
/* eslint-disable max-len */ | ||
/* eslint-disable quote-props */ | ||
/* eslint-disable quotes */ | ||
|
||
export const ed25519Vector = { | ||
"@context": [ | ||
"https://www.w3.org/ns/credentials/v2", | ||
"https://www.w3.org/ns/credentials/examples/v2", | ||
"https://w3id.org/security/suites/ed25519-2020/v1" | ||
], | ||
"id": "urn:uuid:58172aac-d8ba-11ed-83dd-0b3aef56cc33", | ||
"type": [ | ||
"VerifiableCredential", | ||
"AlumniCredential" | ||
], | ||
"name": "Alumni Credential", | ||
"description": "A minimum viable example of an Alumni Credential.", | ||
"issuer": "https://vc.example/issuers/5678", | ||
"validFrom": "2023-01-01T00:00:00Z", | ||
"credentialSubject": { | ||
"id": "did:example:abcdefgh", | ||
"alumniOf": "The School of Examples" | ||
}, | ||
"proof": { | ||
"type": "Ed25519Signature2020", | ||
"created": "2023-02-24T23:36:38Z", | ||
"verificationMethod": "did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2", | ||
"proofPurpose": "assertionMethod", | ||
"proofValue": "z57Mm1vboMtZiCyJ4aReZsv8co4Re64Y8GEjL1ZARzMbXZgkARFLqFs1P345NpPGG2hgCrS4nNdvJhpwnrNyG3kEF" | ||
} | ||
}; |