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/
DTestUtils.java689 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getHmacAlgorithmDigest() local
690 if (!algorithmUpperCase.startsWith("HMAC")) { in getHmacAlgorithmDigest()
693 String result = algorithmUpperCase.substring("HMAC".length()); in getHmacAlgorithmDigest()
814 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getSignatureAlgorithmDigest() local
815 int withIndex = algorithmUpperCase.indexOf("WITH"); in getSignatureAlgorithmDigest()
819 String digest = algorithmUpperCase.substring(0, withIndex); in getSignatureAlgorithmDigest()
827 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getSignatureAlgorithmPadding() local
828 if (algorithmUpperCase.endsWith("WITHECDSA")) { in getSignatureAlgorithmPadding()
830 } else if (algorithmUpperCase.endsWith("WITHRSA")) { in getSignatureAlgorithmPadding()
832 } else if (algorithmUpperCase.endsWith("WITHRSA/PSS")) { in getSignatureAlgorithmPadding()
[all …]