Crypto: Fix use of a member where a singleton set literal exists

This commit is contained in:
REDMOND\brodes
2025-10-02 09:20:40 -04:00
parent b08533b322
commit 850c1ec12d

View File

@@ -1223,7 +1223,7 @@ module JCAModel {
class Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral extends Crypto::KeyOperationAlgorithmInstance instanceof KdfAlgorithmStringLiteral class Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral extends Crypto::KeyOperationAlgorithmInstance instanceof KdfAlgorithmStringLiteral
{ {
Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral() { Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral() {
this.(StringLiteral).getValue().toUpperCase().matches(["PBKDF2WithHmac%"].toUpperCase()) this.(StringLiteral).getValue().toUpperCase().matches("PBKDF2WithHmac%".toUpperCase())
} }
override Crypto::KeyOpAlg::AlgorithmType getAlgorithmType() { override Crypto::KeyOpAlg::AlgorithmType getAlgorithmType() {