Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java623 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getCipherKeyAlgorithm() local
624 if (transformationUpperCase.startsWith("AES/")) { in getCipherKeyAlgorithm()
626 } else if (transformationUpperCase.startsWith("RSA/")) { in getCipherKeyAlgorithm()
634 String transformationUpperCase = transformation.toUpperCase(Locale.US); in isCipherSymmetric() local
635 if (transformationUpperCase.startsWith("AES/")) { in isCipherSymmetric()
637 } else if (transformationUpperCase.startsWith("RSA/")) { in isCipherSymmetric()
645 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getCipherDigest() local
646 if (transformationUpperCase.contains("/OAEP")) { in getCipherDigest()
647 if (transformationUpperCase.endsWith("/OAEPPADDING")) { in getCipherDigest()
649 } else if (transformationUpperCase.endsWith( in getCipherDigest()
[all …]
DCipherTest.java802 String transformationUpperCase = transformation.toUpperCase(Locale.US); in isRandomizedEncryption() local
803 return (transformationUpperCase.endsWith("/PKCS1PADDING")) in isRandomizedEncryption()
804 || (transformationUpperCase.contains("OAEP")); in isRandomizedEncryption()