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.java642 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getCipherKeyAlgorithm() local
643 if (transformationUpperCase.startsWith("AES/")) { in getCipherKeyAlgorithm()
645 } else if (transformationUpperCase.startsWith("DESEDE/")) { in getCipherKeyAlgorithm()
647 } else if (transformationUpperCase.startsWith("RSA/")) { in getCipherKeyAlgorithm()
655 String transformationUpperCase = transformation.toUpperCase(Locale.US); in isCipherSymmetric() local
656 if (transformationUpperCase.startsWith("AES/") || transformationUpperCase.startsWith( in isCipherSymmetric()
659 } else if (transformationUpperCase.startsWith("RSA/")) { in isCipherSymmetric()
667 String transformationUpperCase = transformation.toUpperCase(Locale.US); in getCipherDigest() local
668 if (transformationUpperCase.contains("/OAEP")) { in getCipherDigest()
669 if (transformationUpperCase.endsWith("/OAEPPADDING")) { in getCipherDigest()
[all …]
DCipherTest.java939 String transformationUpperCase = transformation.toUpperCase(Locale.US); in isRandomizedEncryption() local
940 return (transformationUpperCase.endsWith("/PKCS1PADDING")) in isRandomizedEncryption()
941 || (transformationUpperCase.contains("OAEP")); in isRandomizedEncryption()