Skip to content

Commit 2fcae27

Browse files
committed
added further checks on initial static table construction
added ML-DSA, SLH-DSA to DefaultAlgorithmNameFinder
1 parent 39b442f commit 2fcae27

File tree

4 files changed

+605
-507
lines changed

4 files changed

+605
-507
lines changed

pkix/src/main/java/org/bouncycastle/cms/DefaultCMSSignatureAlgorithmNameGenerator.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ public class DefaultCMSSignatureAlgorithmNameGenerator
2929

3030
private void addEntries(ASN1ObjectIdentifier alias, String digest, String encryption)
3131
{
32-
if (digestAlgs.containsKey(alias))
33-
{
34-
throw new IllegalStateException("object identifier already present in addEntries");
35-
}
36-
3732
addDigestAlg(alias, digest);
3833
addEncryptionAlg(alias, encryption);
3934
}

0 commit comments

Comments
 (0)