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

Added KmsDefaultEncryptionCryptoProvider and JWEHeaderValidationUtil classes #11

Conversation

debanshuk
Copy link
Contributor

Added KmsDefaultEncryptionCryptoProvider class. This class will act as the base class for KmsDefaultEncrypter and KmsDefaultDycrypter classes, which will be added in future PRs. Moved the reusable logic of validating the algorithm and encryption-method of JWE header to the JWEHeaderValidationUtil class, and used this utility in KmsDefaultEncryptionCryptoProvider and KmsSymmetricCryptoProvider.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@debanshuk debanshuk requested review from a team and removed request for a team January 28, 2024 14:11
* AWS-KMS client.
*/
@NonNull

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[NIT] extra line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@debanshuk debanshuk force-pushed the default-encryption-crypto-provider branch from 8313a01 to 1ee7b9a Compare January 29, 2024 16:32
@debanshuk debanshuk merged commit 21fb283 into asymmetric-encryption-key-support Jan 29, 2024
@debanshuk debanshuk deleted the default-encryption-crypto-provider branch January 29, 2024 16:33
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.

None yet

2 participants