Skip to content

Commit 329a7de

Browse files
committed
Crypto: Fixing JCA class naming casing for PBKDF2 classes.
1 parent d49efef commit 329a7de

File tree

1 file changed

+4
-4
lines changed
  • java/ql/lib/experimental/quantum

1 file changed

+4
-4
lines changed

java/ql/lib/experimental/quantum/JCA.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,9 +1222,9 @@ module JCAModel {
12221222
SecretKeyFactoryKDFAlgorithmValueConsumer getConsumer() { result = consumer }
12231223
}
12241224

1225-
class PBKDF2WithHmac_KeyOperationAlgorithmStringLiteral extends Crypto::KeyOperationAlgorithmInstance instanceof KdfAlgorithmStringLiteral
1225+
class Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral extends Crypto::KeyOperationAlgorithmInstance instanceof KdfAlgorithmStringLiteral
12261226
{
1227-
PBKDF2WithHmac_KeyOperationAlgorithmStringLiteral() {
1227+
Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral() {
12281228
this.(StringLiteral).getValue().toUpperCase().matches(["PBKDF2WithHmac%"].toUpperCase())
12291229
}
12301230

@@ -1252,11 +1252,11 @@ module JCAModel {
12521252
}
12531253
}
12541254

1255-
class PBKDF2WithHmac_HashAlgorithmStringLiteral extends Crypto::HashAlgorithmInstance instanceof PBKDF2WithHmac_KeyOperationAlgorithmStringLiteral
1255+
class Pbkdf2WithHmac_HashAlgorithmStringLiteral extends Crypto::HashAlgorithmInstance instanceof PBKDF2WithHmac_KeyOperationAlgorithmStringLiteral
12561256
{
12571257
string hashName;
12581258

1259-
PBKDF2WithHmac_HashAlgorithmStringLiteral() {
1259+
Pbkdf2WithHmac_HashAlgorithmStringLiteral() {
12601260
hashName = this.(StringLiteral).getValue().splitAt("WithHmac", 1)
12611261
}
12621262

0 commit comments

Comments
 (0)