To enable encrypting and then signing of the same token, we need to specify the 
encrypting and signing algorithms separately.

Since we are using JSON, how about if we create an encryption object to contain 
all the parameters defined in JWE so that there is no overlap in the JWS 
namespace.

"enc": 
        {  "alg"
        ,  "enc"
        ,  "zip"
        }

_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose

Reply via email to