Replies: 1 comment 2 replies
-
| You can either do what you're doing with CompactSign and string manipulation, or do FlattenedSign and work with a flattened format object output by the library. Either way is okay and doesn't need anything in the library per se. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Siging JWS with detached payload
For iDEAL 2.0 I need to generate a JWS signature header with a detached payload. Is there a clean way to generate this?
I'm trying to use
new jose.CompactSign(body).setProtectedHeader(…).signbut I'm not seeing an option to clear the payload in SignOptions.Right now I'm using
on the result which works fine, but it would be nice to support it in the library itself.
Beta Was this translation helpful? Give feedback.
All reactions