Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Support x5c header parameter in VC JWTs #449

Open
andresuribe87 opened this issue Aug 21, 2023 · 0 comments
Open

Support x5c header parameter in VC JWTs #449

andresuribe87 opened this issue Aug 21, 2023 · 0 comments

Comments

@andresuribe87
Copy link
Contributor

Description

A VC 1.1 can be represented as a JWT according to https://www.w3.org/TR/vc-data-model/#json-web-token

Such representation may contain the x5c JOSE header parameter as described in https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.6. The SDK should provide an option to the VerifyMethod in

func (v *Verifier) VerifyJWS(token string) error {

When verification fails, an error should be returned.

References

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

No branches or pull requests

1 participant