Skip to content

use for-each instead of enumerations - #2043

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

use for-each instead of enumerations#2043
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 28 commits March 9, 2025 18:38
SecretKeyPacket: Properly pass newPacketFormat down to PublicKeyPacket

See merge request root/bc-java!74
# 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.
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