-
Notifications
You must be signed in to change notification settings - Fork 47
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
Compact serialization support for JWE API similar to specifying flag -c in command line #69
Comments
I have the same question! In the meantime I intend on implementing the compact serialization myself, as it doesn't seem too difficult. I will post back here with my results once I figure it out... But just to be clear I am running this library in Swift, so my implementation will probably only slightly help you write your own in C @bineshtj |
I'm also doing the same in the meantime. Well do post a link of what you achieve. |
The output is actually done by the JSON library we use, Functions like |
@bineshtj : did the usage of JSON_COMPACT, suggested by @sergio-correia (thanks Sergio) worked for your purpose? Can we close this issue? |
Yes please. Thanks. |
I know that calling
jose jwe enc -c -I pt.txt -k rsa_pub.jwk
from command line gives a compact serialized output. Is it possible to obtain a similar output from the functionjose_jwe_enc
injwe.h
? How to achieve it if the purpose is not command line execution but simple function calls from a program?The text was updated successfully, but these errors were encountered: