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

Add auth enveloped recipients for KEK and KeyAgree #1794

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bukka
Copy link

@bukka bukka commented Aug 28, 2024

Currently it is possible to use CMSAuthEnvelopedDataParser only with KeyTrans. This adds support for KEK and KeyAgree. The AEADInputDecryptor is separated to CMSInputAEADDecryptor as it is the same for all recipient types. A new test is added to properly test CMSAuthEnvelopedDataParser usage.

Currently it is possible to use CMSAuthEnvelopedDataParser only with
KeyTrans. This adds support for KEK and KeyAgree. The AEADInputDecryptor
is separated to CMSInputAEADDecryptor as it is the same for all
recipient types. A new test is added to properly test
CMSAuthEnvelopedDataParser usage.
@bukka
Copy link
Author

bukka commented Sep 19, 2024

@ligefeiBouncycastle would you be able to check this when you have time? It's an addition to your commit 3eb6ed5

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