Skip to content

use for-each instead of enumerations - #2043

Closed
winfriedgerlach wants to merge 2024 commits into
bcgit:mainfrom
winfriedgerlach:scout/for-each-instead-of-enumerations
Closed

winfriedgerlach wants to merge 2024 commits into
bcgit:mainfrom
winfriedgerlach:scout/for-each-instead-of-enumerations

Conversation

@winfriedgerlach

Copy link
Copy Markdown
Collaborator

David put in the effort and made ASN1Sequence iterable. But many places in the code still use the old Enumeration access pattern. Would you accept changing these to for-each where possible? (better readability, elements are parameterized as <ASN1Encodable> which improves type safety)

dghgit and others added 30 commits December 24, 2024 16:25
minor refactor - removed use of toUpperCase() in BCMLDSAPrivateKey
…t for encryption check on SMIMEAuthEnvelopedData messages to SMIMEToolkit.
gefeili and others added 26 commits March 9, 2025 08:14
# Conflicts:
#	core/src/main/java/org/bouncycastle/crypto/generators/ECCSIKeyPairGenerator.java
#	core/src/main/java/org/bouncycastle/crypto/kems/SAKKEKEMSGenerator.java
#	core/src/main/java/org/bouncycastle/crypto/params/ECCSIKeyGenerationParameters.java
#	core/src/main/java/org/bouncycastle/crypto/signers/ECCSISigner.java
Mayo

See merge request root/bc-java!75
RFC 6507 and 6508

See merge request root/bc-java!73
- draft-connolly-tls-mlkem-key-agreement-05
additional PQC tests
added support for AES_WRAP_PAD to CMS.
@dghgit

dghgit commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR. We're still shipping Java 4, slowly migrating to more modern styles as overlays kick in. Closing as partially merged and on-going.

@dghgit dghgit closed this Aug 18, 2026
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.

8 participants