Adding an asymmetric algorithm slice.

This commit is contained in:
REDMOND\brodes
2025-04-28 11:34:32 -04:00
parent fdd09a4dbf
commit 7b7ed61beb

View File

@@ -0,0 +1,12 @@
/**
* @name Detects known uses of asymmetric algorithms
* @id java/crypto_inventory_slices/known_asymmetric_algorithm
* @kind problem
*/
import java
import experimental.Quantum.Language
from Crypto::AlgorithmNode a
where Crypto::isAsymmetricAlgorithm(a)
select a, "Instance of asymmetric algorithm " + a.getAlgorithmName()