Home
last modified time | relevance | path

Searched refs:algorithmUpperCase (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java845 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getHmacAlgorithmDigest() local
846 if (!algorithmUpperCase.startsWith("HMAC")) { in getHmacAlgorithmDigest()
849 String result = algorithmUpperCase.substring("HMAC".length()); in getHmacAlgorithmDigest()
970 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getSignatureAlgorithmDigest() local
971 int withIndex = algorithmUpperCase.indexOf("WITH"); in getSignatureAlgorithmDigest()
975 String digest = algorithmUpperCase.substring(0, withIndex); in getSignatureAlgorithmDigest()
983 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getSignatureAlgorithmPadding() local
984 if (algorithmUpperCase.endsWith("WITHECDSA")) { in getSignatureAlgorithmPadding()
986 } else if (algorithmUpperCase.endsWith("WITHRSA")) { in getSignatureAlgorithmPadding()
988 } else if (algorithmUpperCase.endsWith("WITHRSA/PSS")) { in getSignatureAlgorithmPadding()
[all …]