Skip to content
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

New KeyOperation, KeyOperationPolicy and builder concepts #814

Merged
merged 5 commits into from
Sep 8, 2023

Conversation

lhazlewood
Copy link
Contributor

Changed Jwk#getOperations and JwkBuilder#operations from methods that accepted and returned Strings to use new KeyOperation instances

Added a new KeyOperationBuilder concept for creating custom KeyOperations

Added a new Jwks#operation method to supply a new KeyOperationBuilder instance.

Added a new Jws.OP registry class/constants to represent all JWK-standard KeyOperations

… accepted and returned Strings to use new KeyOperation instances

Added a new KeyOperationBuilder concept for creating custom KeyOperations
Added a new Jwks#operation method to supply a new KeyOperationBuilder instance.
…for defining related KeyOperation instances

Added KeyOperationPolicy concept for JwkBuilder
Added KeyOperationPolicyBuilder (and Jwks.OP.policy() builder method) to help create policies.
@lhazlewood lhazlewood changed the title KeyOperation and KeyOperationBuilder concepts New KeyOperation, KeyOperationPolicy and builder concepts Sep 8, 2023
…be consistent with KeyOperationPolicy interface name

renamed JwkParserBuilder#operationsPolicy to JwkParserBuilder#operationPolicy to be consistent with KeyOperationPolicy interface name
@lhazlewood lhazlewood merged commit 847ad13 into master Sep 8, 2023
18 checks passed
@lhazlewood lhazlewood deleted the key_ops branch September 8, 2023 23:03
@lhazlewood lhazlewood added this to the 0.12.0 milestone Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant