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.java622 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getCipherKeyAlgorithm() local
623 if (transformationUpperCase.startsWith("AES/")) { in getCipherKeyAlgorithm()
625 } else if (transformationUpperCase.startsWith("RSA/")) { in getCipherKeyAlgorithm()
633 String transformationUpperCase = transformation.toUpperCase(Locale.US); in isCipherSymmetric() local
634 if (transformationUpperCase.startsWith("AES/")) { in isCipherSymmetric()
636 } else if (transformationUpperCase.startsWith("RSA/")) { in isCipherSymmetric()
644 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getCipherDigest() local
645 if (transformationUpperCase.contains("/OAEP")) { in getCipherDigest()
646 if (transformationUpperCase.endsWith("/OAEPPADDING")) { in getCipherDigest()
648 } 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()