Skip to content

Commit 3f1d01d

Browse files
committed
[Java] Add SSLSession Type
1 parent 3f2e574 commit 3f1d01d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/ql/src/semmle/code/java/security/Encryption.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class SSLSocketFactory extends RefType {
2121
SSLSocketFactory() { this.hasQualifiedName("javax.net.ssl", "SSLSocketFactory") }
2222
}
2323

24+
class SSLSession extends RefType {
25+
SSLSession() { hasQualifiedName("javax.net.ssl", "SSLSession") }
26+
}
27+
2428
class SSLContext extends RefType {
2529
SSLContext() { hasQualifiedName("javax.net.ssl", "SSLContext") }
2630
}

0 commit comments

Comments
 (0)