Open KendallWeihe opened 4 months ago
As a part of this work, consider consolidating the jws
crate's JwsHeader
to use a common JoseHeader
, because it would appear JWE's and JWS's both use the same set of JOSE Header values
I have another proposal adjacent to the above comment, rather than the struct named CompactJws
we should call it JwsCompactSerialized
as to line up with the spec and enable us to implement JwsJsonSerialized
which is also in the spec here
173 setup our JWT implementation support both JWTs as JWS and JWE, but only implemented the JWT as a JWS. Use this ticket to implement JWT as JWE; see the file
crates/jwt/src/jwe.rs
.JWE spec: https://datatracker.ietf.org/doc/html/rfc7516