Skip to content

Commit 7fde4f5

Browse files
committed
added support for dilithium-aes
1 parent 065c329 commit 7fde4f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkix/src/main/java/org/bouncycastle/operator/DefaultSignatureAlgorithmIdentifierFinder.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ public class DefaultSignatureAlgorithmIdentifierFinder
203203
algorithms.put("DILITHIUM2", BCObjectIdentifiers.dilithium2);
204204
algorithms.put("DILITHIUM3", BCObjectIdentifiers.dilithium3);
205205
algorithms.put("DILITHIUM5", BCObjectIdentifiers.dilithium5);
206+
algorithms.put("DILITHIUM2-AES", BCObjectIdentifiers.dilithium2_aes);
207+
algorithms.put("DILITHIUM3-AES", BCObjectIdentifiers.dilithium3_aes);
208+
algorithms.put("DILITHIUM5-AES", BCObjectIdentifiers.dilithium5_aes);
206209

207210
algorithms.put("FALCON-512", BCObjectIdentifiers.falcon_512);
208211
algorithms.put("FALCON-1024", BCObjectIdentifiers.falcon_1024);
@@ -274,6 +277,9 @@ public class DefaultSignatureAlgorithmIdentifierFinder
274277
noParams.add(BCObjectIdentifiers.dilithium2);
275278
noParams.add(BCObjectIdentifiers.dilithium3);
276279
noParams.add(BCObjectIdentifiers.dilithium5);
280+
noParams.add(BCObjectIdentifiers.dilithium2_aes);
281+
noParams.add(BCObjectIdentifiers.dilithium3_aes);
282+
noParams.add(BCObjectIdentifiers.dilithium5_aes);
277283

278284
//
279285
// Falcon

0 commit comments

Comments
 (0)