iotaledger / iotaledger/sd-jwt-payload
JWT headers handling
Open
enhancement
- Dominant language
- Rust
- Stars
- 9
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Feature description
Provide better APIs to set (during construction) and read JWT headers for both SD-JWT and KB-JWT.
### Motivation
The currently provided `SdJwtBuilder::header` is not ergonomic at all. Headers cannot be read.
### Requirements
Allow setting headers with an API similar to `.header(key, value)`.
Allow accessing a parsed SD-JWT's headers through an API similar to `.headers().get("kid")`.
### Open questions
_No response_
### Are you planning to do it yourself in a pull request?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.