Searched refs:algorithmUpperCase (Results 1 – 2 of 2) sorted by relevance
632 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getHmacAlgorithmDigest() local633 if (!algorithmUpperCase.startsWith("HMAC")) { in getHmacAlgorithmDigest()636 String result = algorithmUpperCase.substring("HMAC".length()); in getHmacAlgorithmDigest()757 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getSignatureAlgorithmDigest() local758 int withIndex = algorithmUpperCase.indexOf("WITH"); in getSignatureAlgorithmDigest()762 String digest = algorithmUpperCase.substring(0, withIndex); in getSignatureAlgorithmDigest()770 String algorithmUpperCase = algorithm.toUpperCase(Locale.US); in getSignatureAlgorithmPadding() local771 if (algorithmUpperCase.endsWith("WITHECDSA")) { in getSignatureAlgorithmPadding()773 } else if (algorithmUpperCase.endsWith("WITHRSA")) { in getSignatureAlgorithmPadding()775 } else if (algorithmUpperCase.endsWith("WITHRSA/PSS")) { in getSignatureAlgorithmPadding()[all …]
600 String algorithmUpperCase = sigAlgorithm.toUpperCase(Locale.US); in testEntropyConsumption() local601 if (algorithmUpperCase.endsWith("WITHECDSA")) { in testEntropyConsumption()604 } else if (algorithmUpperCase.endsWith("WITHRSA")) { in testEntropyConsumption()606 } else if (algorithmUpperCase.endsWith("WITHRSA/PSS")) { in testEntropyConsumption()