Java: Refactor RsaWithoutOaep.

This commit is contained in:
Anders Schack-Mulligen
2023-03-15 10:37:54 +01:00
parent b3b5c2c767
commit 6408d7cbbe
3 changed files with 31 additions and 11 deletions

View File

@@ -12,9 +12,9 @@
import java
import semmle.code.java.security.RsaWithoutOaepQuery
import DataFlow::PathGraph
import RsaWithoutOaepFlow::PathGraph
from RsaWithoutOaepConfig conf, DataFlow::PathNode source, DataFlow::PathNode sink
where conf.hasFlowPath(source, sink)
from RsaWithoutOaepFlow::PathNode source, RsaWithoutOaepFlow::PathNode sink
where RsaWithoutOaepFlow::hasFlowPath(source, sink)
select source, source, sink, "This specification is used to $@ without OAEP padding.", sink,
"initialize an RSA cipher"