Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find somewhere to convert the input map into an RDF dataset #177

Open
jyasskin opened this issue Jul 1, 2024 · 0 comments
Open

Find somewhere to convert the input map into an RDF dataset #177

jyasskin opened this issue Jul 1, 2024 · 0 comments

Comments

@jyasskin
Copy link
Member

jyasskin commented Jul 1, 2024

https://www.w3.org/TR/vc-di-bbs/#verify-derived-proof-bbs-2023 takes a map and passes it through https://www.w3.org/TR/vc-di-bbs/#createverifydata into https://www.w3.org/TR/rdf-canon/#canon-algorithm, which expects an RDF dataset as input. You should explicitly parse the map into a dataset somewhere along this path.

You'll probably run into w3c/json-ld-api#579 while doing this, which appears to indicate that the JSON-LD spec doesn't have an operation you can call that converts a map into a dataset in one step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants