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 #addDigestAlgorithm(s) method to CMSSignedDataParser #1965

Open
bsanchezb opened this issue Jan 13, 2025 · 0 comments
Open

Add #addDigestAlgorithm(s) method to CMSSignedDataParser #1965

bsanchezb opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bsanchezb
Copy link

Hello,

Similarly to #955 for CMSSignedData class, a method #addDigestAlgorithm(s) should be added within CMSSignedDataParser, allowing to generate a new CMS, with a custom set of digest algorithms.
The current code has limitations on storing digest algorithms used within counter-signatures, as well as for archive-time-stamp-v3 (see ETSI EN 319 122-1, "5.5.3 The archive-time-stamp-v3 attribute").

This currently limits our implementation from upgrading from CMSSignedData to CMSSignedDataParser, thus allowing signing and augmentation of large CMSs (CMS signing huge documents, i.e. 2GB+).

Thank you in advance.

Best regards,
Aleksandr

@winfriedgerlach winfriedgerlach added the enhancement New feature or request label Jan 14, 2025
@ligefeiBouncycastle ligefeiBouncycastle self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants