-
Notifications
You must be signed in to change notification settings - Fork 6k
NimbusJwtEncoder should simplify constructing with javax.security Keys #16267
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
Comments
@jzheaux could you assign this to me? |
Thanks, @jan-knoblich! I've assigned the issue to you. |
@jzheaux quick question with regard to the keypair; do we want to dynamically check the keypair to get the used algorithm to create the correct ECkey/RSAkey/... or should we have the user specify? |
Hi, @jan-knoblich. Can we do just one method? I like the idea of deducing the key for the user so that they don't accidentally call the wrong method. |
Yeah sure, this seems doable. Sorry my PC was broken for some time lol. Will get back to this soon. |
Closes spring-projectsgh-16267 Signed-off-by: Suraj Bhadrike <[email protected]>
Closes spring-projectsgh-16267 Signed-off-by: Suraj Bhadrike <[email protected]>
Closes spring-projectsgh-16267 Signed-off-by: Suraj Bhadrike <[email protected]>
Closes spring-projectsgh-16267 Signed-off-by: Suraj Bhadrike <[email protected]>
Closes spring-projectsgh-16267 Signed-off-by: Suraj Bhadrike <[email protected]>
Currently to construct a
NimbusJwtEncoder
with a single key takes something like the following:whereas to do the converse in
NimbusJwtDecoder
is simpler:It would be nice if
NimbusJwtEncoder
offered similar behavior:The text was updated successfully, but these errors were encountered: