Skip to content

Commit 7b7ed61

Browse files
committed
Adding an asymmetric algorithm slice.
1 parent fdd09a4 commit 7b7ed61

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* @name Detects known uses of asymmetric algorithms
3+
* @id java/crypto_inventory_slices/known_asymmetric_algorithm
4+
* @kind problem
5+
*/
6+
7+
import java
8+
import experimental.Quantum.Language
9+
10+
from Crypto::AlgorithmNode a
11+
where Crypto::isAsymmetricAlgorithm(a)
12+
select a, "Instance of asymmetric algorithm " + a.getAlgorithmName()

0 commit comments

Comments
 (0)