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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant